Common PBS Options

 

Option Use Description
A #PBS -A <account> Causes the job time to be charged to <account>. The account string XXXYYY is typically composed of three letters followed by three digits and optionally followed by a subproject identifier. The utility showproj can be used to list your valid assigned project ID(s). This is the only option required by all jobs.
l #PBS -l size=<nodes> Maximum number of compute nodes. Default is 1.
#PBS -l walltime=<time> Maximum wall-clock time. <time> is in the format HH:MM:SS.Default is the queue’s maximum.
o #PBS -o <name> Writes standard output to <name> instead of <job script>.o$PBS_JOBID. $PBS_JOBID is an environment variable created by PBS that contains the PBS job identifier.
e #PBS -e <name> Writes standard error to <name> instead of <job script>.e$PBS_JOBID.
j #PBS -j {oe,eo} Standard output and standard error are combined into the standard error file (eo) or the standard out file (oe).
m #PBS -m a Sends email to the submitter when the job aborts.
#PBS -m b Sends email to the submitter when the job begins.
#PBS -m e Sends email to the submitter when the job ends.
M #PBS -M <address> Specifies email address to use for -m options.
n #PBS -N <name> Sets the job name to <name> instead of the name of the job script.
S #PBS -S <shell> Sets the shell to interpret the job script.
q #PBS -q <queue> Directs the job to the specified queue. This option is not required to run in the general production queue.
V #PBS -V Exports all environment variables from the submitting shell into the batch shell. This option should not be used when submitting from Robin.

Further details and other PBS options may be found through the qsub man page.