-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpipeline.yml
executable file
·2018 lines (1711 loc) · 82.9 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_10_08
env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
JULIA_CPU_TARGET: 'broadwell;skylake'
JULIA_NVTX_CALLBACKS: gc
OPENBLAS_NUM_THREADS: 1
steps:
- label: "initialize"
key: "init_cpu_env"
command:
- |
if [ -n "$$CLEAR_DEPOT" ]; then
echo "--- Clearing depot"
rm -rf ${JULIA_DEPOT_PATH}
fi
- echo "--- Instantiate buildkite env"
- "julia --project=.buildkite --check-bounds=yes -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"
- "julia --project=.buildkite -e 'using CUDA; CUDA.precompile_runtime()'"
- echo "--- Instantiate lib/ClimaCoreTempestRemap"
- "julia --project=lib/ClimaCoreTempestRemap -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"
- echo "--- Instantiate benchmarks"
- "julia --project=benchmarks/bickleyjet -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"
agents:
slurm_mem: 80G
slurm_gpus: 1
slurm_cpus_per_task: 12
env:
JULIA_NUM_PRECOMPILE_TASKS: 12
- wait
- group: "Unit: Package-wide"
steps:
- label: "Unit: aqua"
key: unit_aqua
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/aqua.jl"
- label: "Unit: cuda"
key: unit_cuda_functional
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/gpu/cuda.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- group: "Unit: RecursiveApply"
steps:
- label: "Unit: RecursiveApply"
key: unit_recursive_apply
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/RecursiveApply/unit_recursive_apply.jl"
- group: "Unit: Utilities"
steps:
- label: "Unit: plushalf"
key: unit_plushalf
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Utilities/unit_plushalf.jl"
- group: "Unit: DataLayouts"
steps:
- label: "Unit: data0d"
key: unit_data0d
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/data0d.jl"
- label: "Unit: data_fill"
key: unit_data_fill
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_fill.jl"
- label: "Unit: data_copyto"
key: unit_data_copyto
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_copyto.jl"
- label: "Unit: mapreduce"
key: unit_data_mapreduce
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_mapreduce.jl"
- label: "Unit: data_opt_similar"
key: data_opt_similar
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/opt_similar.jl"
- label: "Unit: opt_universal_size"
key: opt_universal_size
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/opt_universal_size.jl"
- label: "Unit: data_ndims"
key: unit_data_ndims
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_ndims.jl"
- label: "Unit: unit_data2array"
key: unit_data2array
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_data2array.jl"
- label: "Unit: data1d"
key: unit_data1d
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/data1d.jl"
- label: "Unit: data2d"
key: unit_data2d
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/data2d.jl"
- label: "Unit: data1dx"
key: unit_data1dx
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/data1dx.jl"
- label: "Unit: data2dx"
key: unit_data2dx
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/data2dx.jl"
- label: "Unit: data cuda"
key: unit_data_cuda
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/cuda.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: data fill"
key: gpu_unit_data_fill
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_fill.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: data mapreduce"
key: gpu_unit_data_mapreduce
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_mapreduce.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: data mapreduce (2 gpus)"
key: gpu_2_unit_data_mapreduce
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_mapreduce.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
CLIMACOMMS_CONTEXT: "MPI"
agents:
slum_ntasks: 2
slurm_gpus: 2
- label: "Unit: data copyto"
key: gpu_unit_data_copyto
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/DataLayouts/unit_copyto.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- group: "Unit: Geometry"
steps:
- label: "Unit: geometry"
key: unit_geometry
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Geometry/geometry.jl"
- label: "Unit: axistensors"
key: unit_axistensors
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Geometry/axistensors.jl"
- label: "Unit: rmul_with_projection"
key: unit_rmul_with_projection
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Geometry/rmul_with_projection.jl"
- group: "Unit: Meshes"
steps:
- label: "Unit: interval"
key: unit_interval
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Meshes/interval.jl"
- label: "Unit: meshes rectangle"
key: unit_meshes_rectangle
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Meshes/rectangle.jl"
- label: "Unit: meshes opt"
key: unit_meshes_opt
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Meshes/opt_meshes.jl"
- label: "Unit: meshes cubedsphere"
key: unit_meshes_cubed_sphere
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Meshes/cubedsphere.jl"
- group: "Unit: Topologies"
steps:
- label: "Unit: topo interval"
key: unit_topo_interval
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Topologies/interval.jl"
- label: "Unit: topo rectangle"
key: unit_topo_rectangle
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Topologies/rectangle.jl"
- label: "Unit: rectangle sfc"
key: unit_rectangle_sfc
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Topologies/rectangle_sfc.jl"
- label: "Unit: cubedsphere"
key: unit_cubedsphere
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Topologies/cubedsphere.jl"
- label: "Unit: cubedsphere sfc"
key: unit_cubedsphere_sfc
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Topologies/cubedsphere_sfc.jl"
- label: "Unit: topologies distributed"
key: unit_topologies_distributed
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Topologies/dtopo4.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 4
- group: "Unit: Spaces"
steps:
- label: "Unit: Quadratures"
key: unit_quadrature
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Quadratures/Quadratures.jl"
- label: "Unit: spaces"
key: unit_spaces
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/unit_spaces.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/opt_spaces.jl"
- label: "Unit: cuda spaces"
key: "gpu_cuda_spaces"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/unit_spaces.jl"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/opt_spaces.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: distributed cuda spaces"
key: "gpu_distributed_extruded_cuda_spaces"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/space_construction.jl CUDA"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_gpus_per_task: 1
slurm_ntasks: 3
- label: "Unit: ddss1"
key: unit_ddss1
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/ddss1.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: ddss1 cs"
key: unit_cuda_ddss1_cs
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/ddss1_cs.jl"
- label: "Unit: ddss1 cs"
key: unit_ddss1_cs
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/ddss1_cs.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: sphere"
key: unit_sphere
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/sphere.jl"
- label: "Unit: terrain warp"
key: unit_terrain_warp
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/terrain_warp.jl"
- label: "Unit: distributed dss2"
key: unit_distributed_dss2
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed/ddss2.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 2
- label: "Unit: distributed dss3"
key: unit_distributed_dss3
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed/ddss3.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 3
- label: "Unit: distributed dss4"
key: unit_distributed_dss4
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed/ddss4.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 4
- label: "Unit: distributed remapping (1 process)"
key: distributed_remapping_1proc
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Remapping/distributed_remapping.jl"
env:
CLIMACOMMS_DEVICE: "CPU"
- label: "Unit: distributed remapping (2 processes)"
key: distributed_remapping_2procs
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Remapping/distributed_remapping.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CPU"
agents:
slurm_ntasks: 2
- label: "Unit: distributed remapping with CUDA (1 process)"
key: distributed_remapping_gpu_1proc
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Remapping/distributed_remapping.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: distributed remapping with CUDA (2 processes)"
key: distributed_remapping_gpu_2procs
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Remapping/distributed_remapping.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 2
slurm_gpus_per_task: 1
- label: "Unit: distributed gather"
key: unit_distributed_gather4
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed/gather4.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 4
- label: "Unit: cuda extruded spaces"
key: "extruded_spaces_cuda"
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/extruded_cuda.jl CUDA"
artifact_paths:
- output/extruded_spaces_cuda
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: cuda point spaces"
key: "point_space_cuda"
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/point_cuda.jl CUDA"
artifact_paths:
- output/point_cuda
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: cuda dss 2-process test"
key: "gpu_ddss2_test"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/ddss2.jl"
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 2
slurm_gpus: 2
- label: "Unit: cuda dss 3-process test"
key: "gpu_ddss3_test"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/ddss3.jl"
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 3
slurm_gpus: 3
- label: "Unit: cuda dss 4-process test"
key: "gpu_ddss4_test"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/ddss4.jl"
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 4
slurm_gpus: 4
- label: "Unit: cuda Cubed Sphere dss; ne = 32; 2-process test"
key: "gpu_ddss_ne32_cs_2processes"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/ddss_ne32_cs.jl"
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 2
slurm_gpus: 2
- label: "Unit: cuda Cubed Sphere dss; ne = 32; 3-process test"
key: "gpu_ddss_ne32_cs_3processes"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/ddss_ne32_cs.jl"
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 3
slurm_gpus: 3
- label: "Unit: cuda Cubed Sphere dss; ne = 32; 4-process test"
key: "gpu_ddss_ne32_cs_4processes"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Spaces/distributed_cuda/ddss_ne32_cs.jl"
timeout_in_minutes: 15
env:
CLIMACOMMS_CONTEXT: "MPI"
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_ntasks: 4
slurm_gpus: 4
- group: "Unit: Fields"
steps:
- label: "Unit: field"
key: unit_field
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/unit_field.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/benchmark_field_multi_broadcast_fusion.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/convergence_field_integrals.jl"
- label: "Unit: field cuda"
key: unit_field_cuda
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/unit_field.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/benchmark_field_multi_broadcast_fusion.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/convergence_field_integrals.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: reduction cuda"
key: unit_reduction_cuda
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/reduction_cuda.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: distributed reduction cuda"
key: unit_distributed_reduction_cuda
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Fields/reduction_cuda_distributed.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_gpus_per_task: 1
slurm_ntasks: 2
- group: "Unit: Operators"
steps:
- label: "Unit: rectilinear"
key: unit_rectilinear
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/rectilinear.jl"
- label: "Unit: diffusion2d"
key: unit_diffusion2d
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/unit_diffusion2d.jl"
- label: "Unit: sphere geometry"
key: unit_sphere_geometry
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_geometry.jl"
- label: "Unit: sphere gradient"
key: unit_sphere_gradient
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_gradient.jl"
- label: "Unit: sphere divergence"
key: unit_sphere_divergence
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_divergence.jl"
- label: "Unit: sphere curl"
key: unit_sphere_curl
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_curl.jl"
- label: "Unit: sphere diffusion"
key: unit_sphere_diffusion
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_diffusion.jl"
- label: "Unit: sphere diffusion vec"
key: unit_sphere_diffusion_vec
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_diffusion_vec.jl"
- label: "Unit: sphere hyperdiffusion"
key: unit_sphere_hyperdiffusion
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/unit_sphere_hyperdiffusion.jl"
- label: "Unit: sphere hyperdiffusion vec"
key: unit_sphere_hyperdiffusion_vec
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/unit_sphere_hyperdiffusion_vec.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/convergence_sphere_hyperdiffusion_vec.jl"
- label: "Unit: spec ops plane"
key: unit_spec_ops_plane
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/plane.jl"
- label: "Unit: column"
key: unit_column
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/unit_column.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/convergence_column.jl"
- label: "Unit: wfact"
key: unit_wfact
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/wfact.jl"
- label: "Unit: linsolve"
key: unit_linsolve
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/linsolve.jl"
- label: "Unit: fd tensor"
key: unit_fd_tensor
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/tensor.jl"
- label: "Unit: advection operator convergence"
key: unit_adv_conv
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/convergence_advection_diffusion1d.jl"
soft_fail: true
- label: "Unit: hyb ops 2d"
key: unit_hyb_ops_2d
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/unit_2d.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/convergence_2d.jl"
- label: "Unit: hyb ops 3d"
key: unit_hyb_ops_3d
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/unit_3d.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/convergence_3d.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/simulation_3d.jl"
- label: "Unit: hyb ops 3d CUDA"
key: unit_hyb_ops_3d_cuda
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/unit_3d.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/convergence_3d.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/simulation_3d.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: remapping"
key: unit_remapping
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/remapping.jl"
- label: "Unit: run sphere geometry distributed (2)"
key: unit_run_sphere_geometry_distributed2
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_geometry_distributed.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 2
slurm_mem: 20GB
- label: "Unit: run sphere geometry distributed (3)"
key: unit_run_sphere_geometry_distributed3
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_geometry_distributed.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 3
slurm_mem: 20GB
- label: "Unit: run sphere geometry distributed (4)"
key: unit_run_sphere_geometry_distributed4
command: "srun julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/sphere_geometry_distributed.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
agents:
slurm_ntasks: 4
slurm_mem: 20GB
- label: "Unit: rectilinear cuda"
key: unit_rectilinear_cuda
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/rectilinear_cuda.jl"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/rectilinear_cuda.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: operators on levels and extruded spaces"
key: unit_cuda_operators_example
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/unit_operators_examples.jl"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/unit_operators_examples.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: velocity grad tensor ops"
key: unit_spectral_tensor_op_cuda
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/covar_deriv_ops.jl"
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/spectralelement/covar_deriv_ops.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: hybrid operators cuda"
key: unit_ops_cuda
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/unit_cuda.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/simulation_cuda.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: extruded sphere cuda"
key: unit_extruded_sphere_cuda
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/extruded_sphere_cuda.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: extruded 3dbox cuda"
key: unit_extruded_3dbox_cuda
command:
- "julia --project=.buildkite -e 'using CUDA; CUDA.versioninfo()'"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/hybrid/extruded_3dbox_cuda.jl CUDA"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: implicit stencil Float32"
key: "cpu_implicit_stencil_float32"
command: "julia -O0 --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/implicit_stencils.jl --float_type Float32"
- label: "Unit: implicit stencil Float64"
key: "cpu_implicit_stencil_float64"
command: "julia -O0 --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/implicit_stencils.jl --float_type Float64"
- label: "Unit: implicit stencil Float32"
key: "gpu_implicit_stencil_float32"
command: "julia -O0 --color=yes --check-bounds=yes --project=.buildkite test/Operators/finitedifference/implicit_stencils.jl --float_type Float32"
agents:
slurm_mem: 20GB
slurm_gpus: 1
- label: "Unit: Integrals (CPU)"
key: "cpu_integrals"
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/integrals.jl"
- label: "Unit: Integrals (GPU)"
key: "gpu_integrals"
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/integrals.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: Thomas Algorithm"
key: "cpu_thomas_algorithm"
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/unit_thomas_algorithm.jl"
- label: "Unit: Thomas Algorithm"
key: "gpu_thomas_algorithm"
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/unit_thomas_algorithm.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- group: "Unit: MatrixFields"
steps:
- label: "Unit: BandMatrixRow"
key: unit_band_matrix_row
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/band_matrix_row.jl"
- label: "Unit: field2arrays"
key: unit_field2arrays
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/field2arrays.jl"
- label: "Unit: matrix multiplication at boundaries"
key: unit_matrix_multiplication_at_boundaries
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_multiplication_at_boundaries.jl"
- label: "Unit: operator matrices (CPU)"
key: unit_operator_matrices_cpu
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/operator_matrices.jl"
- label: "Unit: operator matrices (GPU)"
key: unit_operator_matrices_gpu
command: "julia --color=yes --project=.buildkite test/MatrixFields/operator_matrices.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 40GB
- label: "Unit: field names"
key: unit_field_names
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/field_names.jl"
- label: "Unit: field matrix solvers (CPU)"
key: unit_field_matrix_solvers_cpu
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/field_matrix_solvers.jl"
agents:
slurm_mem: 40GB
- label: "Unit: field matrix solvers (GPU)"
key: unit_field_matrix_solvers_gpu
command: "julia --color=yes --project=.buildkite test/MatrixFields/field_matrix_solvers.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 40GB
- label: "Unit: bidiag matrix row example (CPU)"
key: cpu_gpu_compat_bidiag_matrix_row
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/gpu_compat_bidiag_matrix_row.jl"
- label: "Unit: bidiag matrix row example (GPU)"
key: gpu_compat_bidiag_matrix_row
command: "julia --color=yes --project=.buildkite test/MatrixFields/gpu_compat_bidiag_matrix_row.jl"
soft_fail: true
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: multiple field solve example (GPU)"
key: gpu_multiple_field_solve_example
command: "julia --color=yes --project=.buildkite test/MatrixFields/multiple_field_solve_reproducer_1.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- label: "Unit: matrix multiplication recursion example (CPU)"
key: cpu_matrix_multiplication_recursion
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_multiplication_recursion.jl"
- label: "Unit: matrix multiplication recursion example (GPU)"
key: gpu_matrix_multiplication_recursion
command: "julia --color=yes --project=.buildkite test/MatrixFields/matrix_multiplication_recursion.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
- group: "Unit: MatrixFields - broadcasting (CPU)"
steps:
# scalar
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_1
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_1.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_2
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_2.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_3
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_3.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_4
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_4.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_5
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_5.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_6
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_6.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_7
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_7.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_8
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_8.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_9
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_9.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_10
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_10.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_11
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_11.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_12
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_12.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_13
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_13.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_14
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_14.jl"
soft_fail: true
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_15
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_15.jl"
soft_fail: true
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_scalar_16
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_16.jl"
# non-scalar
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_non_scalar_1
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_non_scalar_1.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_non_scalar_2
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_non_scalar_2.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_non_scalar_3
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_non_scalar_3.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_non_scalar_4
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_non_scalar_4.jl"
- label: "Unit: matrix field broadcasting (CPU)"
key: unit_matrix_field_broadcasting_cpu_non_scalar_5
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_non_scalar_5.jl"
soft_fail: true
- group: "Unit: MatrixFields - broadcasting (GPU)"
steps:
# scalar
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_1
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_1.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_2
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_2.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_3
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_3.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_4
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_4.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_5
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_5.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_6
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_6.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_7
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_7.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_8
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_8.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
slurm_gpus: 1
slurm_mem: 10GB
- label: "Unit: matrix field broadcasting (GPU)"
key: unit_matrix_field_broadcasting_gpu_scalar_9
command: "julia --color=yes --check-bounds=yes --project=.buildkite test/MatrixFields/matrix_fields_broadcasting/test_scalar_9.jl"