PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgdbg fails to start

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
pekompi



Joined: 15 Nov 2004
Posts: 23

PostPosted: Thu May 11, 2006 4:55 am    Post subject: pgdbg fails to start Reply with quote

Hi,

on our Linux clsuter the pgdbg will not start.

I get:

PGDBG 6.1-4 x86-64 (Cluster, 16 CPU)
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2006, STMicroelectronics, Inc. All Rights Reserved.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at splashLoader$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError:
/Net/cluster/pgi/linux86-64/6.1/lib/libjpgdbg.so:
/Net/cluster/pgi/linux86-64/6.1/lib/libjpgdbg.so: cannot open shared object file: No such file or directory
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 jpgdbg.main(Unknown Source)
... 6 more

but, "ll /Net/cluster/pgi/linux86-64/6.1/lib/libjpgdbg.so"
-rwxr-xr-x 1 bin bin 5405 2006-04-06 01:37 /Net/cluster/pgi/linux86-64/6.1/lib/libjpgdbg.so
Back to top
View user's profile
mleair



Joined: 19 Jul 2004
Posts: 67
Location: Portland Group

PostPosted: Thu May 11, 2006 1:00 pm    Post subject: PGDBG start-up problems Reply with quote

This error may be caused by a configuration problem. We'll have to exchange a few messages to determine that. Please answer the following points first:

1. Verify that $PGI/linux86-64/6.1/jre/java exists. If this does not exist,
then it's possible that the PGDBG is picking up an incompatible version
of java from your path.

2. Check to see if you happen to have the PGI_JAVA environment variabled defined (e.g., enter "echo $PGI_JAVA" or execute "env" and look for it). This is used to substitute the JAVA JRE used by PGI tools. In general, you would rarely, if ever, define it. If PGI_JAVA is defined, try undefining it. If PGI_JAVA is not defined, then you can try defining it to $PGI/linux86-64/6.1/jre/java (assuming $PGI/linux86-64/6.1/jre/java exists). On csh/tcsh shells, enter "setenv PGI_JAVA $PGI/linux86-64/6.1/jre/java". On sh/bash shells, enter "export PGI_JAVA=$PGI/linux86-64/6.1/jre/java".

3. Since you're using a cluster, are you running PGDBG from the head node, or a slave node?

4. What version of linux (kernel rev, glibc version, brand of distribution -- including version, etc.) are you running?

5. Does pgprof (the PGI profiler) work, or do you get a similar message?

Thanks,

Mark
Back to top
View user's profile
pekompi



Joined: 15 Nov 2004
Posts: 23

PostPosted: Fri May 12, 2006 12:38 am    Post subject: Reply with quote

Hi,

thank's for the quick reply !!
It is the access node of the cluster (SuSE SLES 9 SP3, Quad Opteron).
From the head node a nfs-export holds the software
head /cluster -> all other nodes /Net/cluster (a link on the head node as well).

$PGI/linux86-64/6.1/jre/java does NOT exist !
but $PGI/linux86-64/6.1/jre/bin/java

I've tried also the new JAVA stuff, installed into another folder ... :(
not working

Linux tundra 2.6.5-7.191-smp #1 SMP
Tue Jun 28 14:58:56 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux


/lib/libc.so.6
GNU C Library stable release version 2.3.5 (20050720), by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i686-suse-linux.
Compiled by GNU CC version 3.3.3 (SuSE Linux).
Compiled on a Linux 2.6.5 system on 2005-12-09.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
GNU Libidn by Simon Josefsson
NoVersion patch for broken glibc 2.0 binaries
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk


pgproof gives the following error:
PGI=/Net/cluster/pgi
PGI_JAVA=/Net/cluster/pgi/linux86-64/6.1/jre/bin/java

> pgproof
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Net/cluster/pgi/linux86-64/6.1/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)


Is there somewhere a config file holding the paths ?

Bye, Peer
Back to top
View user's profile
mleair



Joined: 19 Jul 2004
Posts: 67
Location: Portland Group

PostPosted: Fri May 12, 2006 12:10 pm    Post subject: pgdbg gui problem Reply with quote

Hi,

I found some information on the internet related to the error you're seeing with PGPROF. My guess is that it's related to the error you're seeing with PGDBG. The information is at http://download.qlogic.com/drivers/41751/SANsurferProReadme.htm

Search for "libXext.so.6: cannot open shared object file" on the page. There's actually two places in the document that this is talked about, so you may want to search for it twice.

In summary, it sounds like you may not have all (or any) of the 32-bit X11 libs on your system required by Java. Perhaps this is the case since you're running 64-bit. The PGDBG/PGPROF GUIs are 32-bit applications.

Another option is to try a new version of java. A newer version of java may not have this problem. You can download it at www.java.com (the latest version is 1.5.0_06, we're shipping 1.5.0_05). After you install it, you can set your PGI_JAVA environment variable to the new java. It'll be located in (the installation root directory)/jre/bin/java (e.g., setenv PGI_JAVA (the installation root directory)/jre/bin/java on csh/tcsh or
export PGI_JAVA=(the installation root directory)/jre/bin/java on bash/sh).

Regards,


-Mark
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group