Sun Studio 12 Update 1: OpenMP API User's Guide

3.7.2 omp_set_max_active_levels

If omp_set_max_active_levels()is called from within an active parallel region, then the call will be ignored. A warning message will be issued if SUNW_MP_WARN is set to TRUE or a callback function is registered by a call to sunw_mp_register_warn().

If the argument to omp_set_max_active_levels() is not a non-negative integer, then the call will be ignored. A warning message will be issued if SUNW_MP_WARN is set to TRUE or a callback function is registered by a call to sunw_mp_register_warn().