pgprof installation problem

When I execute pgprof, I am seeing the following error:

Exception in thread “main” java.lang.UnsatisfiedLinkError: /opt/pgi/linux86-64/7.2-5/jre/lib/i386/xawt/libmawt.so: Can’t load IA 32-bit .so on a IA 32-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Unknown Source)
at java.awt.Toolkit.(Unknown Source)
at splashLoader.main(splashLoader.java:42)

My environment vairiables are:


PGI=/opt/pgi
PATH=/opt/pgi/linux86-64/7.2-5/jre/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/pgi/linux86-64/7.2-5/bin:/home/west/bin
LM_LICENSE_FILE=/opt/pgi/license.dat


This is an HP DL585 with AMD Quad Core Opteron processors using Fedora 14 as the linux OS.


If anyone has any suggestions on how to resolve this problem, I would appreciate your advice.

Thanks,
Jim West

Afer a little google research, the solution to the problem was to have yum install libXp.i686.
Now pgprofs comes up and works fine.

Thanks,
Jim

Hi Jim,

Yes, that will work. The problem is that older PGPROF and PGDBG GUIs use 32-bit Java.

  • Mat

Yes, I understand that issue now.
Unfortunately, I’m not a student, I’m not a company, and I’m not a commercial user … I’m just an old Fortran Programmer techie … Next time I get an extra $1,000, I may upgrade my PG compiler … meantime … I’ll have to struggle with what I’ve got. Does PortLand Group give Senior discounts ???

Thanks,
Jim