get_max_active_levelsreturns the maximum number of nested active parallel regions allowed.
For full information please refer to the NAG Library document for x06ak
The returned maximum number of active nested parallel regions allowed.
get_max_active_levels, for multithreaded implementations, retrieves the maximum number of nested active parallel regions allowed. This has either been set by the user or is the default for the implementation of OpenMP being used.
In serial implementations of the NAG Library this function will always return . See the X06 Introduction for a discussion of the behaviour of these functions when called in serial.
The OpenMP API Specification for Parallel Programming
Chapman, B, Jost, G and van der Pas, R, 2008, Using OpenMP Portable Shared Memory Parallel Programming, The MIT Press