#!/bin/bash #PBS -l nodes=2:ppn=8 #PBS -l naccesspolicy=singleuser #PBS -l walltime=00:05:00 #PBS -N testIO #PBS -o out.$PBS_JOBID #PBS -e err.$PBS_JOBID #PBS -r n #PBS -V #PBS -m abe #PBS -M mludin@shodor.org #----------------------------------------------------- cd $PBS_O_WORKDIR #our list of nodes sort -u $PBS_NODEFILE > mynodes.$PBS_JOBID #save a copy of this sciprt cat $0 > runscript.$PBS_JOBID #save our PBS environment, the path to our aprun command, and executable printenv | grep PBS > env.$PBS_JOBID which aprun >> env.$PBS_JOBID which ./pandemic-serial >> env.$PBS_JOBID #mail us the environment and other "stuff" mail < env.$PBS_JOBID -s $PBS_JOBID mludin@shodor.org aprun -np 16 ./pandemic-serial