OMP_MAX_ACTIVE_LEVELS value

Discuss the OpenMP 3.0 API Specifications with the OpenMP Arch. Review Board. (Read Only)
Forum rules
The OpenMP Forums are now closed to new posts. Please visit Stack Overflow if you are in need of help: https://stackoverflow.com/questions/tagged/openmp
Locked
nathanweeks
Posts: 41
Joined: Sun May 17, 2009 6:19 am
Location: Iowa State University
Contact:

OMP_MAX_ACTIVE_LEVELS value

Post by nathanweeks »

Page 151, lines 1-5 of the OpenMP 3.0 API spec state the following about the OMP_MAX_ACTIVE_LEVELS environment variable:
The value of this environment variable must be a non-negative integer. The behavior of the program is implementation defined if the requested value of OMP_MAX_ACTIVE_LEVELS is greater than the maximum number of nested active parallel levels an implementation can support, or if the value is not a non-negative integer.
Since the second sentence states that the behavior is implementation defined if the value of OMP_MAX_ACTIVE_LEVELS is a non-negative integer, I suggest removing the first sentence, which restricts it from having such a value, or remove "non-negative" if the intent of the first sentence was to restrict it to an integral value.
--
Nathan Weeks
Iowa State University HPC Group
http://weeks.public.iastate.edu/

nathanweeks
Posts: 41
Joined: Sun May 17, 2009 6:19 am
Location: Iowa State University
Contact:

Re: OMP_MAX_ACTIVE_LEVELS value

Post by nathanweeks »

Ditto for OMP_THREAD_LIMIT.
--
Nathan Weeks
Iowa State University HPC Group
http://weeks.public.iastate.edu/

ejd
Posts: 1025
Joined: Wed Jan 16, 2008 7:21 am

Re: OMP_MAX_ACTIVE_LEVELS value

Post by ejd »

Thank you for your comments. I have forwarded them to the OpenMP ARB language committee for review.

Locked