Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


No Format
#PBS -c s
#PBS -j oe
#PBS -m ae
#PBS -N jobarray
#PBS -l walltime=9:00:00

source /etc/profile.d/
module load matlab
matlab -r myjob$PBS_ARRAYID.m

Issuing the command

No Format
qsub -S /bin/bash -t 1-8 pbsjob

will see 8 jobs run under one major identifier. To view status of individual jobs in the array. The above example is identical (in terms of what jobs would be executed) to the one in the "Do It Yourself" section below.