-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpipeline.yml
462 lines (390 loc) · 22.2 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
agents:
queue: new-central
slurm_time: 4:00:00
modules: climacommon/2024_04_05
env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/cpu"
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/ci_configs"
PERF_CONFIG_PATH: "config/perf_configs"
timeout_in_minutes: 240
steps:
- label: "init environment :computer:"
key: "init_cpu_env"
command:
- |
if [ -n "$$CLEAR_DEPOT" ]; then
echo "--- Clearing depot"
rm -rf ${JULIA_DEPOT_PATH}
fi
- echo "--- Instantiate package env"
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project -e 'using Pkg; Pkg.precompile()'"
- "julia --project -e 'using Pkg; Pkg.status()'"
- echo "--- Instantiate sea breeze env"
- "julia --project=experiments/ClimaCore/sea_breeze -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=experiments/ClimaCore/sea_breeze -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/ClimaCore/sea_breeze -e 'using Pkg; Pkg.status()'"
- echo "--- Instantiate climacore exp env"
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/ClimaCore/ -e 'using Pkg; Pkg.status()'"
- echo "--- Instantiate ClimaEarth env"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=experiments/ClimaEarth/ -e 'using Pkg; Pkg.status()'"
- echo "--- Instantiate perf env"
- "julia --project=perf/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=perf/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=perf/ -e 'using Pkg; Pkg.status()'"
- echo "--- Instantiate test env"
- "julia --project=test/ -e 'using Pkg; Pkg.develop(path=\".\")'"
- "julia --project=test/ -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=test/ -e 'using Pkg; Pkg.precompile()'"
- "julia --project=test/ -e 'using Pkg; Pkg.status()'"
- echo "--- Download artifacts"
- "julia --project=artifacts -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=artifacts -e 'using Pkg; Pkg.precompile()'"
- "julia --project=artifacts -e 'using Pkg; Pkg.status()'"
- "julia --project=artifacts artifacts/download_artifacts.jl"
concurrency: 1
concurrency_group: 'depot/climacoupler-ci'
agents:
slurm_cpus_per_task: 12
slurm_gpus: 1
env:
JULIA_NUM_PRECOMPILE_TASKS: 12
JULIA_MAX_NUM_PRECOMPILE_FILES: 50
- wait
- group: "Unit Tests"
steps:
- label: "MPI Regridder unit tests"
key: "regridder_mpi_tests"
command: "srun julia --color=yes --project=test/ test/mpi_tests/regridder_mpi_tests.jl --config_file $CONFIG_PATH/regridder_mpi.yml"
timeout_in_minutes: 20
env:
CLIMACORE_DISTRIBUTED: "MPI"
NPROCS: 2
agents:
slurm_ntasks: 2
slurm_mem: 16GB
- label: "MPI BCReader unit tests"
key: "bcreader_mpi_tests"
command: "srun julia --color=yes --project=test/ test/mpi_tests/bcreader_mpi_tests.jl --run_name bcreader_mpi --job_id bcreader_mpi"
timeout_in_minutes: 20
env:
CLIMACORE_DISTRIBUTED: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16GB
- label: "MPI Checkpointer unit tests"
key: "checkpointer_mpi_tests"
command: "srun julia --color=yes --project=test/ test/mpi_tests/checkpointer_mpi_tests.jl --run_name checkpointer_mpi --job_id checkpointer_mpi"
timeout_in_minutes: 20
env:
CLIMACORE_DISTRIBUTED: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16GB
- label: "MPI Utilities unit tests"
key: "utilities_mpi_tests"
command: "srun julia --color=yes --project=test/ test/utilities_tests.jl --run_name utilities_mpi --job_id utilities_mpi"
timeout_in_minutes: 20
env:
CLIMACORE_DISTRIBUTED: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16GB
- label: "Perf flame graph diff tests"
command: "julia --color=yes --project=perf/ perf/flame_test.jl --run_name flame_test --job_id flame_perf_target"
timeout_in_minutes: 5
agents:
slurm_mem: 16GB
- group: "GPU: unit tests and global bucket"
steps:
- label: "GPU runtests"
command: "julia --color=yes --project=test/ test/runtests.jl"
agents:
slurm_ntasks: 1
slurm_gres: "gpu:1"
- group: "Integration Tests"
steps:
# Drivers for release >
# SLABPLANET
# Slabplanet default:
# - this is the most lightweight example with conservation and visual checks, with CLI specification as follows
# - numerics: dt = dt_cpl = 200s, nelem = 4
# - physics: bulk aerodynamic surface fluxes, gray radiation, idealized insolation, equil moisture model, 0-moment microphysics
# - input data: monotonous remapping (land mask, SST, SIC)
# - slurm: unthreaded, 1 ntask
# - diagnostics: check and plot energy conservation, output plots after 9 days
- label: "Slabplanet: default"
key: "slabplanet_default"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_default.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_default_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: dry, no radiation"
key: "slabplanet_dry_norad"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_dry_norad.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_dry_norad_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: default with Float32"
key: "slabplanet_ft32"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_ft32.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_ft32_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: partitioned turbulent fluxes"
key: "slabplanet_partitioned_fluxes"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_partitioned_fluxes.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_partitioned_fluxes_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: non-monotonous surface remap"
key: "slabplanet_non-monotonous"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_nonmono.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_nonmono_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: albedo from static map"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_albedo_static_map.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_albedo_static_map_artifacts/total_energy*.png"
agents:
slurm_mem: 20GB
- label: "Slabplanet: albedo from temporal map"
key: "slabplanet_albedo_temporal_map"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_albedo_temporal_map.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_albedo_temporal_map_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: albedo from function"
key: "slabplanet_albedo_function"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_albedo_function.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_albedo_function_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: eisenman sea ice"
key: "slabplanet_eisenman"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_eisenman.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet_eisenman/slabplanet_eisenman_artifacts/*"
agents:
slurm_mem: 20GB
- label: "Slabplanet: extra atmos diagnostics"
key: "slabplanet_atmos_diags"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/slabplanet_atmos_diags.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/slabplanet_atmos_diags_artifacts/*"
agents:
slurm_mem: 20GB
# AMIP
# ...
# PERFORMANCE
# slabplanet default: track unthreaded performance (alloc tests, flame graph, flame graph diff, build history)
- label: ":rocket: Slabplanet: default (unthreaded)"
key: "slabplanet_unthreaded"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/default_unthreaded.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/default_unthreaded_artifacts/*"
env:
FLAME_PLOT: ""
BUILD_HISTORY_HANDLE: ""
agents:
slurm_ntasks: 1
slurm_mem: 20GB
- label: ":rocket: Slabplanet: default (unthreaded) - flame graph and allocation tests"
command: "julia --color=yes --project=perf perf/flame.jl --config_file $PERF_CONFIG_PATH/perf_default_unthreaded.yml"
artifact_paths: "perf/output/perf_default_unthreaded/*"
agents:
slurm_mem: 20GB
- label: ":rocket: Slabplanet: default (unthreaded) - flame graph diff"
command: "julia --color=yes --project=perf perf/flame_diff.jl --config_file $PERF_CONFIG_PATH/perf_diff_default_unthreaded.yml"
artifact_paths: "perf/output/perf_diff_default_unthreaded/*"
agents:
slurm_mem: 20GB
# < end Drivers for release
# CLIMACORE EXPERIMENTS
- label: "sea_breeze"
command: "julia --color=yes --project=experiments/ClimaCore/sea_breeze experiments/ClimaCore/sea_breeze/run.jl"
artifact_paths: "experiments/ClimaCore/sea_breeze/output/*"
agents:
slurm_mem: 20GB
- label: "heat-diffusion"
command: "julia --color=yes --project=experiments/ClimaCore/ experiments/ClimaCore/heat-diffusion/run.jl"
artifact_paths: "experiments/ClimaCore/output/heat-diffusion_artifacts/*"
agents:
slurm_mem: 20GB
# AMIP AND SLABPLANET EXPERIMENTS
- label: "Moist earth with slab surface - default: monin gray no_sponge idealinsol freq_dt_cpl"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/default_mono.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/default_mono_artifacts/total_energy*.png"
agents:
slurm_mem: 20GB
- label: "Moist earth with slab surface - notmono: monin gray no_sponge idealinsol freq_dt_cpl notmono"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/default_notmono.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/default_notmono_artifacts/total_energy*.png"
agents:
slurm_mem: 20GB
# - label: "Moist earth with slab surface - test: monin allsky sponge idealinsol infreq_dt_cpl"
# command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --FLOAT_TYPE Float64 --coupled true --surface_setup PrescribedSurface --moist equil --vert_diff true --rad allskywithclear --rayleigh_sponge true --alpha_rayleigh_uh 0 --alpha_rayleigh_w 10 --energy_check true --mode_name slabplanet --t_end 10days --dt_save_to_sol 3600secs --dt_cpl 21600 --dt 200secs --dt_rad 6hours --mono_surface true --h_elem 4 --precip_model 0M --run_name target_params_in_slab_test1 --job_id target_params_in_slab_test1" # Unconverged SF (reproduced locally); works with 200s dt_cpl
# artifact_paths: "experiments/ClimaEarth/output/slabplanet/target_params_in_slab_test1_artifacts/total_energy*.png"
- label: "Moist earth with slab surface - test: bulk allsky sponge realinsol infreq_dt_cpl"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/target_params_in_slab_test2.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/target_params_in_slab_test2_artifacts/total_energy*.png"
agents:
slurm_mem: 20GB
- label: "Moist earth with slab surface - test: monin gray sponge realinsol infreq_dt_cpl"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/target_params_in_slab_test3.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/target_params_in_slab_test3_artifacts/total_energy*.png"
agents:
slurm_mem: 20GB
# breaking:
# - label: "Moist earth with slab surface - monin allsky no_sponge idealinsol infreq_dt_cpl"
# command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --coupled true --surface_setup PrescribedSurface --moist equil --vert_diff true --rad allskywithclear --rayleigh_sponge false --energy_check true --mode_name slabplanet --t_end 10days --dt_save_to_sol 3600secs --dt_cpl 21600 --dt 200secs --dt_rad 6hours --idealized_insolation true --mono_surface true --h_elem 4 --precip_model 0M --run_name target_params_in_slab1"
# artifact_paths: "experiments/ClimaEarth/output/slabplanet/target_params_in_slab1_artifacts/total_energy*.png"
- label: "AMIP target: albedo from function"
key: "target_amip_albedo_function"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/target_amip_albedo_function.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/target_amip_albedo_function_artifacts/*"
agents:
slurm_mem: 20GB
- label: "AMIP - Float64 + hourly checkpoint"
key: "amip"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/coarse_single_ft64_hourly_checkpoints.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/coarse_single_ft64_hourly_checkpoints_artifacts/*"
env:
FLAME_PLOT: ""
BUILD_HISTORY_HANDLE: ""
agents:
slurm_ntasks: 1
slurm_mem: 20GB
- label: "AMIP - Float64 + hourly checkpoint + co2"
key: "coarse_single_ft64_hourly_checkpoints_co2"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/coarse_single_ft64_hourly_checkpoints_co2.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/coarse_single_ft64_hourly_checkpoints_co2_artifacts/*"
env:
FLAME_PLOT: ""
BUILD_HISTORY_HANDLE: ""
agents:
slurm_ntasks: 1
slurm_mem: 20GB
- label: "AMIP - Float64 test"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/coarse_single_ft64.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/coarse_single_ft64_artifacts/*"
agents:
slurm_ntasks: 1
slurm_mem: 20GB
- label: "AMIP - Float32 test"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/coarse_single_ft32.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/coarse_single_ft32_artifacts/*"
agents:
slurm_ntasks: 1
slurm_mem: 20GB
- label: "MPI AMIP"
command: "srun julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/coarse_mpi_n2.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/coarse_mpi_n2_artifacts/*"
timeout_in_minutes: 240
env:
CLIMACORE_DISTRIBUTED: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16GB
# short high-res performance test
- label: "Unthreaded AMIP FINE" # also reported by longruns with a flame graph
key: "unthreaded_amip_fine"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/target_amip_n1_shortrun.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/target_amip_n1_shortrun_artifacts/*"
env:
BUILD_HISTORY_HANDLE: ""
agents:
slurm_mem: 20GB
# PERFORMANCE RUNS: flame graphs + allocation tests
- label: ":rocket: flame graph and allocation tests: perf_coarse_single_ft64"
command: "julia --color=yes --project=perf perf/flame.jl --config_file $PERF_CONFIG_PATH/perf_coarse_single_ft64.yml"
artifact_paths: "perf/output/perf_coarse_single_ft64/*"
agents:
slurm_mem: 20GB
- label: ":rocket: performance: flame graph diff: perf_diff_coarse_single_ft64"
command: "julia --color=yes --project=perf perf/flame_diff.jl --config_file $PERF_CONFIG_PATH/perf_diff_coarse_single_ft64.yml"
artifact_paths: "perf/output/perf_diff_coarse_single_ft64/*"
agents:
slurm_mem: 20GB
- group: "GPU integration tests"
steps:
# GPU RUNS: slabplanet
- label: "GPU Slabplanet: albedo from function"
key: "gpu_slabplanet_albedo_function"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_slabplanet_albedo_function.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/gpu_slabplanet_albedo_function_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "GPU Slabplanet: albedo from static map"
key: "gpu_slabplanet_albedo_static_map"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_slabplanet_albedo_static_map.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/gpu_slabplanet_albedo_static_map_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "GPU Slabplanet: albedo from temporal map"
key: "gpu_slabplanet_albedo_temporal_map"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_slabplanet_albedo_temporal_map.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/gpu_slabplanet_albedo_temporal_map_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "GPU Slabplanet: extra atmos diagnostics"
key: "gpu_slabplanet_atmos_diags"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_slabplanet_atmos_diags.yml"
artifact_paths: "experiments/ClimaEarth/output/slabplanet/gpu_slabplanet_atmos_diags_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
# GPU RUNS: AMIP
- label: "GPU AMIP test: albedo from function"
key: "gpu_amip_albedo_function"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_amip_albedo_function.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/gpu_amip_albedo_function_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "GPU AMIP target: topography and diagnostic EDMF"
key: "gpu_amip_target_topo_diagedmf_shortrun"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_amip_target_topo_diagedmf_shortrun.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/gpu_amip_target_topo_diagedmf_shortrun_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "GPU AMIP: albedo from static map"
key: "gpu_amip_albedo_static_map"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_amip_albedo_static_map.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/gpu_amip_albedo_static_map_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "GPU AMIP: albedo from temporal map"
key: "gpu_amip_albedo_temporal_map"
command: "julia --color=yes --project=experiments/ClimaEarth/ experiments/ClimaEarth/run_amip.jl --config_file $CONFIG_PATH/gpu_amip_albedo_temporal_map.yml"
artifact_paths: "experiments/ClimaEarth/output/amip/gpu_amip_albedo_temporal_map_artifacts/*"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- group: "Bash scripts"
steps:
- label: "Submit and Monitor sbatch Job on Caltech HPC"
# check that (1) the script can be succesfully submitted, (2) it runs successfully
command: "test/mpi_tests/test_sbatch_script.sh"
agents:
slurm_ntasks: 1
- wait
# plot job performance history
- label: ":chart_with_downwards_trend: build history"
command:
- build_history staging # name of branch to plot
artifact_paths:
- "build_history.html"