-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpipeline.yml
1179 lines (1026 loc) · 46.8 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
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
agents:
queue: new-central
slurm_mem: 8G
modules: climacommon/2024_12_16
env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
OPENBLAS_NUM_THREADS: 1
SLURM_KILL_BAD_EXIT: 1
JULIA_NVTX_CALLBACKS: gc
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
CONFIG_PATH: "config/model_configs"
GPU_CONFIG_PATH: "config/gpu_configs"
PERF_CONFIG_PATH: "config/perf_configs"
MPI_CONFIG_PATH: "config/mpi_configs"
steps:
- label: "init :computer:"
key: "init_cpu_env"
concurrency: 1
concurrency_group: 'depot/climaatmos-ci'
command:
- "echo $$JULIA_DEPOT_PATH"
- echo "--- Instantiate project"
- "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 .buildkite"
- "julia --project=.buildkite -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project=.buildkite -e 'using Pkg; Pkg.add(Pkg.PackageSpec(;name=\"RRTMGP\", rev=\"sk/refactor_fluxes_change_datalayout\"))'"
- "julia --project=.buildkite -e 'using Pkg; Pkg.precompile()'"
- "julia --project=.buildkite -e 'using CUDA; CUDA.precompile_runtime()'"
- "julia --project=.buildkite -e 'using Pkg; Pkg.status()'"
agents:
slurm_cpus_per_task: 8
slurm_gpus: 1
env:
JULIA_NUM_PRECOMPILE_TASKS: 8
JULIA_MAX_NUM_PRECOMPILE_FILES: 50
- wait
- group: "Reproducibility infrastructure"
steps:
- label: ":computer: Test reproducibility infrastructure"
command: "julia --color=yes --project=.buildkite test/unit_reproducibility_infra.jl"
- group: "Radiation"
steps:
- label: ":computer: single column radiative equilibrium gray"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_radiative_equilibrium_gray.yml
--job_id single_column_radiative_equilibrium_gray
artifact_paths: "single_column_radiative_equilibrium_gray/output_active/*"
- label: ":computer: single column radiative equilibrium clearsky"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_radiative_equilibrium_clearsky.yml
--job_id single_column_radiative_equilibrium_clearsky
artifact_paths: "single_column_radiative_equilibrium_clearsky/output_active/*"
- label: ":computer: single column radiative equilibrium clearsky prognostic surface temperature"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_radiative_equilibrium_clearsky_prognostic_surface_temp.yml
--job_id single_column_radiative_equilibrium_clearsky_prognostic_surface_temp
artifact_paths: "single_column_radiative_equilibrium_clearsky_prognostic_surface_temp/output_active/*"
- label: ":computer: single column radiative equilibrium allsky idealized clouds varying insolation"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_radiative_equilibrium_allsky_idealized_clouds.yml
--job_id single_column_radiative_equilibrium_allsky_idealized_clouds
artifact_paths: "single_column_radiative_equilibrium_allsky_idealized_clouds/output_active/*"
- group: "Precipitation"
steps:
- label: ":umbrella: 1-moment precipitation sanity test single column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_precipitation_test.yml
--job_id single_column_precipitation_test
artifact_paths: "single_column_precipitation_test/output_active/*"
- group: "Gravity wave"
steps:
- label: ":computer: non-orographic gravity wave parameterization unit test 3d"
command: "julia --color=yes --project=.buildkite test/parameterized_tendencies/gravity_wave/non_orographic_gravity_wave/nogw_test_3d.jl"
artifact_paths: "nonorographic_gravity_wave_test_3d/*"
agents:
slurm_mem: 20GB
- label: ":computer: non-orographic gravity wave parameterization test with MiMA output"
command: "julia --color=yes --project=.buildkite test/parameterized_tendencies/gravity_wave/non_orographic_gravity_wave/nogw_test_mima.jl"
artifact_paths: "nonorographic_gravity_wave_test_mima/*"
agents:
slurm_mem: 20GB
- label: ":computer: non-orographic gravity wave parameterization unit test single column"
command: "julia --color=yes --project=.buildkite test/parameterized_tendencies/gravity_wave/non_orographic_gravity_wave/nogw_test_single_column.jl"
artifact_paths: "nonorographic_gravity_wave_test_single_column/*"
- label: ":computer: orographic gravity wave parameterization unit test for base flux calculation"
command: "julia --color=yes --project=.buildkite test/parameterized_tendencies/gravity_wave/orographic_gravity_wave/ogwd_baseflux.jl"
artifact_paths: "orographic_gravity_wave_test_baseflux/*"
- label: ":computer: orographic gravity wave parameterization unit test for 3d calculation"
command: "julia --color=yes --project=.buildkite test/parameterized_tendencies/gravity_wave/orographic_gravity_wave/ogwd_3d.jl"
artifact_paths: "orographic_gravity_wave_test_3d/*"
- label: ":computer: single column non-orographic gravity wave parameterization"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_nonorographic_gravity_wave.yml
--job_id single_column_nonorographic_gravity_wave
artifact_paths: "single_column_nonorographic_gravity_wave/*"
- group: "Column Examples"
steps:
- label: ":computer: single column hydrostatic balance float64"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/single_column_hydrostatic_balance_ft64.yml
--job_id single_column_hydrostatic_balance_ft64
julia --color=yes --project=.buildkite reproducibility_tests/test_mse.jl
--job_id single_column_hydrostatic_balance_ft64
--out_dir single_column_hydrostatic_balance_ft64/output_active
artifact_paths: "single_column_hydrostatic_balance_ft64/output_active/*"
- group: "Box Examples"
steps:
- label: ":computer: Box hydrostatic balance"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/box_hydrostatic_balance.yml
--job_id box_hydrostatic_balance
artifact_paths: "box_hydrostatic_balance/output_active/*"
- label: ":computer: 3D density current"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/box_density_current_test.yml
--job_id box_density_current_test
artifact_paths: "box_density_current_test/output_active/*"
- label: ":computer: Box rcemipii with diagnostic edmf"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/rcemipii_box_diagnostic_edmfx.yml
--job_id rcemipii_box_diagnostic_edmfx
artifact_paths: "rcemipii_box_diagnostic_edmfx/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: LES ISDAC in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/les_isdac_box.yml
--job_id les_isdac_box
artifact_paths: "les_isdac_box/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_mem: 16G
slurm_gpus: 1
soft_fail: true
- group: "Plane Examples"
steps:
- label: ":computer: Density current experiment"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/plane_density_current_test.yml
--job_id plane_density_current_test
artifact_paths: "plane_density_current_test/output_active/*"
- group: "Analytic Tests"
steps:
- label: "GPU: No Topography Test (2D, Float64, Discrete Balance)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/plane_no_topography_float64_test.yml
--job_id gpu_plane_no_topography_float64_test
artifact_paths: "gpu_plane_no_topography_float64_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "GPU: Cosine Hills Test (2D, Float64)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/plane_cosine_hills_float64_test.yml
--job_id gpu_plane_cosine_hills_float64_test
artifact_paths: "gpu_plane_cosine_hills_float64_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "GPU: Cosine Hills Test (Extruded 2D, Float64)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/extruded_plane_cosine_hills_float64_test.yml
--job_id gpu_extruded_plane_cosine_hills_float64_test
artifact_paths: "gpu_extruded_plane_cosine_hills_float64_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 48GB
- label: "GPU: Cosine Hills Test (3D, Float64)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/box_cosine_hills_float64_test.yml
--job_id gpu_box_cosine_hills_float64_test
artifact_paths: "gpu_box_cosine_hills_float64_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 48GB
- label: "GPU: Agnesi Mountain Test (2D, Float64)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/plane_agnesi_mountain_float64_test.yml
--job_id gpu_plane_agnesi_mountain_float64_test
artifact_paths: "gpu_plane_agnesi_mountain_float64_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "GPU: Schar Mountain Test (2D, Float64)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/plane_schar_mountain_float64_test.yml
--job_id gpu_plane_schar_mountain_float64_test
artifact_paths: "gpu_plane_schar_mountain_float64_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "GPU: Schar Mountain Test (2D, Float32)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/plane_schar_mountain_float32_test.yml
--job_id gpu_plane_schar_mountain_float32_test
artifact_paths: "gpu_plane_schar_mountain_float32_test/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- group: "Conservation check"
steps:
- label: ":computer: baroclinic wave check conservation"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl --config_file $CONFIG_PATH/baroclinic_wave_conservation.yml
--job_id baroclinic_wave_conservation
artifact_paths: "baroclinic_wave_conservation/output_active/*"
- label: ":computer: baroclinic wave moist check conservation"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl --config_file $CONFIG_PATH/baroclinic_wave_equil_conservation.yml
--job_id baroclinic_wave_equil_conservation
artifact_paths: "baroclinic_wave_equil_conservation/output_active/*"
- label: ":computer: baroclinic wave moist check conservation float64"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl --config_file $CONFIG_PATH/baroclinic_wave_equil_conservation_ft64.yml
--job_id baroclinic_wave_equil_conservation_ft64
artifact_paths: "baroclinic_wave_equil_conservation_ft64/output_active/*"
- label: ":computer: baroclinic wave moist check conservation with sources"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl --config_file $CONFIG_PATH/baroclinic_wave_equil_conservation_source.yml
--job_id baroclinic_wave_equil_conservation_source
artifact_paths: "baroclinic_wave_equil_conservation_source/output_active/*"
agents:
slurm_mem: 16GB
- group: "Sphere Examples (Dycore)"
steps:
- label: ":computer: hydrostatic balance float64"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/hydrostatic_balance_ft64.yml
--job_id hydrostatic_balance_ft64
artifact_paths: "hydrostatic_balance_ft64/output_active/*"
agents:
slurm_mem: 20GB
- label: ":computer: baroclinic wave"
key: baroclinic_wave
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/baroclinic_wave.yml
--job_id baroclinic_wave
artifact_paths: "baroclinic_wave/output_active/*"
- label: ":computer: no lim baroclinic wave equilmoist"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/baroclinic_wave_equil.yml
--job_id baroclinic_wave_equil
julia --color=yes --project=.buildkite reproducibility_tests/test_mse.jl
--job_id baroclinic_wave_equil
--out_dir baroclinic_wave_equil/output_active
artifact_paths: "baroclinic_wave_equil/output_active/*"
agents:
slurm_constraint: icelake|cascadelake|skylake|epyc
- label: ":computer: held suarez"
key: held_suarez
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/held_suarez.yml
--job_id held_suarez
artifact_paths: "held_suarez/output_active/*"
- label: ":computer: no lim held suarez equilmoist"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/held_suarez_equil.yml
--job_id held_suarez_equil
julia --color=yes --project=.buildkite reproducibility_tests/test_mse.jl
--job_id held_suarez_equil
--out_dir held_suarez_equil/output_active
artifact_paths: "held_suarez_equil/output_active/*"
agents:
slurm_constraint: icelake|cascadelake|skylake|epyc
- group: "Sphere Examples (Aquaplanet)"
steps:
- label: ":umbrella: aquaplanet nonequil allsky monin_obukhov varying insol gravity wave (gfdl_restart) high top 1-moment"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/aquaplanet_nonequil_allsky_gw_res.yml
--job_id aquaplanet_nonequil_allsky_gw_res
julia --color=yes --project=.buildkite reproducibility_tests/test_mse.jl
--job_id aquaplanet_nonequil_allsky_gw_res
--out_dir aquaplanet_nonequil_allsky_gw_res/output_active
artifact_paths: "aquaplanet_nonequil_allsky_gw_res/output_active/*"
agents:
slurm_mem: 20GB
- label: ":computer: aquaplanet equil allsky monin_obukhov varying insol gravity wave (raw_topo) high top zonally asymmetric"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/aquaplanet_equil_allsky_gw_raw_zonalasym.yml
--job_id aquaplanet_equil_allsky_gw_raw_zonalasym
julia --color=yes --project=.buildkite reproducibility_tests/test_mse.jl
--job_id aquaplanet_equil_allsky_gw_raw_zonalasym
--out_dir aquaplanet_equil_allsky_gw_raw_zonalasym/output_active
artifact_paths: "aquaplanet_equil_allsky_gw_raw_zonalasym/output_active/*"
agents:
slurm_mem: 20GB
slurm_constraint: icelake|cascadelake|skylake|epyc
- label: ":computer: aquaplanet slabocean equilmoist allsky radiation monin_obukhov varying insolation"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/aquaplanet_equil_clearsky_tvinsol_0M_slabocean.yml
--job_id aquaplanet_equil_clearsky_tvinsol_0M_slabocean
artifact_paths: "aquaplanet_equil_clearsky_tvinsol_0M_slabocean/output_active/*"
agents:
slurm_mem: 20GB
- label: ":computer: aquaplanet slabocean equilmoist allsky radiation monin_obukhov varying insolation float64"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/aquaplanet_equil_clearsky_tvinsol_0M_slabocean_ft64.yml
--job_id aquaplanet_equil_clearsky_tvinsol_0M_slabocean_ft64
artifact_paths: "aquaplanet_equil_clearsky_tvinsol_0M_slabocean_ft64/output_active/*"
agents:
slurm_mem: 20GB
- label: ":computer: aquaplanet for coupler"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/aquaplanet_for_coupler.yml
--job_id aquaplanet_for_coupler
artifact_paths: "aquaplanet_for_coupler/output_active/*"
agents:
slurm_mem: 20GB
- label: ":computer: aquaplanet rcemipii with diagnostic edmf"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/rcemipii_sphere_diagnostic_edmfx.yml
--job_id rcemipii_sphere_diagnostic_edmfx
artifact_paths: "rcemipii_sphere_diagnostic_edmfx/output_active/*"
agents:
slurm_mem: 20GB
- group: "Sphere Examples (Topography)"
steps:
- label: ":computer: baroclinic wave topography (dcmip)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/baroclinic_wave_topography_dcmip_rs.yml
--job_id baroclinic_wave_topography_dcmip_rs
artifact_paths: "baroclinic_wave_topography_dcmip_rs/output_active/*"
- label: ":computer: Diagnostic Earth surface elevation spectra"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/baroclinic_wave_equil_earth.yml
--job_id baroclinic_wave_equil_earth
artifact_paths: "baroclinic_wave_equil_earth/output_active/*"
- label: ":computer: Baroclinic wave equilmoist (Hughes2023 double mountain config)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/baroclinic_wave_hughes2023.yml
--job_id baroclinic_wave_hughes2023
artifact_paths: "baroclinic_wave_hughes2023/output_active/*"
- group: "Restarting"
steps:
- label: ":computer: test restart"
command: >
julia --color=yes --project=.buildkite test/restart.jl
agents:
slurm_mem: 16GB
- label: ":computer: test restart GPU"
command: >
julia --color=yes --project=.buildkite test/restart.jl
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 16G
- label: ":computer: test restart"
command: >
julia --color=yes --project=.buildkite test/restart.jl --manytests true
agents:
slurm_mem: 16GB
- label: ":computer: test restart GPU"
command: >
julia --color=yes --project=.buildkite test/restart.jl --manytests true
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 16G
# This job occasionally times out. We add a soft file when the agent is
# lost because of timeout
- label: ":computer: test restart MPI"
command: >
srun julia --color=yes --project=.buildkite test/restart.jl
env:
CLIMACOMMS_CONTEXT: "MPI"
timeout_in_minutes: 20
soft_fail:
- exit_status: -1
- exit_status: 255
agents:
slurm_ntasks: 2
slurm_mem: 24G
# This job occasionally times out. We add a soft file when the agent is
# lost because of timeout
- label: ":computer: test restart GPU MPI"
command: >
srun julia --color=yes --project=.buildkite test/restart.jl
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
timeout_in_minutes: 20
soft_fail:
- exit_status: -1
- exit_status: 255
agents:
slurm_gpus_per_task: 1
slurm_ntasks: 2
slurm_mem: 24G
- group: "MPI Examples"
steps:
- label: ":computer: Prep restart for MPI"
key: "mpi_baro_wave_make_restart"
command: >
srun julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $MPI_CONFIG_PATH/mpi_make_restart.yml
--job_id mpi_make_restart
artifact_paths: "mpi_make_restart/output_active/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16G
- label: ":computer: Test restart for MPI baroclinic wave"
key: "restart_mpi_baro_wave"
depends_on: "mpi_baro_wave_make_restart"
command: >
tar xvf mpi_make_restart/output_active/hdf5_files.tar -C mpi_make_restart/output_active
srun julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $MPI_CONFIG_PATH/restart_mpi_baroclinic_wave.yml
--job_id restart_mpi_baroclinic_wave
artifact_paths: "restart_mpi_baroclinic_wave/output_active/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16G
timeout_in_minutes: 20
soft_fail: true
#retry:
# automatic: true
- label: ":computer: MPI no lim aquaplanet equilmoist clearsky radiation"
command: >
srun julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $MPI_CONFIG_PATH/mpi_aquaplanet_equil_clearsky.yml
--job_id mpi_aquaplanet_equil_clearsky
artifact_paths: "mpi_aquaplanet_equil_clearsky/output_active/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16GB
- label: ":computer: Prep for calling remap pipeline"
key: "prep_remap"
command: >
srun julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $MPI_CONFIG_PATH/prep_remap.yml
--job_id prep_remap
artifact_paths: "prep_remap/output_active/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 16G
- label: ":computer: Exercise remap pipeline"
depends_on: "prep_remap"
command: >
tar xvf prep_remap/output_active/hdf5_files.tar -C prep_remap/output_active
julia --color=yes --project=.buildkite post_processing/remap/remap_pipeline.jl
--data_dir prep_remap/output_active --out_dir remap_pipeline_output
artifact_paths: "remap_pipeline_output/*"
- group: "EDOnlyEDMFX"
steps:
- label: ":man_in_business_suit_levitating: EDOnly EDMFX aquaplanet"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/edonly_edmfx_aquaplanet.yml
--job_id edonly_edmfx_aquaplanet
artifact_paths: "edonly_edmfx_aquaplanet/output_active/*"
agents:
slurm_mem: 20GB
- group: "Diagnostic EDMFX"
steps:
- label: ":genie: Diagnostic EDMFX test in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_test_box.yml
--job_id diagnostic_edmfx_test_box
artifact_paths: "diagnostic_edmfx_test_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX GABLS in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_gabls_box.yml
--job_id diagnostic_edmfx_gabls_box
artifact_paths: "diagnostic_edmfx_gabls_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX Bomex in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_bomex_box.yml
--job_id diagnostic_edmfx_bomex_box
artifact_paths: "diagnostic_edmfx_bomex_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX Bomex stretched grid in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_bomex_stretched_box.yml
--job_id diagnostic_edmfx_bomex_stretched_box
artifact_paths: "diagnostic_edmfx_bomex_stretched_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX DYCOMS_RF01 in a box (explicit)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_dycoms_rf01_explicit_box.yml
--job_id diagnostic_edmfx_dycoms_rf01_explicit_box
artifact_paths: "diagnostic_edmfx_dycoms_rf01_explicit_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX DYCOMS_RF01 in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_dycoms_rf01_box.yml
--job_id diagnostic_edmfx_dycoms_rf01_box
artifact_paths: "diagnostic_edmfx_dycoms_rf01_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":umbrella: Diagnostic EDMFX DYCOMS_RF02 in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_dycoms_rf02_box.yml
--job_id diagnostic_edmfx_dycoms_rf02_box
artifact_paths: "diagnostic_edmfx_dycoms_rf02_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":umbrella: Diagnostic EDMFX Rico in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_rico_box.yml
--job_id diagnostic_edmfx_rico_box
artifact_paths: "diagnostic_edmfx_rico_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":umbrella: Diagnostic EDMFX TRMM in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_trmm_box.yml
--job_id diagnostic_edmfx_trmm_box
artifact_paths: "diagnostic_edmfx_trmm_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":umbrella: Diagnostic EDMFX TRMM stretched grid in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_trmm_stretched_box.yml
--job_id diagnostic_edmfx_trmm_stretched_box
artifact_paths: "diagnostic_edmfx_trmm_stretched_box/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX TRMM 0M in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_trmm_box_0M.yml
--job_id diagnostic_edmfx_trmm_box_0M
artifact_paths: "diagnostic_edmfx_trmm_box_0M/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Diagnostic EDMFX aquaplanet"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_aquaplanet.yml
--job_id diagnostic_edmfx_aquaplanet
julia --color=yes --project=.buildkite reproducibility_tests/test_mse.jl
--job_id diagnostic_edmfx_aquaplanet
--out_dir diagnostic_edmfx_aquaplanet/output_active
artifact_paths: "diagnostic_edmfx_aquaplanet/output_active/*"
agents:
slurm_mem: 20GB
slurm_constraint: icelake|cascadelake|skylake|epyc
- group: "Prognostic EDMFX"
steps:
- label: ":genie: Prognostic EDMFX advection test in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_adv_test_column.yml
--job_id prognostic_edmfx_adv_test_column
artifact_paths: "prognostic_edmfx_adv_test_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX simple plume test in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_simpleplume_column.yml
--job_id prognostic_edmfx_simpleplume_column
artifact_paths: "prognostic_edmfx_simpleplume_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Soares in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_soares_column.yml
--job_id prognostic_edmfx_soares_column
artifact_paths: "prognostic_edmfx_soares_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX GABLS in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_gabls_column.yml
--job_id prognostic_edmfx_gabls_column
artifact_paths: "prognostic_edmfx_gabls_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Bomex in a column (pi group)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_bomex_pigroup_column.yml
--job_id prognostic_edmfx_bomex_pigroup_column
artifact_paths: "prognostic_edmfx_bomex_pigroup_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Bomex with precribed TKE in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_bomex_fixtke_column.yml
--job_id prognostic_edmfx_bomex_fixtke_column
artifact_paths: "prognostic_edmfx_bomex_fixtke_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Bomex stretched grid in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_bomex_stretched_column.yml
--job_id prognostic_edmfx_bomex_stretched_column
artifact_paths: "prognostic_edmfx_bomex_stretched_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Bomex in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_bomex_column.yml
--job_id prognostic_edmfx_bomex_column
artifact_paths: "prognostic_edmfx_bomex_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Bomex in a column (implicit)"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_bomex_implicit_column.yml
--job_id prognostic_edmfx_bomex_column_implicit
artifact_paths: "prognostic_edmfx_bomex_column_implicit/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX Dycoms RF01 in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_dycoms_rf01_column.yml
--job_id prognostic_edmfx_dycoms_rf01_column
artifact_paths: "prognostic_edmfx_dycoms_rf01_column/output_active/*"
agents:
slurm_mem: 20GB
- label: ":umbrella: Prognostic EDMFX Rico in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_rico_column.yml
--job_id prognostic_edmfx_rico_column
artifact_paths: "prognostic_edmfx_rico_column/output_active/*"
agents:
slurm_mem: 20GB
soft_fail: true
- label: ":umbrella: Prognostic EDMFX TRMM in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_trmm_column.yml
--job_id prognostic_edmfx_trmm_column
artifact_paths: "prognostic_edmfx_trmm_column/output_active/*"
agents:
slurm_mem: 20GB
soft_fail: true
- label: ":genie: Prognostic EDMFX TRMM with 0-moment in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_trmm_column_0M.yml
--job_id prognostic_edmfx_trmm_column_0M
artifact_paths: "prognostic_edmfx_trmm_column_0M/output_active/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX GCM driven in a column"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_gcmdriven_column.yml
--job_id prognostic_edmfx_gcmdriven_column
artifact_paths: "prognostic_edmfx_gcmdriven_column/output_active/*"
agents:
slurm_mem: 20GB
soft_fail: true
- label: ":genie: Prognostic EDMFX Bomex in a box"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_bomex_box.yml
--job_id prognostic_edmfx_bomex_box
artifact_paths: "prognostic_edmfx_bomex_box/*"
agents:
slurm_mem: 20GB
- label: ":genie: Prognostic EDMFX aquaplanet"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_aquaplanet.yml
--job_id prognostic_edmfx_aquaplanet
artifact_paths: "prognostic_edmfx_aquaplanet/output_active/*"
agents:
slurm_mem: 20GB
- group: "GPU"
steps:
- label: "GPU: Gravity waves"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/sphere_nonorographic_gravity_wave.yml
--job_id sphere_nonorographic_gravity_wave
artifact_paths: "sphere_nonorographic_gravity_wave/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 16GB
- label: "GPU: baroclinic wave"
key: "baroclinic_wave_gpu"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/baroclinic_wave.yml
--job_id baroclinic_wave_gpu
artifact_paths: "baroclinic_wave_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 16GB
- label: "GPU: compare BW with CPU"
command: >
tar xvf baroclinic_wave/output_active/hdf5_files.tar -C baroclinic_wave
tar xvf baroclinic_wave_gpu/output_active/hdf5_files.tar -C baroclinic_wave_gpu
julia --color=yes --project=.buildkite post_processing/compare_outputs.jl
--output_folder_1 baroclinic_wave
--output_folder_2 baroclinic_wave_gpu --t_end 10days
--compare_state false
depends_on:
- "baroclinic_wave"
- "baroclinic_wave_gpu"
- label: "GPU: baroclinic wave - 2 gpus"
key: "baroclinic_wave_2gpu"
command:
- mkdir -p baroclinic_wave_2gpu
# - >
# srun --cpu-bind=threads --cpus-per-task=4
# nsys profile --delay 100 --trace=nvtx,cuda,mpi --output=baroclinic_wave_2gpu/output_active/report-%q{PMI_RANK}
# julia --threads=3 --color=yes --project=.buildkite .buildkite/ci_driver.jl
# --config_file ${CONFIG_PATH}/baroclinic_wave.yml
# --job_id baroclinic_wave_2gpu
- >
srun --cpu-bind=threads --cpus-per-task=4
julia --threads=3 --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file ${CONFIG_PATH}/baroclinic_wave.yml
--job_id baroclinic_wave_2gpu
artifact_paths: "baroclinic_wave_2gpu/output_active/*"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus_per_task: 1
slurm_cpus_per_task: 4
slurm_ntasks: 2
slurm_mem: 16GB
- label: "GPU: test DYAMOND interpolated initial conditions"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $GPU_CONFIG_PATH/gpu_aquaplanet_dyamond_summer.yml
--job_id gpu_aquaplanet_dyamond_summer
artifact_paths: "gpu_aquaplanet_dyamond_summer/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 16GB
- label: "GPU: EDOnly EDMFX aquaplanet"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/edonly_edmfx_aquaplanet.yml
--job_id edonly_edmfx_aquaplanet_gpu
artifact_paths: "edonly_edmfx_aquaplanet_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 20GB
- label: "GPU: Diagnostic EDMFX aquaplanet"
key: "diagnostic_edmfx_aquaplanet_gpu"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/diagnostic_edmfx_aquaplanet_gpu.yml
--job_id diagnostic_edmfx_aquaplanet_gpu
artifact_paths: "diagnostic_edmfx_aquaplanet_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 20GB
- label: "GPU: Prognostic EDMFX aquaplanet"
command: >
julia --color=yes --project=.buildkite .buildkite/ci_driver.jl
--config_file $CONFIG_PATH/prognostic_edmfx_aquaplanet.yml
--job_id prognostic_edmfx_aquaplanet_gpu
artifact_paths: "prognostic_edmfx_aquaplanet_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 20GB
- group: "Benchmarks"
steps:
- label: ":computer: Benchmark: CPU baroclinic wave moist"
command: >
julia --color=yes --project=.buildkite perf/benchmark_step.jl
--config_file $PERF_CONFIG_PATH/bm_baroclinic_wave_moist.yml
--job_id bm_baroclinic_wave_moist
artifact_paths: "bm_baroclinic_wave_moist/output_active/*"
- label: ":computer: Benchmark: GPU baroclinic wave moist"
command: >
julia --color=yes --project=.buildkite perf/benchmark_step.jl
--config_file $PERF_CONFIG_PATH/bm_baroclinic_wave_moist.yml
--job_id bm_baroclinic_wave_moist_gpu
artifact_paths: "bm_baroclinic_wave_moist_gpu/output_active/*"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_mem: 16G
slurm_gpus: 1
- label: ":computer: Benchmark: CPU default"
command: >
julia --color=yes --project=.buildkite perf/benchmark.jl
--config_file $PERF_CONFIG_PATH/bm_default.yml