[GE users] Error Running DRMAA java and C bindings on amdX64 architecture

Daniel Templeton Dan.Templeton at Sun.COM
Fri Jun 23 13:20:22 BST 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Actually, there is currently an issue with running the 32-bit 
libdrmaa.so on Solaris 10.  It segfaults.  We've filed a JVM bug for the 
issue, but it looks like it may end up getting refiled as a Solaris bug.

Daniel

Rayson Ho wrote:
> Hmm, sounds like your libdrmaa.so is 64-bit and the JVM installed on
> your system is 32-bit...
>
> Can you try libdrmaa.so in the "Sun - Solaris (x86) 8, 9, 10" package
> (sge-6.0<update level>-bin-sol-x86.tar.gz) instead of the one for
> AMD64??
>
> (You don't really need to install SGE again, just unpack the tar.gz
> file and point to that DRMAA lib)
>
> Rayson
>
>
>
> On 6/23/06, Inderpreet <chopraaccount at yahoo.com> wrote:
>> hello
>> we are using the sun N1GE6 on solaris 10 X64.
>> We are trying to run the DRMAA Java and C bindings but
>> are getting error while running them. The compilation
>> is done correctly.We use following commands:
>> javac -classpath .:$SGE_ROOT/lib/drmaa.jar
>>
>> java -classpath .:$SGE_ROOT/lib/drmaa.jar
>> com.sun.grid.drmaa.howto.Howto2
>> Exception in thread "main"
>> java.lang.UnsatisfiedLinkError:
>> /export/home/n1ge6/lib/sol-amd64/libdrmaa.so: ld.so.1:
>> java: fatal:
>> /export/home/n1ge6/lib/sol-amd64/libdrmaa.so: wrong
>> ELF class: ELFCLASS64
>>        at
>> java.lang.ClassLoader$NativeLibrary.load(Native
>> Method)
>>        at
>> java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
>>        at
>> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
>>        at
>> java.lang.Runtime.loadLibrary0(Runtime.java:822)
>>        at
>> java.lang.System.loadLibrary(System.java:992)
>>        at
>> com.sun.grid.drmaa.SessionImpl$1.run(SessionImpl.java:58)
>>        at
>> java.security.AccessController.doPrivileged(Native
>> Method)
>>        at
>> com.sun.grid.drmaa.SessionImpl.<clinit>(SessionImpl.java:56)
>>        at
>> com.sun.grid.drmaa.SessionFactoryImpl.getSession(SessionFactoryImpl.java:59) 
>>
>>        at
>> com.sun.grid.drmaa.howto.Howto2.main(Howto2.java:38)
>>
>>
>>
>> According to ourfindings we have found that error is
>> due to mismatch of 64 and 32 bit binaries. So we tried
>> following and get error as:
>> javac -d64 -classpath $SGE_ROOT/lib/drmaa.jar
>> Howto2.java
>> Running a 64-bit JVM is not supported on this
>> platform.
>>
>>
>> IS DRMAA supports 64 bit platform?
>>
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
>> For additional commands, e-mail: users-help at gridengine.sunsource.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list