PBS variables

We'll cover the following...

PBS sets multiple environment variables at submission time. The following PBS variables are commonly used in command files:

Variable Name Description
PBS_ARRAYID Array ID numbers for jobs submitted with the -t flag. For example a job submitted with #PBS -t 1-8 will run eight identical copies of the shell script.
...