This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/30540] Document default value of implementation-dependent OpenMP settings
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2007 09:58:55 -0000
- Subject: [Bug libgomp/30540] Document default value of implementation-dependent OpenMP settings
- References: <bug-30540-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dfranke at gcc dot gnu dot org 2007-01-26 09:58 -------
> Here, the default value is not documented; it can be found in
> "3 Environment Variables" ("If undefined, dynamic adjustment is disabled
> by default."), but this is not obvious. Especially, since the omp_get_*
> functions only link to omp_set_* and not to the OMP_* environment variables.
Agreed. Regarding this, it was almost done, but then I removed what I had.
Don't ask why ...
> And OMP_NUM_THREADS's default setting is completely undefined; does it
> use by default one or the maximal number of available processors?
Section 3.3 states:
"If undefined one thread per CPU online is used."
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dfranke at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-01-26 09:58:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30540