-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpipeline.yml
103 lines (88 loc) · 3.32 KB
/
pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
agents:
queue: new-central
slurm_time: 24:00:00
modules: climacommon/2024_10_09
env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
OPENBLAS_NUM_THREADS: 1
JULIA_NVTX_CALLBACKS: gc
OMPI_MCA_opal_warn_on_missing_libcuda: 0
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
GKSwstype: 100
SLURM_KILL_BAD_EXIT: 1
CONFIG_PATH: "config/longrun_configs"
timeout_in_minutes: 1440
steps:
- label: "init clima :computer:"
key: "init_cpu_env_clima"
command:
- "echo $$JULIA_DEPOT_PATH"
- echo "--- Instantiate AMIP env"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.add(\"MPI\"); Pkg.add(\"CUDA\")'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'"
agents:
queue: clima
modules: climacommon/2024_10_09
env:
JULIA_NUM_PRECOMPILE_TASKS: 8
JULIA_MAX_NUM_PRECOMPILE_FILES: 50
- wait
- group: "Coupler integration and conservation tests"
steps:
- label: "Clima: GPU ClimaCoupler dry HS"
command:
- "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_dry_held_suarez.jl"
artifact_paths: "dry_held_suarez/dry_held_suarez/clima_atmos/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
queue: clima
slurm_mem: 20GB
slurm_gpus: 1
modules: climacommon/2024_10_09
- label: "Clima: GPU ClimaCoupler moist HS"
command:
- "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_moist_held_suarez.jl"
artifact_paths: "moist_held_suarez/moist_held_suarez/clima_atmos/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
queue: clima
slurm_mem: 20GB
slurm_gpus: 1
modules: climacommon/2024_10_09
- label: "Clima: GPU ClimaCoupler Cloudless Aquaplanet"
command:
- "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_cloudless_aquaplanet.jl"
artifact_paths: "cloudless_aquaplanet/cloudless_aquaplanet/clima_atmos/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
queue: clima
slurm_mem: 20GB
slurm_gpus: 1
modules: climacommon/2024_10_09
- label: "Clima: GPU ClimaCoupler Cloudy Aquaplanet"
command:
- "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_cloudy_aquaplanet.jl"
artifact_paths: "cloudy_aquaplanet/cloudy_aquaplanet/clima_atmos/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
queue: clima
slurm_mem: 20GB
slurm_gpus: 1
modules: climacommon/2024_10_09
- label: "Clima: GPU ClimaCoupler Cloudy Slabplanet"
command:
- "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_cloudy_slabplanet.jl"
artifact_paths: "cloudy_slabplanet/cloudy_slabplanet/clima_atmos/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
queue: clima
slurm_mem: 20GB
slurm_gpus: 1
modules: climacommon/2024_10_09