runBase.sh 611 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"

9
10
11
nodelist=$SLURM_JOB_NODELIST
nodes=$SLURM_JOB_NUM_NODES

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

17
numP=$(bash recordMachinefile.sh $1)
18

19
mpirun -print-all-exitcodes -f hostfile.o$SLURM_JOB_ID $dir$codeDir/a.out $1 $2 $nodelist $nodes
20
21
rm hostfile.o$SLURM_JOB_ID

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