runBase.sh 586 Bytes
Newer Older
iker_martin's avatar
iker_martin committed
1
2
#!/bin/bash

3
#SBATCH -N 1
4
#SBATCH --exclude=c01,c00,c02
iker_martin's avatar
iker_martin committed
5

6
7
8
dir="/home/martini/malleability_benchmark"
codeDir="/Codes"

iker_martin's avatar
iker_martin committed
9
echo "MPICH"
10
module load mpich-3.4.1-noucx
iker_martin's avatar
iker_martin committed
11
12
13
#export HYDRA_DEBUG=1
#-disable-hostname-propagation -disable-auto-cleanup -pmi-port -hosts n00,n01

14
numP=$(bash recordMachinefile.sh $1)
15

16
#mpirun -f hostfile.o$SLURM_JOB_ID ./a.out $1 $2
17
mpirun -print-all-exitcodes -f hostfile.o$SLURM_JOB_ID $dir$codeDir/a.out $1 $2
18
19
rm hostfile.o$SLURM_JOB_ID

20
echo "END RUN"
21
sed -i 's/application called MPI_Abort(MPI_COMM_WORLD, -100) - process/shrink cleaning/g' slurm-$SLURM_JOB_ID.out