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

Daniel Templeton Dan.Templeton at Sun.COM
Fri Jun 23 13:18:03 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. ]

You have to use the -d64 switch to the JVM, like this:

java -d64 -classpath .:$SGE_ROOT/lib/drmaa.jar


Daniel

Inderpreet 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




More information about the gridengine-users mailing list