test_step.sh 673 Bytes
Newer Older
Andreas Marek's avatar
Andreas Marek committed
1
#!/bin/bash
2 3
#source /etc/profile.d/modules.sh
if [ -f /etc/profile.d/modules.sh ]; then source /etc/profile.d/modules.sh ; else source /etc/profile.d/mpcdf_modules.sh; fi
Andreas Marek's avatar
Andreas Marek committed
4 5
set -ex

6
source ./ci_test_scripts/.ci-env-vars
Andreas Marek's avatar
Andreas Marek committed
7 8 9 10 11 12 13 14 15
module list
ulimit -s unlimited
ulimit -v unlimited

if [ "$(hostname)" != "miy01" -a "$(hostname)" != "miy02" -a "$(hostname)" != "miy03" ] ; then export I_MPI_STATS=10; fi
if [ "$(hostname)" != "miy01" -a "$(hostname)" != "miy02" -a "$(hostname)" != "miy03" ] ; then unset SLURM_MPI_TYPE I_MPI_SLURM_EXT I_MPI_PMI_LIBRARY I_MPI_PMI2 I_MPI_HYDRA_BOOTSTRAP; fi

export OMP_NUM_THREADS=$2

Andreas Marek's avatar
Andreas Marek committed
16
eval make check TASKS=$1 ${3} || { cat test-suite.log; exit 1; }
Andreas Marek's avatar
Andreas Marek committed
17