@@ -3,20 +3,16 @@ agents:
33
44env :
55 JULIA_DEPOT_PATH : " ${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
6+ CONFIG_PATH : " config/amip_configs"
67
78steps :
89 - label : " init :GPU:"
910 key : " init_gpu_env"
1011 command :
11- - " echo $$JULIA_DEPOT_PATH"
12-
13- - echo "--- Instantiate AMIP env"
14- - " julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
15-
12+ - " echo --- Instantiate AMIP env"
13+ - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'
1614 - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.add("MPI")'
17- - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.add("CUDA"); using CUDA; CUDA.set_runtime_version!(local_toolkit=true)'
18- - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.add("MPIPreferences"); using MPIPreferences; use_system_binary(library_names="/sw/openmpi-5.0.5/lib/libmpi", mpiexec="/sw/openmpi-5.0.5/bin/mpiexec", force=true)'
19-
15+ - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.add("CUDA")'
2016 - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'
2117 - julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'
2218
@@ -33,18 +29,44 @@ steps:
3329
3430 steps :
3531
36- - label : " 30 h_elem current AMIP: diagedmf + 0M + bucket land"
32+
33+ - label : " Current AMIP: diagedmf + 0M + bucket land"
3734 key : " amip"
35+ command :
36+ - echo "--- Run simulation"
37+ - |
38+ julia --threads=3 --color=yes --project=experiments/ClimaEarth/ \
39+ experiments/ClimaEarth/run_amip.jl \
40+ --config_file $CONFIG_PATH/amip.yml \
41+ --job_id amip
42+ artifact_paths : " experiments/ClimaEarth/output/amip/artifacts/*"
43+ timeout_in_minutes : 5760
44+ env :
45+ CLIMACOMMS_DEVICE : " CUDA"
46+ agents :
47+ slurm_gpus_per_task : 1
48+ slurm_cpus_per_task : 4
49+ slurm_ntasks : 1
50+ slurm_mem : 30GB
51+ slurm_time : " 60:00:00"
52+
53+ - label : " 10-year 30 h_elem current AMIP: diagedmf + 0M + bucket land"
54+ key : " 10year_amip"
3855 command :
3956
4057 - echo "--- Run simulation"
41- - " mpiexec -n 8 julia --threads=4 --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file config/longrun_configs/amip_diagedmf_10years.yml --job_id amip_30_h_elem"
58+ - |
59+ mpiexec -n 8 julia --threads=4 --color=yes \
60+ --project=experiments/ClimaEarth/ \
61+ experiments/ClimaEarth/run_amip.jl \
62+ --config_file config/longrun_configs/amip_diagedmf_10years.yml \
63+ --job_id amip_30_h_elem
4264 artifact_paths : " experiments/ClimaEarth/output/amip_coarse/artifacts/*"
4365 env :
4466 CLIMACOMMS_DEVICE : " CUDA"
4567 CLIMACOMMS_CONTEXT : " MPI"
4668 agents :
47- slurm_gpus_per_task : 1
69+ slurm_gpus : 8
4870 slurm_cpus_per_task : 4
4971 slurm_ntasks : 8
5072 slurm_mem : 0GB
0 commit comments