runBase.sh 302 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

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

10
numP=$(bash recordMachinefile.sh $1)
11

iker_martin's avatar
iker_martin committed
12
mpiexec -f hostfile.o$SLURM_JOB_ID ./a.out $1 $2
13
14
rm hostfile.o$SLURM_JOB_ID

iker_martin's avatar
iker_martin committed
15

16
echo "END RUN"