Nested parallelism can be controlled by setting various environment variables prior to the execution of the program, or by calling the omp_set_nested() runtime routine. This section discusses various environment variables that can be used to control nested parallelism.