9.11. Environment variables
This section explains the OpenMP C and C++ API environment variables that control the execution of parallel code. The names of environment variables must be uppercase. The values assigned to them are case insensitive and may have leading and trailing white space. Modifications to the values after the program has started are ignored. The environment variables are as follows:
OMP_SCHEDULE | Sets the run-time schedule type and chunk size. |
OMP_NUM_THREADS | Sets the number of threads to use during execution. |
OMP_DYNAMIC | Enables or disables dynamic adjustment of the number of threads. |
OMP_NESTED | Enables or disables nested parallelism. |
For further information about these environment variables, please refer to the “Parallel Processing ...
Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.