This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2008 17:52:02 -0000
- Subject: [Bug libgomp/37586] OpenMP thinks that I have 1 processor on an 8 processor pc
- References: <bug-37586-4376@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jakub at gcc dot gnu dot org 2008-10-13 17:52 -------
Yes, that certainly is the source of your problems. You could call
sched_setaffinity or pthread_sched_setaffinity in your program before entering
an OpenMP region, guess you should also find out why does that library confine
the thread to just one CPU.
Anyway, closing this, as it clearly is not a GCC/libgomp bug.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37586