OMP_MAX_ACTIVE_LEVELS value

Discuss the OpenMP 3.0 API Specifications with the OpenMP Arch. Review Board. (Read Only)

OMP_MAX_ACTIVE_LEVELS value

Postby nathanweeks » Sat Jun 12, 2010 3:29 am

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

Re: OMP_MAX_ACTIVE_LEVELS value

Postby nathanweeks » Sat Jun 12, 2010 4:50 am

Ditto for OMP_THREAD_LIMIT.
--
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

Re: OMP_MAX_ACTIVE_LEVELS value

Postby ejd » Thu Jun 24, 2010 8:33 am

Thank you for your comments. I have forwarded them to the OpenMP ARB language committee for review.
ejd
 
Posts: 1025
Joined: Wed Jan 16, 2008 7:21 am


Return to OpenMP 3.0 API Specifications

Who is online

Users browsing this forum: No registered users and 0 guests

cron