tripleRun.sh 341 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

dir="/home/martini/malleability_benchmark"
codeDir="/Codes"
ResultsDir="/Results"

module load mpich-3.4.1-noucx
echo "START TEST"

for index in 1 2 3
do
  numP=$(bash $dir$codeDir/recordMachinefile.sh $1)
  mpirun -f hostfile.o$SLURM_JOB_ID -np $numP $dir$codeDir/a.out $1 $2
  rm hostfile.o$SLURM_JOB_ID
done

echo "END TEST"