2. Compiling and Running OpenMP Programs
3. Implementation-Defined Behaviors
3.4 Dynamic Adjustment of Threads
3.7.2 omp_set_max_active_levels()
3.7.3 omp_get_max_active_levels()
3.9.3 Runtime Library Definitions
6. Automatic Scoping of Variables
The following internal control variables are defined by the implementation:
nthreads-var: Controls the number of threads requested for encountered parallel regions. The initial value of nthreads-var is 1.
dyn-var: Controls whether dynamic adjustment of the number of threads is enabled for encountered parallel regions. The initial value of dyn-var is TRUE (that is, dynamic adjustment is enabled).
run-sched-var: Controls the schedule that the runtime schedule clause uses for loop regions. The initial value of run-sched-var is static with no chunk size.
def-sched-var: Controls the implementation defined default scheduling of loop regions. The initial value of def-sched-var is static with no chunk size.
stacksize-var: Controls the stack size for threads that the OpenMP implementation creates. The initial value of stacksize-var is 4 MegaBytes for 32-bit applications and 8 MegaBytes for 64-bit applications.
wait-policy-var: Controls the desired behavior of waiting threads. The initial value of wait-policy-var is PASSIVE.
thread-limit-var: Controls the maximum number of threads participating in the OpenMP program. The initial value of thread-limit-var is 1024.
max-active-levels-var: Controls the maximum number of nested active parallel regions. The initial value of max-active-levels-var is 4.