Skip to content

Commit

Permalink
change compat and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-saydjari committed Feb 27, 2024
1 parent 4fb876d commit dd9d35f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- '1.7'
- '1'
- 'nightly'
os:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ SortFilters = "0.1"
StatsBase = "0.33, 0.34"
Suppressor = "0.2"
ThreadPinning = "0.7"
julia = "1.6"
julia = "1.7"

[extras]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down
2 changes: 1 addition & 1 deletion pipeline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ end
global err_correct_Dict = deserialize(prior_dict["chip_fluxdep_err_correction"])
global red_chi2_dict = deserialize(prior_dict["red_chi2_dict"])

wavetarg = 10 .^range((4.179-125*6.0e-6),step=6.0e-6,length=8575+125) #first argument is start, revert fix to enable 1.6 compat
wavetarg = 10 .^range((start=4.179-125*6.0e-6),step=6.0e-6,length=8575+125)
minw, maxw = extrema(wavetarg)

c = 299792.458; # in km/s
Expand Down
4 changes: 3 additions & 1 deletion src/prior_build/submit_priors_np.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
#SBATCH --mail-user=7155301634@vtext.com
# ------------------------------------------------------------------------------

echo $SLURM_JOB_NODELIST

# export JULIA_NUM_GC_THREADS=1
# export JULIA_NUM_THREADS=1
# export JULIA_CPU_THREADS=1
julia +1.10.0 sample_sky.jl
julia +1.10.0 sample_sky.jl # 10% CPU usage
# julia +1.10.0 build_skyCont.jl
# julia +1.10.0 build_skyLines.jl
# julia +1.10.0 sample_Tfun.jl
Expand Down

0 comments on commit dd9d35f

Please sign in to comment.