%\pagebreak \section{Controlling the Number of Threads on Multiple Nesting Levels} \label{sec:nthrs_nesting} \index{environment variables!OMP_NUM_THREADS@\kcode{OMP_NUM_THREADS}} \index{OMP_NUM_THREADS@\kcode{OMP_NUM_THREADS}} The following examples demonstrate how to use the \kcode{OMP_NUM_THREADS} environment variable to control the number of threads on multiple nesting levels: \cexample{nthrs_nesting}{1}[1] \fexample{nthrs_nesting}{1}[1]