Template:Torque Example Script Matlab

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
#PBS -l nodes=1:ppn=1

RUNDIR=$HOME/my_simulation_dir
MATLAB_FUNCTION=hello_world

cd $RUNDIR && matlab -r $MATLAB_FUNCTION -nodesktop -nosplash