Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Mathematica Cluster Integration + SGE

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108963] Mathematica Cluster Integration + SGE
  • From: Cristobal Navarro <axischire at gmail.com>
  • Date: Thu, 8 Apr 2010 08:02:51 -0400 (EDT)

i am getting this error when Mathematica checks for SGE
initialization. (its running on MAC OS Leopard 10.5.6)
Java::excptn: A Java exception occurred:
java.lang.UnsatisfiedLinkError: no drmaa in java.library.path
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1753)
       at java.lang.Runtime.loadLibrary0(Runtime.java:822)
       at java.lang.System.loadLibrary(System.java:993)
       at com.sun.grid.drmaa.SessionImpl$1.run(SessionImpl.java:64)
       at java.security.AccessController.doPrivileged(Native Method)
       at com.sun.grid.drmaa.SessionImpl.<clinit>(SessionImpl.java:62)
       at
com.sun.grid.drmaa.SessionFactoryImpl.getSession(SessionFactoryImpl.java:
60).

i have this configuration
/etc/profile:
#SGE VARIABLES
source /common/default/common/settings.sh

#add PATHS
export PATH=/opt/openmpi-1.4.1/bin:/usr/local/bin:$PATH
export CLASSPATH=/common/lib/drmaa.jar:/common/lib/jgdi.jar:/common/
lib/juti.jar

export LD_LIBRARY_PATH=/opt/openmpi-1.4.1/lib:/common/lib/darwin-
x86/:$LD_LIBRARY_PATH

#aliases
alias math='/Applications/Mathematica.app/Contents/MacOS/MathKernel'
-----------------

and on the cluster integration window i have these parameters
Mathematica Config:

Cluster Name = cfc
Cluster engine = Sun Grid Engine
Head node = mac-pro-3.local

Advanced Settings:
Engine Path = /common (Which is the same as $SGE_ROOT)
Kernel Options = -subkernel -mathlink -LinkMode Connect - LinkProtocol
TCPIP - LinkName "linkname'
Kernel Program = /Applications/Mathematica.app/Contents/MacOS/
MathKernel
Native specification =
Network Interface =
Queue job = Global`true

-

It seems that it cannot find DRMAA, but i have set the Enviroment
Variables...
or is it different in mac OS Leopard???


  • Prev by Date: Automatic method in Eigenvalues
  • Next by Date: Re: Mathematica Programming
  • Previous by thread: Re: Automatic method in Eigenvalues
  • Next by thread: Re: popup/action menu and sub menu