Default Variables Set by PBS

Article ID: 189
Last updated: 29 Jun, 2015

You can use the env command--either in a PBS script or on the command line of a PBS interactive session--to find out what environment variables are set within a PBS job. In addition to the PBS_X environment variables, the following variables are useful to know:

NCPUS
Defaults to number of CPUs that you requested for the node.
OMP_NUM_THREADS
Defaults to 1 unless you explicitly set it to a different number. If your PBS job runs an OpenMP or MPI/OpenMP application, this variable sets the number of threads in the parallel region.
FORT_BUFFERED
Defaults to 1. Setting this variable to 1 enables records to be accumulated in the buffer and flushed to disk later.

Contact Us

General User Assistance

Security

  • Report security issues 24x7x365
  • Toll-free: 1-877-NASA-SEC (1-877-627-2732)
  • E-mail: soc@nasa.gov

User Documentation

High-End Computing Capability (HECC) Portfolio Office

NASA High-End Computing Program

Tell Us About It

Our goal is furnish all the information you need to efficiently and effectively use the HECC resources needed for your NASA computational projects.

We welcome your input on features and topics that you would like to see included on this website.

Please send us email with your wish list and other feedback.