error when running pgcollect

While tryng to profile an executable I got the following output

pgcollect ./grab_sing_pgcc
/opt/pgi/linux86-64/12.6/bin/pgsampt: error while loading shared libraries: cannot open shared object file: No such file or directory

I do not know how to get rid of the error "error while loading shared libraries: cannot open shared objec file: no such file or directory.

How do I get rid of this error?

I do have, it is in directory:


i am unsure as to why the compiler is not finding it.

The compilation wnet just fine with, the compile line was:

pgcc -acc -ta=nvidia -m32 -lm -lrt -g -O0 -Minfo=all,ccff -o grab_sing_pgcc

Still why am I getting this error? Should this be in the LD_LIBRAY_PATH?

Thanks in aavance.

THX 1138

Okay, I got this.

I just changed by LD_LIBRARY_PATH to include the 32 bit or 64 bit libnuma file whichever the case may be.

The question that I have now is since I am on 64-bit Centos and checking a 32 bit application that was compiled also on 64 bit Centos, I find I must use the 32 bit pgcollect. The 64 bit pgcollect complains if I try to debug the 32 bit application using it.

Thanks in advance.