nag_omp_set_max_active_levels (x06ajc) Example Program Results
Implementation max active levels default: 2147483647
No. threads in 1st parallel region: 3
No. threads in 2nd parallel region: 1
Total threads: 3
Max active levels set to: 2
x06ak return value: 2
No. threads in 1st parallel region: 3
No. threads in 2nd parallel region: 7
Total threads: 21
Max active levels set to: 1
x06ak return value: 1
No. threads in 1st parallel region: 3
No. threads in 2nd parallel region: 1
Total threads: 3