You are on page 1of 1

#!

/bin/bash
#PBS -N test
#PBS -q medium
#PBS -l nodes=1:ppn=20
#PBS -j oe
cd $PBS_O_WORKDIR
export I_MPI_FABRICS=shm:dapl
export I_MPI_MPD_TMPDIR=/scratch/asheeshk
mpirun -machinefile $PBS_NODEFILE -n 20 ./a.out

You might also like