Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci and workflows to Julia 1.10.0 #533

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
JULIA_VERSION: "1.9.3"
JULIA_VERSION: "1.10.0"
SLURM_CPUS_PER_TASK: 1
OPENMPI_VERSION: "4.0.4"
CUDA_VERSION: "11.2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CodeCov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Julia
uses: julia-actions/setup-julia@latest
with:
version: 1.9.3
version: 1.10.0

- name: Test with coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/JuliaFormatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: julia-actions/setup-julia@latest
if: steps.filter.outputs.julia_file_change == 'true'
with:
version: 1.9.3
version: 1.10.0

- name: Apply JuliaFormatter
if: steps.filter.outputs.julia_file_change == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/UpDeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: julia-actions/setup-julia@latest
with:
version: 1.9.3
version: 1.10.0

- name: Apply UpDeps
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9.3'
- '1.10.0'
os:
- ubuntu-latest
- macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: 1.9.3
version: 1.10.0
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ n_proc_scm=10
echo "Initializing calibration with ${n} ensemble members and ${n_it} iterations."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT1_benchmark/global_parallel/init.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#SBATCH -J "sct_init" # job name

#julia package management
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

config=${1?Error: no config file given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_run" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
n_proc_scm=${3?Error: number of processes not given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "precond" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}

Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT1_benchmark/global_parallel/restart.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "restart" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

output_dir=${1?Error: no output directory given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ n_proc_scm=10
echo "Restarting calibration with ${n} ensemble members and ${n_it} iterations (grand total)."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT1_benchmark/global_parallel/step_ekp.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_cont" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
job_dir=$(head $job_id".txt" | tail -1)
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT1_benchmark/global_parallel/sysimage.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=20G # memory per CPU core
#SBATCH -J "sys_im" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

julia --project -C skylake-avx512 create_tc_so.jl

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ n_proc_scm=10
echo "Initializing calibration with ${n} ensemble members and ${n_it} iterations."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT2_benchmark/global_parallel/init.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#SBATCH -J "sct_init" # job name

#julia package management
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

config=${1?Error: no config file given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_run" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
n_proc_scm=${3?Error: number of processes not given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "precond" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}

Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT2_benchmark/global_parallel/restart.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "restart" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

output_dir=${1?Error: no output directory given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ n_proc_scm=10
echo "Restarting calibration with ${n} ensemble members and ${n_it} iterations (grand total)."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT2_benchmark/global_parallel/step_ekp.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_cont" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
job_dir=$(head $job_id".txt" | tail -1)
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT2_benchmark/global_parallel/sysimage.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=20G # memory per CPU core
#SBATCH -J "sys_im" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

julia --project -C skylake-avx512 create_tc_so.jl

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ n_proc_scm=10
echo "Initializing calibration with ${n} ensemble members and ${n_it} iterations."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT3_benchmark/global_parallel/init.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#SBATCH -J "sct_init" # job name

#julia package management
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

config=${1?Error: no config file given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#SBATCH --mem-per-cpu=10G # memory per CPU core
#SBATCH -J "sct_run" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
n_proc_scm=${3?Error: number of processes not given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "precond" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}

Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT3_benchmark/global_parallel/restart.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "restart" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

output_dir=${1?Error: no output directory given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ n_proc_scm=10
echo "Restarting calibration with ${n} ensemble members and ${n_it} iterations (grand total)."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT3_benchmark/global_parallel/step_ekp.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_cont" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
job_dir=$(head $job_id".txt" | tail -1)
Expand Down
2 changes: 1 addition & 1 deletion experiments/SCT3_benchmark/global_parallel/sysimage.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=20G # memory per CPU core
#SBATCH -J "sys_im" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

julia --project -C skylake-avx512 create_tc_so.jl

Expand Down
2 changes: 1 addition & 1 deletion experiments/grid_search/restart_grid_search.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
outdir=${1?Error: no output directory given}

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.API.precompile()'
julia --project -p 25 grid_search.jl --outdir $outdir --mode restart
2 changes: 1 addition & 1 deletion experiments/grid_search/run_grid_search.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
config=${1?Error: no config file given}

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.API.precompile()'
julia --project -p 25 grid_search.jl --config $config --mode new
2 changes: 1 addition & 1 deletion experiments/grid_search/run_loss_map.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
sim_dir=${1?Error: no simulation path given}

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.API.precompile()'
julia --project -p 25 loss_map.jl --sim_dir $sim_dir
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ n_proc_scm=10
echo "Initializing calibration with ${n} ensemble members and ${n_it} iterations."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/les_strats/global_parallel/init.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#SBATCH -J "sct_init" # job name

#julia package management
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

config=${1?Error: no config file given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_run" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
n_proc_scm=${3?Error: number of processes not given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "precond" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}

Expand Down
2 changes: 1 addition & 1 deletion experiments/les_strats/global_parallel/restart.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "restart" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

output_dir=${1?Error: no output directory given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ n_proc_scm=10
echo "Restarting calibration with ${n} ensemble members and ${n_it} iterations (grand total)."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/les_strats/global_parallel/step_ekp.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_cont" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
job_dir=$(head $job_id".txt" | tail -1)
Expand Down
2 changes: 1 addition & 1 deletion experiments/les_strats/global_parallel/sysimage.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=20G # memory per CPU core
#SBATCH -J "sys_im" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

julia --project -C skylake-avx512 create_tc_so.jl

Expand Down
2 changes: 1 addition & 1 deletion experiments/optimal_design/SCT_run.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "hadgem" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

julia --project -e 'using Pkg; Pkg.instantiate(); Pkg.API.precompile()'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ n_proc_scm=10
echo "Initializing calibration with ${n} ensemble members and ${n_it} iterations."

module purge
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

export JULIA_NUM_THREADS=${SLURM_CPUS_PER_TASK:=1}
export JULIA_MPI_BINARY=system
Expand Down
2 changes: 1 addition & 1 deletion experiments/optimal_design/global_parallel/init.sbatch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#SBATCH -J "sct_init" # job name

#julia package management
module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5

config=${1?Error: no config file given}
job_id=${2?Error: no job ID given}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#SBATCH --mem-per-cpu=6G # memory per CPU core
#SBATCH -J "sct_run" # job name

module load julia/1.9.3 openmpi/4.1.5
module load julia/1.10.0 openmpi/4.1.5
iteration_=${1?Error: no iteration given}
job_id=${2?Error: no job ID given}
n_proc_scm=${3?Error: number of processes not given}
Expand Down
Loading
Loading