[drmaa-wg] PBSPro/PBS placeholders

Rajic, Hrabri hrabri.rajic at intel.com
Wed May 4 10:39:14 CDT 2005


Thanks to Bill Nitzberg, here are the PBS placeholders.


[ .. ] the following gets set (by default) in the job's environment:

Variable Meaning
NCPUS Number of threads (or cpus per process (ncpus)) on the node
OM_NUM_THREADS Same as NCPUS.
PBS_ARRAY_ID Identifier for job arrays. Consists of sequence number.
PBS_ARRAY_INDEX Index number of subjob in job array.
PBS_ENVIRONMENT Indicates job type: PBS_BATCH or PBS_INTERACTIVE
PBS_JOBID The job identifier
PBS_JOBNAME The job name supplied by the user.
PBS_NODEFILE The filename containing a list of nodes assigned to the
job.
PBS_NODENUM Logical node number of this node allocated to the job.
PBS_O_HOME Value of HOME from submission environment.
PBS_O_HOST The host name on which the qsub command was executed.
PBS_O_LANG Value of LANG from submission environment
PBS_O_LOGNAME Value of LOGNAME from submission environment
PBS_O_MAIL Value of MAIL from submission environment
PBS_O_PATH Value of PATH from submission environment
PBS_O_QUEUE The original queue name to which the job was submitted.
PBS_O_SHELL Value of SHELL from submission environment
PBS_O_SYSTEM The operating system name where qsub was executed.
PBS_O_TZ Value of TZ from submission environment
PBS_O_WORKDIR The absolute path of directory where qsub was executed.
PBS_QUEUE The name of the queue from which the job is executed.
PBS_TASKNUM The task (process) number for the job on this node.
TMPDIR The job-specific temporary directory for this job.


    -Hrabri
 





More information about the drmaa-wg mailing list