Export (0) Print
Expand All

OpenMP Environment Variables 

Provides links to environment variables used in the OpenMP API.

The Visual C++ implementation of the OpenMP standard includes the following environment variables. These environment variables are read at program startup and modifications to their values are ignored at runtime (for example, using _putenv, _wputenv).

Environment variable Description


Specifies whether the OpenMP run time can adjust the number of threads in a parallel region.


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


Sets the maximum number of threads in the parallel region, unless overridden by omp_set_num_threads or num_threads.


Modifies the behavior of the schedule clause when schedule(runtime) is specified in a for or parallel for directive.

Community Additions

© 2014 Microsoft