load mpi module in ohpc-tests
@@ -9,33 +9,35 @@ source ./common/TEST_ENV || exit 1
source ./common/functions || exit 1
cd libs/ptscotch || exit 1
-
-export BATS_JUNIT_CLASS=PTSCOTCH
+export BATS_JUNIT_CLASS=PTScotch
# bootstrap the local autotools project if necessary
./bootstrap || exit 1
for compiler in $COMPILER_FAMILIES ; do
+ for mpi in $MPI_FAMILIES ; do
echo " "
echo " "
echo "-------------------------------------------------------"
- echo "Libraries: PTScotch tests: $compiler"
+ echo "Libraries: PTScotch tests: $compiler-$mpi"
echo "-------------------------------------------------------"
module purge || exit 1
- module load $compiler || exit 1
- module load ptscotch || exit 1
module load prun || exit 1
+ module load $compiler || exit 1
+ module load $mpi || exit 1
+ module load scotch || exit 1
./configure || exit 1
make clean || exit 1
make -k check || status=1
- save_logs_compiler_family tests $compiler
+ save_logs_mpi_family tests $compiler $mpi
make distclean
done
+done
exit ${status}
