#!/bin/csh #PBS -V ### Job name #PBS -N MyMPIJobName ### Output files #PBS -j oe ### Mail to user #PBS -m ae ### Mail address for user #PBS -M Your-email-Address ### Queue name #PBS -q aquila ### Number of nodes, amount of memory and time required #PBS -l ncpus=XX,nodes=ppn=XX,mem=YYGB,walltime=HH:MM:SS # This job's working directory echo Working directory is $PBS_O_WORKDIR cd $PBS_O_WORKDIR echo Running on host `hostname` echo Time is `date` # Run the executable mpirun -np XX MyProgram+Arguments