OMP_NESTED
The OMP_NESTED environment variable enables
or disables nested parallelism. The syntax is as follows:
.-FALSE-. >>-OMP_NESTED=--+-TRUE--+--------------------------------------><
If you set this environment variable to TRUE, nested parallelism is enabled, which means that the runtime environment might deploy extra threads to form the team of threads for the nested parallel region. If you set this environment variable to FALSE, nested parallelism is disabled, which means nested parallel regions are serialized and run in the encountering thread.
The default value for OMP_NESTED is FALSE.
The setting of the omp_set_nested function overrides the OMP_NESTED setting.
Note: If the number of threads in a parallel region and
its nested parallel regions exceeds the number of available processors,
your program might suffer performance degradation.



