| View previous topic :: View next topic |
| Author |
Message |
Infosavant
Joined: 07 May 2009 Posts: 3
|
Posted: Tue Jul 21, 2009 11:32 pm Post subject: Error while Executing the command :::: pgcollect ./a.out |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 5001 Location: The Portland Group Inc.
|
Posted: Wed Jul 22, 2009 7:59 am Post subject: |
|
|
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 |
|
 |
Infosavant
Joined: 07 May 2009 Posts: 3
|
Posted: Fri Jul 31, 2009 3:58 am Post subject: Thank you. |
|
|
Thank you.
That fixed the problem. |
|
| Back to top |
|
 |
|