PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Error while Executing the command :::: pgcollect ./a.out

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
Infosavant



Joined: 07 May 2009
Posts: 3

PostPosted: Tue Jul 21, 2009 11:32 pm    Post subject: Error while Executing the command :::: pgcollect ./a.out Reply with quote

I am using the PGI 9.0 License.
I want to use pgprof for profiling.
I executed the command

pgcc -mp –Minfo=ccff myfile.c

& then executed

pgcollect ./a.out

but i am getting the error like this :

/opt/pgi/linux86/9.0-2/bin/pgsampt: error while loading shared libraries: libpgc.so: cannot open shared object file: No such file or directory

Can anybody help me out???
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jul 22, 2009 7:59 am    Post subject: Reply with quote

Hi Infosavant,

Sorry about that. This was a manufacturing error on our part where pgsampt was dynamically linked instead of statically linked. We have fixed this issue in the upcoming 9.0-3 release.

The work around is simple though. Just set your LD_LIBRARY_PATH to the location of our PGI 32-bit library directory. For example:

in csh:
Code:
setenv LD_LIBRARY_PATH /opt/pgi/linux86/9.0-2/lib:$LD_LIBRARY_PATH

In bash:
Code:
export LD_LIBRARY_PATH=/opt/pgi/linux86/9.0-2/lib:$LD_LIBRARY_PATH


Hope this helps,
Mat
Back to top
View user's profile
Infosavant



Joined: 07 May 2009
Posts: 3

PostPosted: Fri Jul 31, 2009 3:58 am    Post subject: Thank you. Reply with quote

Thank you.
That fixed the problem.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling 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