Share via


OMP_NESTED

Specifies whether nested parallelism is enabled, unless nested parallelism is enabled or disabled with omp_set_nested.

set OMP_NESTED[=TRUE | =FALSE]

Remarks

The OMP_NESTED environment variable can be overridden by the omp_set_nested function.

The default value in the Visual C++ implementation of the OpenMP standard is OMP_DYNAMIC=FALSE.

For more information, see 4.4 OMP_NESTED.

Example

The following command sets the OMP_NESTED environment variable to TRUE:

set OMP_NESTED=TRUE

The following command displays the current setting of the OMP_NESTED environment variable:

set OMP_NESTED

See Also

Reference

OpenMP Environment Variables