OMP_DISPLAY_ENV

When a program that uses the OpenMP runtime is invoked and the OMP_DISPLAY_ENV environment variable is set, the OpenMP runtime library displays the values of the internal control variables (ICVs) associated with the environment variables and the build-specific information about the runtime library.

OMP_DISPLAY_ENV is useful in the following cases:

By default, no information is displayed.

The syntax of this environment variable is as follows:

Read syntax diagramSkip visual syntax diagram
>>-OMP_DISPLAY_ENV--=--+-TRUE----+-----------------------------><
                       +-FALSE---+   
                       '-VERBOSE-'   

Note: The values TRUE, FALSE, VERBOSE are not case-sensitive.
TRUE
Displays the OpenMP version number defined by the _OPENMP macro and the initial ICV values for the OpenMP environment variables.
FALSE
Instructs the runtime environment not to display any information.
VERBOSE
Displays build-specific information, ICV values associated with OpenMP environment variables, and the setting of the XLSMPOPTS environment variable.

Example

If you enter the export OMP_DISPLAY_ENV=TRUE command, you will get output that is similar to the following example:

OPENMP DISPLAY ENVIRONMENT BEGIN
  OMP_DISPLAY_ENV='TRUE'

  _OPENMP='201107'
  OMP_DYNAMIC='FALSE'
  OMP_MAX_ACTIVE_LEVELS='5'
  OMP_NESTED='FALSE'
  OMP_NUM_THREADS='96'
  OMP_PROC_BIND='FALSE'
  OMP_SCHEDULE='STATIC,0'
  OMP_STACKSIZE='4194304'
  OMP_THREAD_LIMIT='96'
  OMP_WAIT_POLICY='PASSIVE'
OPENMP DISPLAY ENVIRONMENT END

Related information

XLSMPOPTS



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us