Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

idb problem at red hat 5

danielwood
Beginner
606 Views
Hello All,

I tried to use idb at a red hat 5 machine but got errors.


!SESSION 2009-05-12 09:27:11.704 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -gui
Command-line arguments: -os linux -ws gtk -arch x86_64 -gui

!ENTRY org.eclipse.osgi 4 0 2009-05-12 09:27:12.303
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /home/dagang/.idb_linux_intel64_app/configuration/org.eclipse.osgi/bundles/88/1/.cp/libswt-pi-gtk-3235.so: /home/dagang/.idb_linux_intel64_app/configuration/org.eclipse.osgi/bundles/88/1/.cp/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
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 org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.gtk.OS.(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.(Display.java:126)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:433)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at com.intel.debugger.ui.App.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)


My env settings are shown as below :

LD_LIBRARY_PATH=/opt/intel/Compiler/11.0/081/lib/intel64:/opt/intel/mkl/10.0.5.025/lib/em64t:/opt/intel/cce/10.1.017/lib:/opt/intel/fce/10.1.017/lib

PATH=/usr/java/jre1.6.0_04/bin:/opt/intel/Compiler/11.0/081/bin/intel64:/opt/CollabNet_Subversion/bin:/opt/mpich2/pkg/bin:/opt/intel/cce/10.1.017/bin:/opt/intel/fce/10.1.017/bin:/opt/CollabNet_Subversion/bin:/opt/mpich2/pkg/bin:/opt/intel/cce/10.1.017/bin:/opt/intel/fce/10.1.017/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin


BTW, eclipse is not installed on this machine.

Any solutions to solve these problems?

Thank you!
0 Kudos
2 Replies
TimP
Honored Contributor III
606 Views
What does
java -version
give you?
If you have a symlink such as /usr/bin/java -> /somepath/gcj
you will have to remove it, and fix it so that
/usr/bin/java -version gives you something like:

java version "1.6.0_10"
Java SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot 64-Bit Server VM (build 11.0-b15, mixed mode)

The 64-Bit Server indication is mandatory. This is the only JRE I personally have seen working with idb on RH5 64-bit, although a newer one should be OK.
Problems with JRE may prevent idb (GUI version) from installing correctly, so you may have to correct and repeat. I suppose it will install the eclipse as it requires. Meanwhile, idbc (command line) should work without JRE, eclipse, or browser prerequisites.
As you would see by checking this list, we aren't the only ones who had trouble with the sketchy installation instructions.
0 Kudos
danielwood
Beginner
606 Views
Quoting - tim18
What does
java -version
give you?
If you have a symlink such as /usr/bin/java -> /somepath/gcj
you will have to remove it, and fix it so that
/usr/bin/java -version gives you something like:

java version "1.6.0_10"
Java SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot 64-Bit Server VM (build 11.0-b15, mixed mode)

The 64-Bit Server indication is mandatory. This is the only JRE I personally have seen working with idb on RH5 64-bit, although a newer one should be OK.
Problems with JRE may prevent idb (GUI version) from installing correctly, so you may have to correct and repeat. I suppose it will install the eclipse as it requires. Meanwhile, idbc (command line) should work without JRE, eclipse, or browser prerequisites.
As you would see by checking this list, we aren't the only ones who had trouble with the sketchy installation instructions.

java version "1.6.0_04"
Java SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot Server VM (build 10.0-b19, mixed mode)

It looks like the 64-bit hotspot server is not installed.

0 Kudos
Reply