64-core MPI sample job scripts (qp64-72hr)

#!/bin/sh

#Sample mpi job script for 64-core run
#PBS -N jobname
#PBS -l nodes=2:ppn=32:regular
#PBS -l walltime=72:00:00
cd /path_of_executable
NPROCS=`wc -l < $PBS_NODEFILE`
HOSTS=`cat $PBS_NODEFILE | uniq | tr ‘\n’ “,” | sed ‘s|,$||’`
mpirun -np $NPROCS –host $HOSTSĀ  /name_of_executable