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 option is required by all jobs.
l #PBS -l size=<cores> Maximum number of compute cores. Must request an entire node.
#PBS -l walltime=<time> Maximum wall-clock time. <time> is in the format HH:MM:SS.
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} Combines standard output and standard error 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.

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