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: cannot open shared object file: No such file or directory

Can anybody help me out???

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:

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

In bash:

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

Hope this helps,

Thank you.
That fixed the problem.