PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

SpecOMP error

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



Joined: 05 Sep 2007
Posts: 1

PostPosted: Tue Sep 11, 2007 6:44 am    Post subject: SpecOMP error Reply with quote

Hello, I ran SpecOMP 2001, but "332.ammp_m" case failed with SIGSEGV.

I am using PGI 7.0-7 and RedHat5.0.
gdb output is as follows;

[Switching to Thread 46912499754880 (LWP 26786)]
0x00002aaaaaaccdd0 in _mp_cdecl () from /opt/pgi/linux86-64/7.0-7/libso/libpgmp.so
(gdb) where
#0 0x00002aaaaaaccdd0 in _mp_cdecl () from /opt/pgi/linux86-64/7.0-7/libso/libpgmp.so
#1 0x00000000004277b1 in mm_fv_update_nonbon ()
#2 0x000000000042bc4f in fv_update_nonbon ()
#3 0x0000000000425f4b in u_v_nonbon ()
#4 0x0000000000405bed in eval ()
#5 0x0000000000401af0 in main ()
(gdb)

How can I avoid this error ?
(Without -mp option, the program works, but i need to run with openmp.)
Please help me.

Thankyou.
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Wed Sep 12, 2007 2:40 pm    Post subject: Reply with quote

Hi,

RHEL5 is not supported by PGI 7.0-7. We will support it in 7.1.

However, there is a workaround with 7.0-7 by setting environment variable NCPUS_MAX to the maximum number of threads you want it to run in parallel.

For examples, if you have 4 cpus on your system, I would set to 4.
% setenv NCPUS_MAX 4

Then run ammp as you normally run.

Hongyon
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