Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
5d1931f
Update shared ci, spack configs and specs in the CI
adrienbernede Feb 10, 2023
d567b2e
Missing cuda flag, removed superfluous flag
adrienbernede Feb 10, 2023
6f57a16
Naive attempt at updating googletest in BLT
adrienbernede Feb 10, 2023
f3d7228
Revert "Naive attempt at updating googletest in BLT"
adrienbernede Feb 21, 2023
d7a6061
Merge branch 'develop' into woptim/specs-renewal
adrienbernede Feb 21, 2023
4bc94a3
Update radiuss-spack-configs with latest changes
adrienbernede Feb 21, 2023
9335894
Update BLT to work around failures
adrienbernede Feb 21, 2023
dcf35cd
Fix typo
adrienbernede Feb 21, 2023
d389580
Update BLT
adrienbernede Feb 22, 2023
da4ae10
Fix typo
adrienbernede Feb 22, 2023
e75eabc
Apply patches in googletest
adrienbernede Feb 28, 2023
6bf185c
Update radiuss-spack-configs
adrienbernede Feb 28, 2023
939ed7b
Update compiler name in CI specs
adrienbernede Feb 28, 2023
0492afa
Update spack
adrienbernede Feb 28, 2023
b8b3f2f
Fix rocmcc version on tioga
adrienbernede Mar 1, 2023
f8bd832
Revert BLT changes to be on par with RAJA
adrienbernede Mar 2, 2023
55ed111
Revert hack working around spack issues with long compiler versions
adrienbernede Mar 2, 2023
f9c6da1
Applying BLT with latest google test to all CI targets (previous fix …
adrienbernede Mar 2, 2023
2a16311
Add clang@14 + gcc@8.3.1
adrienbernede Mar 2, 2023
e609897
Add clang@14 + gcc@8.3.1
adrienbernede Mar 2, 2023
bcfebdc
Correct job names
adrienbernede Mar 2, 2023
ab8a2c2
Exclusive shared allocations
adrienbernede Mar 2, 2023
b7b7e5b
Refine list on c++ compilers using gcc toolchain
adrienbernede Mar 2, 2023
3b7b1f9
Use compilers with gcc@8.3.1 toolchain
adrienbernede Mar 13, 2023
784d3ce
Update RADIUSS Spack Configs with added logic for libcpp
adrienbernede Mar 13, 2023
5d43ab0
libcpp flags are now treated at package level
adrienbernede Mar 13, 2023
bb98a13
Use compilers with gcc@8.3.1 toolchain
adrienbernede Mar 13, 2023
e0a4659
Update googletest again
adrienbernede Mar 14, 2023
8d61dc3
Update BLT again
adrienbernede Mar 14, 2023
8d320e7
Update BLT again
adrienbernede Mar 14, 2023
df2f3fe
Update RADIUSS Spack configs to "main"
adrienbernede Apr 5, 2023
9fa3cfa
RADIUSS-Spack-Configs@main
adrienbernede Apr 6, 2023
00af177
Getting rid of pgi targets
adrienbernede Apr 7, 2023
797f0cc
Merge branch 'develop' into woptim/specs-renewal
adrienbernede Apr 7, 2023
2a2d258
Add support for a module list to load in the gitlab build_and_test sc…
adrienbernede Apr 12, 2023
be23485
Set cuda module list in extra CI jobs
adrienbernede Apr 12, 2023
404eea6
Check machine availability at parent pipeline level
adrienbernede Apr 12, 2023
cd95354
Check machine availability at parent pipeline level (missing changes)
adrienbernede Apr 12, 2023
bd7bf7e
Attempt to fix jq command syntax
adrienbernede Apr 12, 2023
0f4637f
Compact notation
adrienbernede Apr 12, 2023
c6c9d9b
Minor
adrienbernede Apr 12, 2023
9ac82ba
Merge branch 'woptim/central-machine-check' into woptim/specs-renewal
adrienbernede Apr 12, 2023
22dd09c
Make suballocation exclusive to avoid file handle issue
adrienbernede Apr 12, 2023
12a5835
Explicitly use oneapi 2022.2, update shared CI
adrienbernede Apr 12, 2023
f87a21c
Update to latest BLT with latest googletest and fixes
adrienbernede Apr 14, 2023
2e9c789
Fix typo
adrienbernede Apr 14, 2023
f88a621
Try another BLT commit
adrienbernede Apr 16, 2023
08e2d8d
Try another BLT commit in submodule
adrienbernede Apr 16, 2023
72fc50d
Try another BLT commit
adrienbernede Apr 18, 2023
15260a5
Update intelonapi gcc path
adrienbernede Apr 18, 2023
c5e2013
Test a job with intel oneapi + gcc
adrienbernede Apr 20, 2023
735ca9a
Try latest oneapi
adrienbernede Apr 20, 2023
97bdbb0
Update radiuss-spack-configs to fix cce on tioga
adrienbernede Apr 20, 2023
6aac455
Update radiuss-spack-configs to fix a typo
adrienbernede Apr 20, 2023
01f5a89
Improved package syntax + test lib path
adrienbernede Apr 20, 2023
d74ed3b
Clean up
adrienbernede Apr 20, 2023
9ef802b
Fix: use os.path.join
adrienbernede Apr 20, 2023
e769b7e
Merge branch 'develop' into woptim/specs-renewal
adrienbernede Apr 21, 2023
091cf5d
Update BLT to the latest commit of fix branch for test
adrienbernede Apr 25, 2023
38b55e1
Update BLT to the latest commit of fix branch for test
adrienbernede Apr 27, 2023
2c928dd
Update radiuss-spack-configs to fix oneapi flags
adrienbernede Apr 27, 2023
9566adb
Update radiuss-spack-configs to fix oneapi flags
adrienbernede Apr 27, 2023
09cf72a
Update CI and submodule with BLT@develop
adrienbernede Apr 28, 2023
a086943
Update radiuss-spack-configs: no need to specify blt version
adrienbernede Apr 28, 2023
ab05752
Allow failure for oneapi job
adrienbernede Apr 28, 2023
e11808d
New device_alloc policy:
adrienbernede May 2, 2023
9686cb5
override the cce job to deactivate device alloc with that compiler
adrienbernede May 2, 2023
ea50090
Attempt at fixing sanitizer_test_runner for python3
adrienbernede May 2, 2023
4aff245
Another possible fix
adrienbernede May 2, 2023
e2d077a
Hack to possibly work arround file handle issues on tioga
adrienbernede May 2, 2023
8ea899e
Update radiuss-spack-configs with latest raja version
adrienbernede May 2, 2023
947436f
Set coronal flux to start with delay too
adrienbernede May 2, 2023
1cee7cc
Remove libcpp variant from umpire, using flags instead
adrienbernede May 4, 2023
20ae589
Update radiuss-spack-configs to new main branch
adrienbernede May 4, 2023
1ef2ec6
Update radiuss-spack-configs to new main commit
adrienbernede May 4, 2023
5506885
Revert change in radiuss-spack-configs
adrienbernede May 18, 2023
7546b65
update specs after update of ruby to rhel8
adrienbernede May 22, 2023
8283fda
Update radiuss-spack-configs to add compiler
adrienbernede May 22, 2023
13c7a25
Update radiuss spack configs with changes from caliper
adrienbernede May 25, 2023
17eb2ef
Update radiuss spack configs with fix for intel+gcc compiler
adrienbernede May 25, 2023
b94f809
on Ruby intel either needs its module, or gcc@8.x to be set
adrienbernede May 25, 2023
3337620
Update radiuss spack configs with added gcc@8.5.0
adrienbernede May 25, 2023
4df4a87
Fix gcc 8.5.0 path
adrienbernede May 25, 2023
9ee94f2
Merge radiuss-spack-configs and radiuss-shared-ci
adrienbernede May 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ variables:

# High level stages
stages:
- machine-checks
- build-and-test
- multi-project #TODO unused so far
- radiuss-spack-testing #TODO unused so far
Expand All @@ -58,7 +59,7 @@ stages:
include:
- local: '.gitlab/custom-jobs-and-variables.yml'
- project: 'radiuss/radiuss-shared-ci'
ref: v2023.03.0rc
ref: v2023.03.1
file: '${CI_MACHINE}-build-and-test.yml'
- local: '.gitlab/${CI_MACHINE}-build-and-test-extra.yml'
strategy: depend
Expand All @@ -68,7 +69,7 @@ stages:
include:
# [Optional] checks preliminary to running the actual CI test
#- project: 'radiuss/radiuss-shared-ci'
# ref: v2023.03.0rc
# ref: v2023.03.1
# file: 'preliminary-ignore-draft-pr.yml'
# pipelines subscribed by the project
- local: .gitlab/subscribed-pipelines.yml
4 changes: 2 additions & 2 deletions .gitlab/corona-build-and-test-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
# This job intentionally tests our umpire package.py because although this job does not
# explicitly have the ~tools, the package.py should still disable tools from being built.
###
rocmcc_5_4_1_hip_openmp:
rocmcc_5_4_1_hip_openmp_device_alloc:
variables:
SPEC: "~shared +fortran +openmp +rocm +device_alloc tests=basic amdgpu_target=gfx906 %rocmcc@5.4.1 ^hip@5.4.1 ^blt@develop"
SPEC: "~shared +fortran +openmp +rocm +device_alloc tests=basic amdgpu_target=gfx906 %rocmcc@5.4.1 ^hip@5.4.1"
extends: .build_and_test_on_corona

16 changes: 8 additions & 8 deletions .gitlab/custom-jobs-and-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,36 @@ variables:
# Arguments for job level allocation
RUBY_BUILD_AND_TEST_JOB_ALLOC: "--overlap --reservation=ci --qos=ci_ruby --time=10 --nodes=1"
# Project specific variants for ruby
PROJECT_RUBY_VARIANTS: "~shared +fortran ~device_alloc +tools tests=basic "
PROJECT_RUBY_VARIANTS: "~shared +fortran +tools tests=basic "
# Project specific deps for ruby
PROJECT_RUBY_DEPS: ""

# Corona
# Arguments for top level allocation
CORONA_BUILD_AND_TEST_SHARED_ALLOC: "--exclusive --time-limit=15m --nodes=1"
# Arguments for job level allocation
CORONA_BUILD_AND_TEST_JOB_ALLOC: "--time-limit=10m --nodes=1"
CORONA_BUILD_AND_TEST_JOB_ALLOC: "--time-limit=10m --nodes=1 --begin-time=+5s"
# Project specific variants for corona
PROJECT_CORONA_VARIANTS: "~shared +fortran ~device_alloc tests=basic "
PROJECT_CORONA_VARIANTS: "~shared +fortran +device_alloc tests=basic "
# Project specific deps for corona
PROJECT_CORONA_DEPS: "^blt@develop"
PROJECT_CORONA_DEPS: ""

# Tioga
# Arguments for top level allocation
TIOGA_BUILD_AND_TEST_SHARED_ALLOC: "--exclusive --time-limit=15m --nodes=1"
# Arguments for job level allocation
TIOGA_BUILD_AND_TEST_JOB_ALLOC: "--time-limit=10m --nodes=1"
TIOGA_BUILD_AND_TEST_JOB_ALLOC: "--time-limit=10m --nodes=1 --begin-time=+5s"
# Project specific variants for tioga
PROJECT_TIOGA_VARIANTS: "~shared +fortran ~device_alloc tests=basic "
PROJECT_TIOGA_VARIANTS: "~shared +fortran +device_alloc tests=basic "
# Project specific deps for tioga
PROJECT_TIOGA_DEPS: "^blt@develop"
PROJECT_TIOGA_DEPS: ""

# Lassen and Butte use a different job scheduler (spectrum lsf) that does not
# allow pre-allocation the same way slurm does.
# Arguments for job level allocation
LASSEN_BUILD_AND_TEST_JOB_ALLOC: "1 -W 18"
# Project specific variants for lassen
PROJECT_LASSEN_VARIANTS: "~shared +fortran ~device_alloc +tools tests=basic "
PROJECT_LASSEN_VARIANTS: "~shared +fortran +tools tests=basic "
# Project specific deps for lassen
PROJECT_LASSEN_DEPS: ""

Expand Down
54 changes: 25 additions & 29 deletions .gitlab/lassen-build-and-test-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
# We keep ${PROJECT_<MACHINE>_VARIANTS} and ${PROJECT_<MACHINE>_DEPS} So that
# the comparison with the original job is easier.

# Spec has test disabled in shared CI, conflicting with default test setting in Umpire
# TODO: This is likely an issue in RADIUSS Shared CI: why disable tests ?.
xl_16_1_1_12_gcc_8_3_1_cuda_11_0_2:
variables:
SPEC: "~shared +fortran ~device_alloc +tools +cuda tests=none %xl@16.1.1.12 cxxflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1\" cflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1\" ^cuda@11.0.2 ${PROJECT_LASSEN_DEPS}"
extends: .build_and_test_on_lassen


############
# Extra jobs
Expand All @@ -27,30 +20,30 @@ xl_16_1_1_12_gcc_8_3_1_cuda_11_0_2:
# ${PROJECT_<MACHINE>_DEPS} in the extra jobs. There is no reason not to fully
# describe the spec here.

ibm_clang_10_0_1_mpi_shmem:
ibm_clang_14_0_5_mpi_shmem:
variables:
SPEC: "~shared ~device_alloc +tools tests=basic %clang@ibm.10.0.1 +ipc_shmem +mpi ^spectrum-mpi"
SPEC: "~shared +tools tests=basic +ipc_shmem +mpi %clang@14.0.5.ibm.gcc.8.3.1 ^spectrum-mpi"
extends: .build_and_test_on_lassen

ibm_clang_10_0_1_mpi:
ibm_clang_14_0_5_mpi:
variables:
SPEC: "~shared +fortran ~device_alloc +tools tests=basic %clang@ibm.10.0.1 +mpi ^spectrum-mpi"
SPEC: "~shared +fortran +tools +mpi tests=basic %clang@14.0.5.ibm.gcc.8.3.1 ^spectrum-mpi"
extends: .build_and_test_on_lassen

ibm_clang_10_0_1_cuda_10_1_168_mpi_shmem:
ibm_clang_14_0_5_gcc_8_3_1_cuda_11_7_0_mpi_shmem:
variables:
SPEC: "~shared ~device_alloc +tools tests=basic %clang@ibm.10.0.1 +cuda +ipc_shmem +mpi cxxflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1\" cflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1\" ^spectrum-mpi ^cuda@10.1.168"
SPEC: "~shared +tools +cuda +ipc_shmem +mpi tests=basic %clang@14.0.5.ibm.gcc.8.3.1 ^spectrum-mpi ^cuda@11.7.0+allow-unsupported-compilers"
MODULE_LIST: "cuda/11.7.0"
extends: .build_and_test_on_lassen

# Extras.
clang_9_0_0_libcpp:
clang_12_0_1_libcpp:
variables:
SPEC: "~shared ~device_alloc +tools tests=basic %clang@9.0.0+libcpp cxxflags==\"-stdlib=libc++ -DGTEST_HAS_CXXABI_H_=0\" cflags==\"-DGTEST_HAS_CXXABI_H_=0\""
SPEC: "~shared +tools tests=basic %clang@12.0.1 cflags==\"-DGTEST_HAS_CXXABI_H_=0\" cxxflags==\"-stdlib=libc++ -DGTEST_HAS_CXXABI_H_=0\""
extends: .build_and_test_on_lassen

clang_9_0_0_memleak:
clang_12_0_1_gcc_8_3_1_memleak:
variables:
SPEC: "~shared +asan +sanitizer_tests +tools ~device_alloc tests=basic %clang@9.0.0 cxxflags==-fsanitize=address"
SPEC: "~shared +asan +sanitizer_tests +tools tests=basic %clang@12.0.1.gcc.8.3.1 cxxflags==-fsanitize=address"
ASAN_OPTIONS: "detect_leaks=1"
extends: .build_and_test_on_lassen

Expand All @@ -62,38 +55,41 @@ clang_9_0_0_memleak:

gcc_8_3_1_dev_benchmarks:
variables:
SPEC: "~shared +dev_benchmarks +tools ~device_alloc %gcc@8.3.1 build_type=Release"
SPEC: "~shared +dev_benchmarks +tools build_type=Release %gcc@8.3.1"
extends: .build_and_test_on_lassen

xl_default_omp_target:
xl_2022_08_19_default_omp_target:
variables:
SPEC: "~shared ~device_alloc +tools tests=basic %xl@default+openmp+openmp_target"
SPEC: "~shared +tools +openmp +openmp_target tests=basic %xl@16.1.1.12"
allow_failure: true
extends: .build_and_test_on_lassen

gcc_8_3_1_numa:
variables:
SPEC: "~shared +fortran +numa +tools ~device_alloc tests=basic %gcc@8.3.1"
SPEC: "~shared +fortran +numa +tools tests=basic %gcc@8.3.1"
extends: .build_and_test_on_lassen

gcc_8_3_1_cuda_10_1_168:
gcc_8_3_1_cuda_11_7_0:
variables:
SPEC: "+fortran +cuda +tools +backtrace ~device_alloc tests=basic %gcc@8.3.1 ^cuda@10.1.168"
SPEC: "+fortran +cuda +tools +backtrace tests=basic %gcc@8.3.1 ^cuda@11.7.0+allow-unsupported-compilers"
MODULE_LIST: "cuda/11.7.0"
extends: .build_and_test_on_lassen

# Develop/main builds against specific tpl versions.

gcc_8_3_1_tpls:
variables:
SPEC: "~shared +fortran ~device_alloc +tools tests=basic %gcc@8.3.1 ^blt@develop"
SPEC: "~shared +fortran +tools tests=basic %gcc@8.3.1"
extends: .build_and_test_on_lassen

ibm_clang_9_0_0_gcc_8_3_1_cuda_10_1_168_tpls:
ibm_clang_14_0_5_gcc_8_3_1_cuda_11_7_0_tpls:
variables:
SPEC: "~shared +fortran +cuda ~device_alloc +tools tests=basic %clang@ibm.9.0.0 cxxflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1\" cflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1\" ^cuda@10.1.168 ^blt@develop"
SPEC: "~shared +fortran +cuda +tools tests=basic %clang@14.0.5.ibm.gcc.8.3.1 ^cuda@11.7.0+allow-unsupported-compilers"
MODULE_LIST: "cuda/11.7.0"
extends: .build_and_test_on_lassen

xl_16_1_1_12_gcc_8_3_1_cuda_10_1_168_tpls:
xl_2022_08_19_gcc_8_3_1_cuda_11_7_tpls:
variables:
SPEC: "~shared +fortran +cuda ~device_alloc +tools tests=basic %xl@16.1.1.12 cxxflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-7.3.1\" cflags==\"--gcc-toolchain=/usr/tce/packages/gcc/gcc-7.3.1\" ^cuda@10.1.168 ^blt@develop"
SPEC: "~shared +fortran +cuda +tools tests=basic %xl@16.1.1.12.gcc.8.3.1 ^cuda@11.7.0+allow-unsupported-compilers"
MODULE_LIST: "cuda/11.7.0"
extends: .build_and_test_on_lassen
34 changes: 22 additions & 12 deletions .gitlab/ruby-build-and-test-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,39 @@
# ${PROJECT_<MACHINE>_DEPS} in the extra jobs. There is not reason not to fully
# describe the spec here.

gcc_8_1_0_numa:
gcc_10_3_1_numa:
variables:
SPEC: "~shared +fortran +numa ~device_alloc +tools tests=basic %gcc@8.1.0"
SPEC: "~shared +fortran +numa +tools tests=basic %gcc@10.3.1"
extends: .build_and_test_on_ruby

clang_10_0_1_sqlite_experimental:
clang_14_0_6_gcc_10_3_1_sqlite_experimental:
variables:
SPEC: "~shared +sqlite_experimental ~device_alloc +tools tests=basic %clang@10.0.1"
SPEC: "~shared +sqlite_experimental +tools tests=basic %clang@14.0.6.gcc.10.3.1"
extends: .build_and_test_on_ruby

# Develop builds against specific tpl version.
pgi_20_1_gcc_local_8_3_1_tpls:
clang_14_0_6_gcc_10_3_1_tpls:
variables:
SPEC: "~shared +fortran ~device_alloc +tools tests=basic %pgi@20.1 cxxflags==\"-rc=/usr/workspace/umpire/pgi/x86_64/local-gcc-8.3.1-rc\" cflags==\"-rc=/usr/workspace/umpire/pgi/x86_64/local-gcc-8.3.1-rc\" fflags==\"-rc=/usr/workspace/umpire/pgi/x86_64/local-gcc-8.3.1-rc\" ^blt@develop"
SPEC: "~shared +fortran +tools tests=basic %clang@14.0.6.gcc.10.3.1"
extends: .build_and_test_on_ruby

clang_10_0_1_tpls:
gcc_10_3_1_tpls:
variables:
SPEC: "~shared +fortran ~device_alloc +tools tests=basic %clang@10.0.1 ^blt@develop"
SPEC: "~shared +fortran +tools tests=basic %gcc@10.3.1"
extends: .build_and_test_on_ruby

gcc_8_1_0_tpls:
variables:
SPEC: "~shared +fortran ~device_alloc +tools tests=basic %gcc@8.1.0 ^blt@develop"
extends: .build_and_test_on_ruby
# Oneapi is not available on ruby@toss4 (rhel8)
## We deactivate this job as it is known to fail with Umpire: needs gcc toolchain.
#intel_oneapi_2022_2:
# variables:
# ON_RUBY: "OFF"
# SPEC: "${PROJECT_RUBY_VARIANTS} %oneapi@2022.2 ${PROJECT_RUBY_DEPS}"
# extends: .build_and_test_on_ruby
#
#intel_oneapi_2022_2_gcc_8_3_1:
# variables:
# SPEC: "~shared +fortran +tools tests=basic %oneapi@2022.2.gcc.8.3.1"
# extends: .build_and_test_on_ruby
# allow_failure: true


54 changes: 53 additions & 1 deletion .gitlab/subscribed-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,79 @@
# SPDX-License-Identifier: (MIT)
###############################################################################

# Trigger a build-and-test pipeline for ruby, corona and lassen
# The template job to test whether a machine is up.
# Expects CI_MACHINE defined to machine name.
.machine-check:
stage: machine-checks
tags: [shell, oslic]
variables:
GIT_STRATEGY: none
script:
- |
if [[ $(jq '.[env.CI_MACHINE].total_nodes_up' /usr/global/tools/lorenz/data/loginnodeStatus) == 0 ]]
then
echo -e "\e[31mNo node available on ${CI_MACHINE}\e[0m"
curl --url "https://api.github.com/repos/${GITHUB_PROJECT_ORG}/${GITHUB_PROJECT_NAME}/statuses/${CI_COMMIT_SHA}" \
--header 'Content-Type: application/json' \
--header "authorization: Bearer ${GITHUB_TOKEN}" \
--data "{ \"state\": \"failure\", \"target_url\": \"${CI_PIPELINE_URL}\", \"description\": \"GitLab ${CI_MACHINE} down\", \"context\": \"ci/gitlab/${CI_MACHINE}\" }"
exit 1
fi

###
# Trigger a build-and-test pipeline for a machine.
# Comment the jobs for machines you don’t need.
###

# RUBY
ruby-up-check:
variables:
CI_MACHINE: "ruby"
extends: [.machine-check]

ruby-build-and-test:
variables:
CI_MACHINE: "ruby"
needs: [ruby-up-check]
extends: [.build-and-test]

# CORONA
corona-up-check:
variables:
CI_MACHINE: "corona"
extends: [.machine-check]

corona-build-and-test:
variables:
CI_MACHINE: "corona"
needs: [corona-up-check]
extends: [.build-and-test]

# TIOGA
tioga-up-check:
variables:
CI_MACHINE: "tioga"
extends: [.machine-check]

tioga-build-and-test:
variables:
CI_MACHINE: "tioga"
needs: [tioga-up-check]
extends: [.build-and-test]

# LASSEN
lassen-up-check:
variables:
CI_MACHINE: "lassen"
extends: [.machine-check]

lassen-build-and-test:
variables:
CI_MACHINE: "lassen"
needs: [lassen-up-check]
extends: [.build-and-test]


## If testing develop branch, trigger CHAI pipeline with this version of Umpire.
## TODO: Once Spack allows to clone a specific commit on demand, then point to
## the exact commit. This will prevent from sticking to a branch (here develop).
Expand Down
10 changes: 7 additions & 3 deletions .gitlab/tioga-build-and-test-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
# We keep ${PROJECT_<MACHINE>_VARIANTS} and ${PROJECT_<MACHINE>_DEPS} So that
# the comparison with the original job is easier.

# No overridden jobs so far.
# We override the cce job because we can’t use +device-alloc with it
cce_15_0_1:
variables:
SPEC: "~shared +fortran tests=basic %cce@15.0.1"
extends: .build_and_test_on_tioga

############
# Extra jobs
Expand All @@ -25,8 +29,8 @@
# This job intentionally tests our umpire package.py because although this job does not
# explicitly have the ~tools, the package.py should still disable tools from being built.
###
rocmcc_5_4_1_hip_openmp:
rocmcc_5_4_3_hip_openmp_device_alloc:
variables:
SPEC: "~shared +fortran +openmp +rocm +device_alloc tests=basic amdgpu_target=gfx90a %rocmcc@5.4.1 ^hip@5.4.1 ^blt@develop"
SPEC: "~shared +fortran +openmp +rocm +device_alloc tests=basic amdgpu_target=gfx90a %rocmcc@5.4.3 ^hip@5.4.3"
extends: .build_and_test_on_tioga

2 changes: 1 addition & 1 deletion .uberenv_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"package_final_phase" : "initconfig",
"package_source_dir" : "../..",
"spack_url": "https://github.com/spack/spack.git",
"spack_branch": "v0.19.0",
"spack_branch": "e4s-23.02",
"spack_activate" : {},
"spack_configs_path": "scripts/radiuss-spack-configs",
"spack_packages_path": "scripts/radiuss-spack-configs/packages",
Expand Down
2 changes: 1 addition & 1 deletion blt
Submodule blt updated 458 files
9 changes: 9 additions & 0 deletions scripts/gitlab/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,17 @@ project_dir="$(pwd)"
build_root=${BUILD_ROOT:-""}
hostconfig=${HOST_CONFIG:-""}
spec=${SPEC:-""}
module_list=${MODULE_LIST:-""}
job_unique_id=${CI_JOB_ID:-""}

if [[ -n ${module_list} ]]
then
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "~~~~~ Modules to load: ${module_list}"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
module load ${module_list}
fi

prefix=""

if [[ -d /dev/shm ]]
Expand Down
2 changes: 1 addition & 1 deletion tests/tools/sanitizers/sanitizer_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def run_sanitizer_test(strategy, kind):
output = test_program.stdout
error = test_program.stderr

expected_string = '{} of size 8'.format(kind.upper())
expected_string = '{} of size 8'.format(kind.upper()).encode()
check_output(error, expected_string)


Expand Down