Skip to content

Commit ef31e88

Browse files
committed
tests: exclude mvapich2 from MPI families on aarch64
mvapich2 is not available on aarch64. Build the MPI families list dynamically so that mvapich2 is only included on other architectures. Generated with Claude Code (https://claude.ai/code) Signed-off-by: Karl W Schulz <karl@utexas.edu> Signed-off-by: Adrian Reber <areber@redhat.com>
1 parent b9b6322 commit ef31e88

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/ci/setup_slurm_and_run_tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ sudo --user="${USER}" --login bash -c "cd ${PWD}/tests; find ./ -name '*.log' -d
130130

131131
# Always running at least with '--enable-modules'. No need to check for
132132
# an empty TESTS array.
133+
MPI_FAMILIES="openmpi5 mpich"
134+
if [ "$(uname -m)" != "aarch64" ]; then
135+
MPI_FAMILIES="${MPI_FAMILIES} mvapich2"
136+
fi
133137
if sudo \
134138
--user="${USER}" \
135139
--preserve-env=SIMPLE_CI \
@@ -144,7 +148,7 @@ if sudo \
144148
--enable-rms-harness \
145149
--enable-compilers \
146150
--with-compiler-families='${COMPILER_FAMILY}' \
147-
--with-mpi-families='openmpi5 mpich mvapich2' \
151+
--with-mpi-families='${MPI_FAMILIES}' \
148152
${TESTS[*]}; \
149153
make check"; then
150154
TESTS_FAILED=0

0 commit comments

Comments
 (0)