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

3
#SBATCH -N 1
iker_martin's avatar
iker_martin committed
4

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

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

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

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

19
echo "END RUN"