error in running PGDBG

I have following error message in running debugging program…

The erroe message

Exception in thread “main” java.lang.UnsatifiedLink Error:
/home/lib/pgi/linux86-64/9.02-2/jre/lib/i386/xawt/libmawt.so: libXtrst.so.6: cannot open shared object file: No such file or directory…

But in my system, coresponding directory and file exist…

Please guide me to fix this problem…

Thank you in advance

A PGI release that came out 6 years should have no trouble
installing and working on a Linux system that came out 6 years ago.

The way to handle this is to use
% ldd pgdbg
which will point out what libraries pgdbg expects, and where it expects them.

Find the libraries, and install them on your system. If they are in the
‘PATH’ that ‘ldd pgdbg’ expects to find them, they should work. If not,
add the ‘path’ to the environment variable LD_LIBRARY_PATH. If it works
‘ldd pgdbg’ should now find all the libs it needs to run.

However, this may still be a fragile configuration. If your code runs outside pgdbg, you may have to debug with print statements.

regards,
dave

Dear Jave,

Thank you for your kind comment…

We tried to fix the problem by installing corresponding program as you indicated…

We made the PGDBG on the screen…

But running it with the sample program of WRF which demoed in video teaching, the following error message appeared in MPI message on the screen,

ERROR: MPI Message Queue libray not found.
Try setting :PGDBG_MQS_LIB_OVERRIDE" environment variable

We added the following command in “/etc/csh.cshrc”
setenv PGDBG_MQS_LIB_OVERRIDE /opt/pgi/linux86-64/2012/mpi/mpich/lib/libtvmpich.so.

However we still had the errron message in MPI Messages such as
“ERROR : Process Running”…

Please help me again to fix the problem…

Thank you a lot again…