#!/bin/csh # Give the job a name #$ -N mypi_job # set working directory on all host to # directory where the job was started #$ -cwd # send output to job.log (STDOUT + STDERR) #$ -o mypi_job.log #$ -j y # specify the mpich parallel environment and request 2 # processors from the available hosts #$ -pe mpich 2 # specify the hardware platform to run the job on. # options are: amd64, em64t, i386, volumejob (use i386 if you don't care) #$ -q em64t # command to run. ONLY CHANGE THE NAME OF YOUR MPI APPLICATION mpirun -nolocal -np $NSLOTS -machinefile $TMPDIR/machines ./mypi