PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

too many threads

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
deeppow



Joined: 02 Feb 2012
Posts: 51

PostPosted: Sun Mar 17, 2013 7:36 pm    Post subject: too many threads Reply with quote

Code compiles and runs in debug mode but fails in optimizated mode ( I realize that debug doesn't guarantee that it'll run optimized). Using comipiler commands: -Bstatic -Mbackslash -I"F:\Macro3d\PGI\PGI_3-15-2013\Include Files" -I"d:\program files\pgi\win64\12.10\include" -I"D:\Program Files\PGI\Microsoft Open Tools 10\include" -I"D:\Program Files\PGI\Microsoft Open Tools 10\PlatformSDK\include" -fastsse -Mipa=fast,inline -O3 -Mvect -Minline -Mconcur -tp=sandybridge-64 -Minform=warn -Minfo=ftn,inline,intensity,loop,opt,par,vect -Munroll=n:4

And linker commands: -Bstatic -o "F:\Macro3d\PGI\PGI_3-15-2013\PGI_3-15-2013\PGI_3-15-2013\x64\Release\PGI_3-15-2013.exe"

Get the following error message at the startup of the run: Error: _mp_pcpu_idle: more than 256 threads created
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6208
Location: The Portland Group Inc.

PostPosted: Mon Mar 18, 2013 9:20 am    Post subject: Reply with quote

Quote:
Error: _mp_pcpu_idle: more than 256 threads
We do have a maximum limit on 256 OpenMP threads, but unless you have the environment variable "OMP_NUM_THREADS" or "NCPUS" set to a value greater than this, I'm not sure why you're getting it. Try removing "-Mconcur" which implicitly adds OpenMP parallelization.

- Mat
Back to top
View user's profile
deeppow



Joined: 02 Feb 2012
Posts: 51

PostPosted: Wed Mar 20, 2013 7:44 am    Post subject: Reply with quote

Matt,
Will try that when I get back home. Thanks.

-ralph
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group