-
Notifications
You must be signed in to change notification settings - Fork 144
/
.gitlab-ci.yml
1382 lines (1307 loc) · 49.9 KB
/
.gitlab-ci.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
###
### Variables
###
# Global variables (will be set in every job):
variables:
WARN_AS_ERROR: "1"
# MAKEFLAGS: "-s"
REALM_BACKTRACE: "1"
UCX_HANDLE_ERRORS: "none" # Disable UCX-based backtrace.
REALM_SYNTHETIC_CORE_MAP: "" # Disable Realm thread pinning.
TIMELIMIT: "600" # each test should take less than 10 minutes
USE_DEFCHECK: "1"
CCACHE_BASEDIR: $CI_PROJECT_DIR
CCACHE_DIR: $CI_PROJECT_DIR/ccache
USE_CCACHE: "1"
cache: &global_cache
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- $CCACHE_DIR
# Local variables (included on a case-by-case basis in each job):
.no_ccache: &no_ccache
USE_CCACHE: "0"
.gcc9: &gcc9
CC: "gcc-9"
CXX: "g++-9"
F90: "gfortran-9"
.gcc10: &gcc10
CC: "gcc-10"
CXX: "g++-10"
F90: "gfortran-10"
.gcc11: &gcc11
CC: "gcc-11"
CXX: "g++-11"
F90: "gfortran-11"
.gcc12: &gcc12
CC: "gcc-12"
CXX: "g++-12"
F90: "gfortran-12"
.clang10: &clang10
CC: "clang-10"
CXX: "clang++-10"
F90: "gfortran-7"
.clang12: &clang12
CC: "clang-12"
CXX: "clang++-12"
F90: "gfortran-9"
.clang14: &clang14
CC: "clang-14"
CXX: "clang++-14"
F90: "gfortran-11"
.hpcsdk2211: &hpcsdk2211
CC: "/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc"
CXX: "/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvc++"
F90: "/opt/nvidia/hpc_sdk/Linux_x86_64/22.11/compilers/bin/nvfortran"
USE_CCACHE: "0"
# cmake gets confused and can't figure out library arch
EXTRA_CMAKE_ARGS: "-DCMAKE_LIBRARY_ARCHITECTURE=x86_64-linux-gnu"
.icc212: &icc212
CC: "/opt/intel/oneapi/compiler/2023.1.0/linux/bin/icx"
CXX: "/opt/intel/oneapi/compiler/2023.1.0/linux/bin/icpx"
F90: "/opt/intel/oneapi/compiler/2023.1.0/linux/bin/ifx"
# work around obnoxious warnings about -g without -O0
EXTRA_CMAKE_ARGS: "-DCMAKE_CXX_FLAGS_DEBUG='-g -O0'"
# for libsvml.so, auto-linked by newer Intel compilers
LD_LIBRARY_PATH: "/opt/intel/oneapi/compiler/2023.1.0/linux/compiler/lib/intel64_lin"
.macos_clang: &macos_clang # on macOS, we don't control the compiler version
CC: "clang"
CXX: "clang++"
.terra12: &terra12
TERRA_DIR: "/usr/local/terra12"
.terra13: &terra13 # macOS only
TERRA_DIR: "/usr/local/terra-13"
.terra14: &terra14
TERRA_DIR: "/usr/local/terra14"
.llvm12: &llvm12
LLVM_CONFIG: "llvm-config-12"
.llvm14: &llvm14
LLVM_CONFIG: "llvm-config-14"
.debug: &debug
DEBUG: "1"
.release: &release
DEBUG: "0"
.maxdim4: &maxdim4
MAX_DIM: "4" # test up to 4-D (needed for HTR external test)
.maxdim5: &maxdim5
MAX_DIM: "5" # test up to 5-D (useful because 1-4 have special cases)
.spy: &spy
USE_SPY: "1"
BASH_ENV: "/root/.cargo/env" # make sure Cargo environment gets loaded
.checks: &checks
BOUNDS_CHECKS: "1"
PRIVILEGE_CHECKS: "1"
.cxx17_normal: &cxx17_normal
CXXFLAGS: ""
CXX_STANDARD: "17"
.cxx17_external: &cxx17_external
CXXFLAGS: ""
CXX_STANDARD: "17"
# Extra flags here for external projects that don't enforce C++ versions correctly
CXX_FLAGS: "-std=c++17"
NVCC_FLAGS: "-std=c++17"
.cxx17_hardened: &cxx17_hardened
CXXFLAGS: "-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS"
CXX_STANDARD: "17"
.cxx17_precise: &cxx17_precise
# Intel compilers turn on some overly aggressive optimizations by default
CXXFLAGS: "-fp-model=precise"
CXX_STANDARD: "17"
.cxx20_normal: &cxx20_normal
CXXFLAGS: ""
CXX_STANDARD: "20"
.cxx17_32bit_normal: &cxx17_32bit_normal
CXXFLAGS: "-m32"
LDFLAGS: "-m32 -latomic"
MARCH: "i686"
CXX_STANDARD: "17"
.shared: &shared
SHARED_OBJECTS: "1"
.openmp: &openmp
USE_OPENMP: "1"
.openmp_system: &openmp_system
USE_OPENMP_SYSTEM_RUNTIME: "1"
.python3: &python3
USE_PYTHON: "1"
# FIXME: It would be nice to find a better way to do this,
# but the alternatives look scary
PYTHON_EXE: "python3"
PYTHON_LIB: "/usr/lib/x86_64-linux-gnu/libpython3.8.so"
PYTHON_VERSION_MAJOR: "3"
TEST_PYTHON_EXE: "python3"
.hdf5: &hdf5
USE_HDF: "1"
HDF_HEADER: "hdf5/serial/hdf5.h"
HDF_LIBNAME: "hdf5_serial"
.fortran: &fortran
LEGION_USE_FORTRAN: "1"
.llvm: &llvm
USE_LLVM: "1"
.cuda: &cuda
USE_CUDA: "1"
USE_NVTX: "1"
.cuda_dynamic: &cuda_dynamic
EXTRA_CMAKE_ARGS: "-DLegion_CUDA_DYNAMIC_LOAD=ON -DLegion_HIJACK_CUDART=OFF"
.gasnet1_mpi: &gasnet1_mpi
REALM_NETWORKS: "gasnet1"
CONDUIT: "mpi"
.gasnetex_mpi: &gasnetex_mpi
REALM_NETWORKS: "gasnetex"
CONDUIT: "mpi"
.gasnetex_mpi_debug: &gasnetex_mpi_debug
REALM_NETWORKS: "gasnetex"
CONDUIT: "mpi"
GASNET_DEBUG: "1"
# GASNet headers are not guaranteed to be warning-free in debug mode
WARN_AS_ERROR: "0"
.gasnetex_mpi_stable: &gasnetex_mpi_stable
REALM_NETWORKS: "gasnetex"
CONDUIT: "mpi"
GASNET_VERSION: "GASNet-stable"
.gasnetex_ucx : &gasnetex_ucx
REALM_NETWORKS: "gasnetex"
CONDUIT: "ucx"
UCX_SOURCE: "https://github.com/openucx/ucx/releases/download/v1.14.1/ucx-1.14.1.tar.gz"
UCX_WARN_UNUSED_ENV_VARS: "n"
.gasnetex_wrapper: &gasnetex_wrapper
USE_GASNETEX_WRAPPER: "1"
.gasnet1_ucx : &gasnet1_ucx
REALM_NETWORKS: "gasnet1"
CONDUIT: "ucx"
UCX_SOURCE: "https://github.com/openucx/ucx/releases/download/v1.14.1/ucx-1.14.1.tar.gz"
UCX_WARN_UNUSED_ENV_VARS: "n"
.gasnet_embed_local : &gasnet_embed_local
EMBED_GASNET: "1"
EMBED_GASNET_LOCAL: "1"
.gasnet_embed_remote : &gasnet_embed_remote
EMBED_GASNET: "1"
.mpi: &mpi
REALM_NETWORKS: "mpi"
# mpich-3.2
MPIR_CVAR_CH3_NOLOCAL: "1"
# mpich-3.3 & above
MPIR_CVAR_NOLOCAL: "1"
.ucx: &ucx
REALM_NETWORKS: "ucx"
UCX_SOURCE: "https://github.com/openucx/ucx/releases/download/v1.14.1/ucx-1.14.1.tar.gz"
UCX_WARN_UNUSED_ENV_VARS: "n"
UCX_BRANCH: "v1.14.1"
# mpi_interop example requires MPI to build correctly
USE_MPI: "1"
.ucx_dynamic: &ucx_dynamic
EXTRA_CMAKE_ARGS: "-DLegion_UCX_DYNAMIC_LOAD=ON"
.cmake: &cmake
USE_CMAKE: "1"
.kokkos: &kokkos
USE_KOKKOS: "1"
KOKKOS_TAG: "4.0.01"
KKERNELS_BRANCH: "4.0.01"
.prof: &prof
USE_PROF: "1"
BASH_ENV: "/root/.cargo/env" # make sure Cargo environment gets loaded
.legion: &legion
TEST_REGENT: "0"
LEGION_WARNINGS_FATAL: "1"
.ctest: &ctest
TEST_CTEST: "1"
# The realm unit tests only works on single node
.realm_unit_ctest: &realm_unit_ctest
TEST_REALM_UNIT_CTEST: "1"
.regent: ®ent
TEST_LEGION_CXX: "0"
TEST_REALM: "0"
TEST_FUZZER: "0"
NO_PRETTY: "1"
.regent_pretty: ®ent_pretty
TEST_LEGION_CXX: "0"
TEST_REALM: "0"
TEST_FUZZER: "0"
REGENT_SAFE_COMPILER: "1"
.parallel: ¶llel
REGENT_JOBS: "2"
.incremental: &incremental
REGENT_INCREMENTAL: "1"
.external1: &external1
TEST_PY_ARGS: "--test=external1"
.external2: &external2
TEST_PY_ARGS: "--test=external2"
.private: &private
TEST_PY_ARGS: "--test=private"
.tsan: &tsan
SANITIZER_TYPE: "TSAN"
.ubsan: &ubsan
SANITIZER_TYPE: "UBSAN"
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1"
.asan: &asan
SANITIZER_TYPE: "ASAN"
.jupyter: &jupyter
TEST_JUPYTER: "1"
TEST_PY_ARGS: "--test=jupyter"
.libdw: &libdw
REALM_BACKTRACE_USE_LIBDW: "1"
.nocr: &nocr
REGENT_LEGION_REPLICABLE: "0"
###
### Setup
###
# These commands will run before each job.
before_script:
- set -e
- uname -a
- |
if [[ "$(uname)" = "Linux" ]]; then
export THREADS=$(nproc --all)
if [[ "$USE_CCACHE" -eq 1 ]]; then
apt install -y ccache
fi
elif [[ "$(uname)" = "Darwin" ]]; then
export THREADS=$(sysctl -n hw.ncpu)
else
echo "Unknown platform. Setting THREADS to 1."
export THREADS=1
fi
- |
# Some features require higher CMake versions - grab them here so
# the default can remain an older version
if [[ "$USE_CMAKE" -eq 1 && "$USE_PYTHON" -eq 1 ]]; then
wget -nv https://github.com/Kitware/CMake/releases/download/v3.20.6/cmake-3.20.6-Linux-x86_64.tar.gz
echo "458777097903b0f35a0452266b923f0a2f5b62fe331e636e2dcc4b636b768e36 cmake-3.20.6-Linux-x86_64.tar.gz" | shasum --check
tar -zxf cmake-3.20.6-Linux-x86_64.tar.gz
PATH=`pwd`/cmake-3.20.6-linux-x86_64/bin:$PATH
fi
if [[ "$UCX_SOURCE" != "" ]]; then
mkdir ucx
cd ucx
wget -nv -O - $UCX_SOURCE | tar --strip-components=1 -zxf -
export UCX_ROOT=$PWD/install
if [[ -n "$CUDA" ]]; then
UCX_CONFIG_OPTS="--with-cuda=$CUDA"
# CI tests are run on a single node. So disable shared-memory and cuda ipc
# transports to be able to test some network functionality.
export UCX_TLS=^sm,cuda_ipc
else
UCX_CONFIG_OPTS="--without-cuda"
export UCX_TLS=^sm
fi
contrib/configure-release-mt --prefix=$UCX_ROOT $UCX_CONFIG_OPTS
make -j8 install
export PATH=$PATH:$UCX_ROOT/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$UCX_ROOT/lib
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:$UCX_ROOT
cd -
fi
if [[ "$REALM_NETWORKS" != "" ]]; then
# OpenMPI:
# export LAUNCHER="mpirun -n 2 -x TERRA_PATH -x INCLUDE_PATH -x LD_LIBRARY_PATH -x LG_RT_DIR"
# MPICH:
export LAUNCHER="mpirun -n 2"
export MPICH_CXX=${CXX}
if [[ "$REALM_NETWORKS" == gasnet* ]]; then
if [[ "$EMBED_GASNET" -eq 1 ]]; then
if [[ "$EMBED_GASNET_LOCAL" -eq 1 ]]; then
# clone gasnet, but make it read only since we want an embedded build
# git clone https://github.com/StanfordLegion/gasnet.git gasnet
wget -nv -O - https://github.com/StanfordLegion/gasnet/archive/refs/heads/master.tar.gz | tar -zxf -
mv gasnet-master gasnet
chmod -R a-w gasnet
export EMBED_GASNET_SRC="$PWD/gasnet"
fi
else
# git clone https://github.com/StanfordLegion/gasnet.git gasnet
wget -nv -O - https://github.com/StanfordLegion/gasnet/archive/refs/heads/master.tar.gz | tar -zxf -
mv gasnet-master gasnet
make -C gasnet -j$THREADS
if [[ "$GASNET_DEBUG" -eq 1 ]]; then
export GASNET_ROOT="$PWD/gasnet/debug"
else
export GASNET_ROOT="$PWD/gasnet/release"
fi
fi
export REALM_GASNETEX_WRAPPER=${CI_PROJECT_DIR}/tmp-build/build/lib/librealm_gex_wrapper.so
fi
if [[ "$REALM_NETWORKS" == ucx ]]; then
# build mpi bootstrap .so file.
# the mpicc used here must be consistent with launcher's mpirun.
mpicc -shared -fPIC -o realm_ucp_bootstrap_mpi.so runtime/realm/ucx/bootstrap/bootstrap_mpi.c
export REALM_UCP_BOOTSTRAP_PLUGIN=$PWD/realm_ucp_bootstrap_mpi.so
fi
fi
- |
if [ "$USE_CCACHE" -eq 1 ]; then
export CCACHE_COMPILER=${CXX}
ccache --zero-stats
ccache --show-stats
fi
- |
if [[ "$USE_CUDA" -eq 1 ]]; then
# make sure dynamic loading finds the right libcudart.so
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CUDA}/lib64"
export PATH=$PATH:${CUDA}/bin
# Try to use the stubs over the driver
export CUDA_PATH="${CUDA}"
# Ensure nvcc's HOST compiler is set to our CXX compiler
export CUDAHOSTCXX="$CXX"
fi
- |
if [[ "$USE_KOKKOS" -eq 1 ]]; then
wget -nv -O - https://github.com/kokkos/kokkos/archive/refs/tags/$KOKKOS_TAG.tar.gz | tar -zxf -
mv kokkos-$KOKKOS_TAG kokkos
mkdir kokkos/build
cd kokkos/build
KOKKOS_CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_STANDARD=${CXX_STANDARD}"
# the following line is a workaround for Kokkos issue #2652
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DCMAKE_CXX_FLAGS=-DKOKKOS_IMPL_TURN_OFF_CUDA_HOST_INIT_CHECK"
if [[ "$USE_OPENMP" -eq 1 ]]; then
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ENABLE_OPENMP=ON"
else
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ENABLE_SERIAL=ON"
fi
if [[ "$SHARED_OBJECTS" -eq 1 ]]; then
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DBUILD_SHARED_LIBS=ON"
fi
if [[ "$USE_CUDA" -eq 1 ]]; then
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_ENABLE_CUDA=ON -DKokkos_ENABLE_CUDA_LAMBDA=ON -DKokkos_ENABLE_CUDA_UVM=OFF"
# Force Kokkos build to always use the nvcc wrapper (even for clang)
# This allows kokkos to build SASS and PTX in a forward compatible way,
# allowing older toolkits to work on newer GPUs in CI
# This still requires a patch to Kokkos, coming in 4.0:
# https://github.com/kokkos/kokkos/pull/5527
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DCMAKE_CXX_COMPILER=$(realpath ../bin)/nvcc_wrapper"
export NVCC_WRAPPER_DEFAULT_COMPILER="$CXX"
#KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DKokkos_CUDA_DIR=${CUDA}"
# kokkos expects (the right) nvcc to be in the path, both for toolkit
# detection as well as for nvcc_wrapper (if used)
PATH=$PATH:${CUDA}/bin
else
KOKKOS_CMAKE_OPTS="$KOKKOS_CMAKE_OPTS -DCMAKE_CXX_COMPILER=$CXX"
fi
echo cmake $KOKKOS_CMAKE_OPTS ..
cmake $KOKKOS_CMAKE_OPTS ..
make -j$THREADS install
cd ../..
# tell cmake where to find the Kokkos install
export Kokkos_DIR=`pwd`/kokkos/install
wget -nv -O - https://github.com/kokkos/kokkos-kernels/archive/refs/tags/$KOKKOS_TAG.tar.gz | tar -zxf -
mv kokkos-kernels-$KOKKOS_TAG kokkos-kernels
# now build kokkos-kernels
mkdir kokkos-kernels/build
cd kokkos-kernels/build
KKERNELS_CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=../install -DCMAKE_CXX_STANDARD=${CXX_STANDARD}"
# FIXME (Wei): disable sparse for now because it does not compile
KKERNELS_CMAKE_OPTS="$KKERNELS_CMAKE_OPTS -DCMAKE_CXX_COMPILER=${KOKKOS_CXX_COMPILER} -DKokkosKernels_ENABLE_ALL_COMPONENTS=OFF -DKokkosKernels_ENABLE_COMPONENT_BLAS=ON -DKokkosKernels_ENABLE_COMPONENT_SPARSE=OFF"
if [[ "$SHARED_OBJECTS" -eq 1 ]]; then
KKERNELS_CMAKE_OPTS="$KKERNELS_CMAKE_OPTS -DBUILD_SHARED_LIBS=ON"
fi
echo cmake $KKERNELS_CMAKE_OPTS ..
cmake $KKERNELS_CMAKE_OPTS ..
make -j$THREADS install
cd ../..
# tell cmake where to find the Kokkos install
export KokkosKernels_DIR=`pwd`/kokkos-kernels/install
# enable WAR for: https://github.com/kokkos/kokkos-kernels/issues/757
export REALM_DEFAULT_ARGS="-cuda:nongpusync 0"
if [[ "$USE_CUDA" -eq 1 ]]; then
# There are warnings when compiling kokkos_interop.cc, so disable WARN_AS_ERROR
export WARN_AS_ERROR=0
fi
fi
###
### Tags
###
.linux: &linux
tags:
- linux
.macos: &macos
tags:
- macos
# For MSVC-in-wine tests:
.msvc_wine: &msvc_wine
tags:
- linux
- msvc_wine
# For compute-heavy tests:
.linux_compute: &linux_compute
tags:
- linux
- compute
# For tests that require AVX:
.linux_avx: &linux_avx
tags:
- linux
- avx
# For CUDA tests, always use a CUDA-capable machine:
.nvidia: &nvidia
tags:
- nvidia
.cuda_base: &cuda_base
IS_NVIDIA_JOB: "1"
USE_CUDA: "1"
# docker puts both 32 and 64 bit libcuda.so's in LD_LIBRARY_PATH, but that confuses Kokkos's cmake
LD_LIBRARY_PATH: "/usr/local/nvidia/lib64"
.cuda117: &cuda117
<<: *cuda_base
CUDA: "/usr/local/cuda-11.7"
CUDA_TOOLKIT_ROOT: "$CUDA"
CUDA_HOME: "$CUDA"
USE_NVTX: "1"
.cuda121: &cuda121
<<: *cuda_base
CUDA: "/usr/local/cuda-12.1"
CUDA_TOOLKIT_ROOT: "$CUDA"
CUDA_HOME: "$CUDA"
USE_NVTX: "1"
.cuda125: &cuda125
<<: *cuda_base
CUDA: "/usr/local/cuda-12.5"
CUDA_TOOLKIT_ROOT: "$CUDA"
CUDA_HOME: "$CUDA"
USE_NVTX: "1"
###
### Docker Image
###
# Each job will run in a fresh container with this image.
.image_2004: &image_2004
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-20.04:231213
.image_2204: &image_2204
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-22.04:231213
# FIXME (Elliott): I can't get this job to work in the new 22.04 image, so just leave the old image for now
.image_kokkos_openmp: &image_kokkos_openmp
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-20.04:210923
.image_hpcsdk: &image_hpcsdk
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-hpcsdk:231213
.image_icc: &image_icc
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-icc:231213
.image_msvc169: &image_msvc169
image: registry.gitlab.com/stanfordlegion/legion/gitlab-ci-msvc
###
### Tests
###
# rules for which jobs will run
.test_rules: &test_rules
rules:
# some jobs are tagged and can only run on certain hardware - a CI variable
# is used to enable these jobs in case that hardware is offline
- if: '$IS_NVIDIA_JOB == "1" && $RUN_P100_JOBS != "1"'
when: never
# some scheduled runs are only looking at specific subsets of functionality
- if: '$ONLY_KOKKOS_JOBS == "1" && $USE_KOKKOS != "1"'
when: never
# Do not automatically run a push branch pipeline if there is an open merge request
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"'
when: never
# commits only run a short suite of jobs
- if: '$CI_PIPELINE_SOURCE =~ "push|merge_request_event" && $IS_SHORT_JOB != "1"'
when: never
# if none of the above exclusions apply, run the job
- when: always
.short: &short
IS_SHORT_JOB: "1"
# Each job will run this set of tests.
.tests: &tests
<<: *test_rules
script:
- ./tools/add_github_host_key.sh
- grep 'model name' /proc/cpuinfo | uniq -c || true
- which $CXX
- $CXX --version
- |
if [[ "$USE_DEFCHECK" -eq 1 ]]; then
export DEFCHECK_CXX="${CXX}"
export CXX=`pwd`/tools/cxx_defcheck
# if we're using MPI, make sure mpicxx uses the right compiler too
export OMPI_CXX=`pwd`/tools/cxx_defcheck
export MPICH_CXX=`pwd`/tools/cxx_defcheck
fi
- free || true
- |
if [[ -z "$TEST_PYTHON_EXE" ]]; then
export TEST_PYTHON_EXE=`which python3 python | head -1`
fi
- |
if [[ "$USE_CCACHE" -eq 1 ]]; then
export EXTRA_CMAKE_ARGS="${EXTRA_CMAKE_ARGS} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache"
fi
- |
if [[ -n "$CXX_STANDARD" ]]; then
export EXTRA_CMAKE_ARGS="${EXTRA_CMAKE_ARGS} -DCMAKE_CXX_STANDARD=${CXX_STANDARD} -DCMAKE_CUDA_STANDARD=${CXX_STANDARD}"
fi
- $TEST_PYTHON_EXE ./test.py --tmp-dir ${CI_PROJECT_DIR}/tmp-build
- |
if [[ "$USE_CCACHE" -eq 1 ]]; then
ccache --show-stats
fi
artifacts:
name: "$CI_JOB_NAME"
when: always
paths:
- language/test_output/
# retry:
# max: 0
# when:
# - runner_system_failure
# - unknown_failure
# Some additional tests are only run on certain configurations.
.external_tests: &external_tests
<<: *test_rules
script:
- ./tools/add_github_host_key.sh
- |
if [[ -n $GITLAB_DEPLOY_KEY ]]; then
eval $(ssh-agent -s)
ssh-add <(echo "$GITLAB_DEPLOY_KEY")
fi
- unset USE_DEFCHECK
- |
if [[ -z "$TEST_PYTHON_EXE" ]]; then
export TEST_PYTHON_EXE=`which python3 python | head -1`
fi
- $TEST_PYTHON_EXE ./test.py $TEST_PY_ARGS --tmp-dir ${CI_PROJECT_DIR}/tmp
retry:
max: 0
when:
- runner_system_failure
- unknown_failure
# testing MSVC builds is kinda hacky right now - not supported by test.py
.msvc_tests: &msvc_tests
<<: *test_rules
script:
- pwd
- ln -s `pwd` /home/wine/.wine/drive_c/repo
- cd /home/wine/.wine/drive_c
- su wine -c "wine64 cmd /c 'x64.bat && cmake -G Ninja -S repo -B build -DLegion_BUILD_REALM_ONLY=ON -DLegion_BUILD_REALM_TESTS=ON -DLegion_ENABLE_TESTING=ON'"
- "# wine doesn't seem to cope with concurrent file access, so use a serial build"
- su wine -c "wine64 cmd /c 'x64.bat && cmake --build build -- -j1'"
- su wine -c "wine64 cmd /c 'x64.bat && set PATH=C:\\Tools\\VS2019\\VC\\Redist\\MSVC\\14.28.29910\\debug_nonredist\\x64\\Microsoft.VC142.DebugCRT;C:\\Tools\\SDK\\10\\bin\\10.0.18362.0\\x64\\ucrt;%PATH% && cd build && ctest --output-on-failure'"
- echo OK
# use a custom script for running Realm tests with sanitizers
.realm_sanitizer_tests: &realm_sanitizer_tests
<<: *test_rules
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=${SANITIZER_TYPE} -DLegion_BUILD_REALM_ONLY=ON -DLegion_BUILD_REALM_TESTS=ON -DLegion_ENABLE_TESTING=ON -DLegion_BACKTRACE_USE_LIBDW=ON ..
- make -j8
- ctest --output-on-failure .
- echo OK
.realm_clang_format: &realm_clang_format
script:
- apt update -qq -yy && apt install -qq -yy clang-format-14
- git diff -U0 --no-color ${CI_MERGE_REQUEST_DIFF_BASE_SHA} -- '**realm/*.cc' '**realm/*.h' | clang-format-diff-14 -p1 2>&1 > /tmp/not-formatted.diff
- |
if grep -q '[^[:space:]]' /tmp/not-formatted.diff; then
echo 'Code is not formatted'
echo 'Run clang-format-diff on your changes to fix these:'
echo " git diff -U0 --no-color origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} -- '**realm/*.cc' '**realm/*.h' | clang-format-diff-14 -p1 -i"
echo "Diff formatting result:"
cat /tmp/not-formatted.diff
exit 1
fi
# For performance tests, run these commands:
.perf_tests: &perf_tests
script:
- ./tools/add_github_host_key.sh
- |
if [[ -n $GITLAB_DEPLOY_KEY ]]; then
eval $(ssh-agent -s)
ssh-add <(echo "$GITLAB_DEPLOY_KEY")
fi
- git config --global user.name "Legion Testing Automation"
- git config --global user.email "[email protected]"
- export PERF_MIN_NODES=1
- export PERF_MAX_NODES=1
- $TEST_PYTHON_EXE ./test.py --test=perf --tmp-dir ${CI_PROJECT_DIR}/tmp
retry:
max: 0
when:
- runner_system_failure
- unknown_failure
###
### Jobs
###
# Each item below defines a job.
# There are two tiers of tests.
# 1. Full test suite (small number of compilers).
# 2. Minimal test suite (other compilers).
# Run the full test suite on GCC 9 and Clang 12.
# Linux with GCC 9
# * Basic configurations
# * Release
gcc9_cxx17_release_legion_fortran:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *legion, *fortran, *libdw]
gcc9_cxx17_release_llvm_cmake_regent_pretty:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *llvm, *llvm12, *cmake, *regent_pretty, *incremental, *short, *shared]
# * Debug (Privilege and Bounds Checks)
gcc9_cxx17_debug_checks_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *checks, *legion, *libdw]
# * Spy
gcc9_cxx17_debug_spy_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *spy, *legion, *libdw]
gcc9_cxx17_debug_spy_python3_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *spy, *python3, *regent, *parallel, *libdw]
# * Prof
gcc9_cxx17_release_prof_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *prof, *regent, *parallel, *libdw]
# * higher dimension support (5-D)
gcc9_cxx17_release_maxdim5_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *maxdim5, *regent, *parallel, *libdw]
gcc9_cxx17_release_maxdim5_regent_pretty:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *maxdim5, *regent_pretty, *parallel, *libdw]
# * Features: one test per feature
# * OpenMP
gcc9_cxx17_debug_openmp_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *openmp, *legion, *libdw]
gcc9_cxx17_debug_openmp_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *openmp, *regent, *libdw]
gcc9_cxx17_debug_openmp_system_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *openmp, *openmp_system, *regent, *libdw, *short]
# * Python
gcc9_cxx17_debug_python3_cmake_prof_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *python3, *cmake, *legion, *ctest, *realm_unit_ctest, *prof, *shared, *short]
# * LLVM
gcc9_cxx17_debug_llvm_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *cmake, *legion, *ctest, *realm_unit_ctest, *shared, *libdw]
gcc9_cxx17_debug_llvm_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *regent, *libdw]
# * HDF5
gcc9_cxx17_debug_hdf5_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *cmake, *legion, *ctest, *libdw]
gcc9_cxx17_debug_hdf5_regent_pretty:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *regent_pretty, *libdw]
# * GASNet-1 (legacy API)
gcc9_cxx17_release_gasnet1_mpi_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnet1_mpi, *legion, *libdw]
gcc9_cxx17_debug_gasnet1_mpi_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnet1_mpi, *cmake, *legion, *ctest, *shared, *libdw]
gcc9_cxx17_debug_gasnet1_mpi_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnet1_mpi, *regent, *incremental, *libdw]
# * Embedded GASNet builds (local and remote, static and shared)
gcc9_cxx17_release_gasnet1_mpi_embedlocal_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnet1_mpi, *gasnet_embed_local, *cmake, *ctest, *legion, *shared, *libdw]
gcc9_cxx17_release_gasnet1_mpi_embedremote_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnet1_mpi, *gasnet_embed_remote, *cmake, *ctest, *legion, *shared, *libdw]
gcc9_cxx17_release_shared_gasnet1_mpi_embedlocal_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *shared, *cxx17_normal, *gasnet1_mpi, *gasnet_embed_local, *cmake, *ctest, *legion, *shared, *libdw]
gcc9_cxx17_release_shared_gasnet1_mpi_embedremote_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *shared, *cxx17_normal, *gasnet1_mpi, *gasnet_embed_remote, *cmake, *ctest, *legion, *shared, *libdw]
# * GASNet-EX (native API, 2020.11.0+)
gcc9_cxx17_release_gasnetex_mpi_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnetex_mpi, *legion, *libdw]
gcc9_cxx17_debug_gasnetex_mpi_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnetex_mpi, *gasnetex_wrapper, *cmake, *legion, *ctest, *short, *shared, *libdw]
gcc9_cxx17_debug_gasnetex_mpi_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnetex_mpi, *regent, *incremental, *short, *libdw]
gcc9_cxx17_debug_gasnetex_mpi_debug_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnetex_mpi_debug, *regent, *incremental, *libdw]
gcc9_cxx17_debug_gasnetex_mpi_stable_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnetex_mpi_stable, *regent, *incremental, *libdw]
# * GASNet (UCX conduit)
gcc9_cxx17_release_gasnet1_ucx_legion:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnet1_ucx, *legion, *libdw]
gcc9_cxx17_release_gasnet1_ucx_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnet1_ucx, *cmake, *legion, *ctest, *shared, *short, *libdw]
gcc9_cxx17_release_gasnet1_ucx_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnet1_ucx, *regent, *incremental, *libdw]
gcc9_cxx17_release_gasnetex_ucx_legion:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnetex_ucx, *legion, *libdw]
gcc9_cxx17_debug_gasnetex_ucx_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnetex_ucx, *gasnetex_wrapper, *cmake, *legion, *ctest, *shared, *libdw]
gcc9_cxx17_release_gasnetex_ucx_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *gasnetex_ucx, *regent, *incremental, *short, *libdw]
# * MPI and multi-node legion prof
gcc9_cxx17_release_mpi_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *mpi, *legion, *libdw]
gcc9_cxx17_debug_mpi_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *mpi, *cmake, *legion, *ctest, *shared, *libdw]
gcc9_cxx17_release_mpi_prof_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *mpi, *regent, *incremental, *prof, *short, *libdw]
# * UCX
gcc9_cxx17_release_ucx_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_normal, *ucx, *legion, *libdw]
gcc9_cxx17_debug_ucx_dynamic_cmake_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *ucx, *ucx_dynamic, *cmake, *legion, *ctest, *short, *libdw]
gcc9_cxx17_debug_ucx_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *ucx, *regent, *incremental, *libdw]
# * Integration: Python + Regent
gcc9_cxx17_debug_python3_regent:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *python3, *regent, *libdw]
# * Integration: LLVM + GASNet
gcc9_cxx17_debug_llvm_gasnetex_mpi_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *gasnetex_mpi, *legion, *libdw]
gcc9_cxx17_debug_llvm_gasnetex_mpi_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *gasnetex_mpi, *regent, *incremental, *libdw]
# * Integration: LLVM + MPI
gcc9_cxx17_debug_llvm_mpi_legion:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *mpi, *legion, *libdw]
gcc9_cxx17_debug_llvm_mpi_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *mpi, *regent, *incremental, *libdw]
# * Integration: LLVM + UCX
#gcc9_cxx17_debug_llvm_ucx_legion:
# <<: [*linux_compute, *image_2004, *tests]
# variables:
# <<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *ucx, *legion]
#gcc9_cxx17_debug_llvm_ucx_regent:
# <<: [*linux_compute, *image_2004, *tests]
# variables:
# <<: [*gcc9, *terra12, *debug, *cxx17_normal, *llvm, *llvm12, *ucx, *regent, *incremental]
# * Integration: HDF5 + GASNet
gcc9_cxx17_debug_hdf5_gasnetex_mpi_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *gasnetex_mpi, *legion, *libdw]
gcc9_cxx17_debug_hdf5_gasnetex_mpi_regent:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *gasnetex_mpi, *regent, *libdw]
# * Integration: HDF5 + MPI
gcc9_cxx17_debug_hdf5_mpi_legion:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *mpi, *legion, *libdw]
gcc9_cxx17_debug_hdf5_mpi_regent:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *mpi, *regent, *libdw]
# * Integration: HDF5 + UCX
#gcc9_cxx17_debug_hdf5_ucx_legion:
# <<: [*linux_compute, *image_2004, *tests]
# variables:
# <<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *ucx, *legion]
#gcc9_cxx17_debug_hdf5_ucx_regent:
# <<: [*linux, *image_2004, *tests]
# variables:
# <<: [*gcc9, *terra12, *debug, *cxx17_normal, *hdf5, *ucx, *regent]
# Multi-node Legion Spy
gcc9_cxx17_debug_spy_gasnet1_mpi_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *cxx17_normal, *spy, *gasnet1_mpi, *regent, *short, *libdw]
gcc9_cxx17_debug_spy_mpi_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *cxx17_normal, *spy, *mpi, *regent, *libdw]
#gcc9_cxx17_debug_spy_ucx_regent:
# <<: [*linux_compute, *image_2004, *tests]
# variables:
# <<: [*gcc9, *terra12, *cxx17_normal, *spy, *ucx, *regent]
# * Different architectures
gcc9_cxx17_32bit_debug_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_32bit_normal, *legion]
gcc9_cxx17_32bit_release_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *release, *cxx17_32bit_normal, *legion]
# * External tests
gcc9_cxx17_debug_external1:
<<: [*linux_compute, *image_2004, *external_tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *openmp, *hdf5, *external1, *short, *libdw]
gcc9_cxx17_debug_maxdim4_external2:
<<: [*linux_compute, *image_2004, *external_tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_external, *maxdim4, *openmp, *hdf5, *external2, *short, *libdw]
gcc9_cxx17_debug_private:
<<: [*linux_compute, *image_2004, *external_tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *openmp, *hdf5, *private, *short, *libdw]
# * Test multi-node remote mapping without control replication in Regent
gcc9_cxx17_debug_gasnetex_mpi_regent_nocr:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*gcc9, *terra12, *debug, *cxx17_normal, *gasnetex_mpi, *regent, *incremental, *libdw, *nocr]
# Linux with Clang 12
# * Basic configurations
# * Release
clang12_cxx17_release_legion_fortran:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *release, *cxx17_normal, *legion, *fortran, *libdw]
clang12_cxx17_release_llvm_cmake_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *release, *cxx17_normal, *llvm, *llvm12, *cmake, *regent, *incremental, *libdw]
# * Debug (Privilege and Bounds Checks)
clang12_cxx17_debug_checks_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *debug, *cxx17_normal, *checks, *legion, *libdw]
# * Spy
clang12_cxx17_debug_spy_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *debug, *cxx17_normal, *spy, *legion, *libdw]
clang12_cxx17_debug_spy_python3_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *debug, *cxx17_normal, *spy, *python3, *regent, *parallel, *short]
# * Prof
clang12_cxx17_release_prof_regent:
<<: [*linux_compute, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *release, *cxx17_normal, *prof, *regent, *parallel, *short]
# * Features: one test per feature
# * OpenMP
clang12_cxx17_debug_openmp_legion:
<<: [*linux, *image_2004, *tests]
variables:
<<: [*clang12, *terra12, *debug, *cxx17_normal, *openmp, *legion, *libdw]
clang12_cxx17_debug_openmp_regent:
<<: [*linux_compute, *image_2004, *tests]
variables: