------- Comment #2 from rrpeter at sandia dot gov  2008-09-19 16:59 -------
Subject: Re:  OpenMP thinks that I have 1 processor
 on an 8 processor pc

rguenth at gcc dot gnu dot org wrote:
> ------- Comment #1 from rguenth at gcc dot gnu dot org  2008-09-19 14:43 
> -------
> "I tried setting the environment variable OMP_NUM_THREADS to 2 and got 2
> threads, but only one processor was running the job."
>
> this suggests your operating system is limiting your job to one CPU.
>
>
> --
>
> rguenth at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37586
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
>   
Hi,

Thanks for the response!

 If I run the simple sample code, then I get 8 processors and 8 threads 
while my umbra test case always replys that only 1 processor is 
available.  The umbra test case that I am loading is small with regards 
to memory used and runs well (if slowly... 30 seconds or so), so it 
seems odd that the OS thinks that only 1 of 8 processors are available 
when the system-monitor shows that the remaining 6 or 7 are not being 
used (< 1%).  So there is something strange going on...  Either the 
query to the operating system is providing an invalid answer or the 
compile is somehow wrong or something!???  What do you think is the root 
cause of the problem?   What does the code making the query do?  Where 
is it? 

I am quite willing and (probably) able to work with someone to run tests 
on my computers to try to understand what the root problem is. 

There are a number of people here at the Intelligent Systems and 
Robotics Center interested in parallelizing umbra ( 
http://www.sandia.gov/isrc/UMBRA.html) and I have NO idea why my simple 
test inside umbra has FAILED.

Thanks,
Ralph Peters
Principal Member of the Technical Staff
Intelligent Systems and Robotics
Sandia National Laboratories
Albuquerque, NM USA


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37586

Reply via email to