Template:Torque Example Script Matlab

From CSDMS
#! /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