PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

undefined symbol: __pgi_abort_init

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



Joined: 25 Mar 2009
Posts: 2

PostPosted: Wed Mar 25, 2009 8:07 pm    Post subject: undefined symbol: __pgi_abort_init Reply with quote

I use long arrays (over 3GB) in my fortran code,
so I did "pgf77 trace10-hjk1010.f -o trace10-hjk1010.out -mcmodel=medium"

The code works okay on the head node,
but when I submit the job on the supercomputer, I got the following error.

./trace10-hjk1010.out: error while loading shared libraries: ./trace10-hjk1010.out: undefined symbol: __pgi_abort_init

My $LD_LIBRARY_PATH is set at /usr/pgi/linux86-64/5.2/lib and /usr/pgi/linux86-64/5.2/libso

Please help me to run this code.
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Mar 26, 2009 10:05 am    Post subject: Reply with quote

Hi corona0,

My guess is that you've compiled with a later version of the compilers (see 'pgf77 -V' for version information). In this case, you'll need to set your LD_LIBRARY_PATH to the same version that you used to compile.

- Mat
Back to top
View user's profile
corona0



Joined: 25 Mar 2009
Posts: 2

PostPosted: Thu Mar 26, 2009 11:56 am    Post subject: thank you Reply with quote

It works!
Thank you so much, Mat.
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