Some more automazosm: Run test for every available mpi module.
This commit is contained in:
parent
21070c63e5
commit
e2c36835e8
1 changed files with 17 additions and 7 deletions
|
@ -1,12 +1,22 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Chrsitoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
ROOT=$HOME/mpi_test_suite
|
ROOT=$HOME/mpi_test_suite
|
||||||
|
for mpi in $(module av mpi -l 2>&1 | awk '/^mpi/{print $1;}'); do
|
||||||
|
|
||||||
cd $ROOT
|
echo $mpi
|
||||||
./autogen.sh
|
logfile="$(basename $(dirname $mpi))-$(basename $mpi)-$(date +%Y-%M-%dT%H:%m).log"
|
||||||
CC=mpicc ./configure
|
{
|
||||||
#--enable-mpi2 --enable-mpi2-io --enable-mpi-onesided
|
module load $mpi
|
||||||
make -j $(grep -c processor /proc/cpuinfo)
|
cd $ROOT
|
||||||
|
./autogen.sh
|
||||||
mpirun mpi_test_suite -x relaxed -d All,^MPI_TYPE_MIX,^MPI_SHORT_INT -t All,^One-sided
|
./configure CC=mpicc CXX=mpicxx
|
||||||
|
#--enable-mpi2 --enable-mpi2-io --enable-mpi-onesided
|
||||||
|
make clean
|
||||||
|
make -j $(grep -c processor /proc/cpuinfo)
|
||||||
|
mpirun $ROOT/mpi_test_suite -x relaxed -d All,^MPI_TYPE_MIX,^MPI_SHORT_INT -t "All,^One-sided,^IO"
|
||||||
|
} 2>&1 | tee ~/$logfile
|
||||||
|
module rm mpi
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue