Template:Torque Example Script IO

From CSDMS
Revision as of 15:21, 31 January 2012 by CSDMSBot (talk | contribs) (Automated import of articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
#! /bin/sh

# Request nodes and processors per node
#PBS -l nodes=1:ppn=1

# Request disk space on compute nodes
#PBS -l file=150gb

# Move to the temporary directory and run job
cd $TMPDIR && my_serial_prog

# Copy output back to home dir before exiting (TMPDIR will be automatically removed when this script exits)
cp $TMPDIR/* $HOME/Output