runBase.sh 351 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
11
12
13
14
15
numP=$(bash recordMachinefile.sh test.ini)

#mpirun -f hostfile.o$SLURM_JOB_ID -np $numP ./a.out test.ini
mpirun -np 2 ./a.out test.ini
rm hostfile.o$SLURM_JOB_ID

iker_martin's avatar
iker_martin committed
16

17
echo "END RUN"