[gridway-user] Problems with Fork and JAVA API.

Ruben Santiago Montero rubensm at dacya.ucm.es
Thu Sep 6 10:03:32 CDT 2007


Hi!
	Thanks for the feedback!. Regarding you first problem, it may be a wrong 
configuration of the Globus toolkit. GridWay, gathers the information 
provided by the DefaultIndex service, which in turns is provided by ganglia, 
to fill the host attributes. It seems that the configuration of the ganglia 
provider in GT4.0.5 is not straight forward. There have been some messages in 
the list about this issue, that you might want to check, see for example the 
following thread:
http://www.globus.org/mail_archive/gridway-user/2007/08/msg00064.html

Regards

Ruben


On Wednesday 05 September 2007 14:15, Kay Dörnemann wrote:
> Hi!
>
> I found the solution for my second problem by myself. My proxy
> certificate was expired...
>
> The problem with SIGSEV was because I mixed up the workingDir with the
> remoteCommand parameter.
>
> The error messages should be more precise and the middleware should
> cover error like mixed up parameters, null or wrong parameters instead
> of killing the JavaVM.
>
> Cheers,
>
> Kay
>
> Kay Dörnemann schrieb:
> > Hi!
> >
> > I'm new to gridway and I'm trying to setup gridway and integrate a
> > gridway client into my application. For that I installed globus and
> > gridway and setup a MDS4 IM. But I stumbled over two problems. I solved
> > the first one by myself but the solution is not satisfying me at all.
> > The second one is really annoying.
> > Everything works fine except no free cpus/nodes are shown at the gwhost
> > list. Submitting with globusrun-ws works. Also globus-url-copy works. So
> > I believe globus is properly installed. To solve the problem I tried to
> > modify the output of
> > $GLOBUS_LOCATION/libexec/globus-scheduler-provider-fork. Never mind what
> > parameters I added or changed no free CPU/node was shown at the gwhost
> > list and every job I submitted was pending... At last I used a static IM
> > and solved it. This is not a real problem, because I only need the
> > globus with FORK for testing. Later on I will use PBS or SGE as local
> > scheduler. But never the less can anonyone explain to me why this
> > problem occurs?
> > My second problem is related to the JAVA DRMAA API. I tried to write a
> > simple gridway client, following the instructions in the tutorial.
> > But when I try to run it, I get the following error:
> >
> > Session Init success
> > Using DRMAA for GridWay 5.2.2, details:
> >          DRMAA version 1.0
> >          DRMS GridWay(contact: null)
> >
> > org.ggf.drmaa.DrmCommunicationException: Unable to communication with
> > the DRMS
> >         at org.ggf.drmaa.DrmaaJNI.runJob(Native Method)
> >         at org.ggf.drmaa.SessionImpl.runJob(SessionImpl.java:109)
> >         at
> > de.fb12.grid.gridway.clients.GridwayClient.main(GridwayClient.java:157)
> >
> > And if I split the implementation into several methods:
> >
> > Using DRMAA for GridWay 5.2.2, details:
> >          DRMAA version 1.0
> >          DRMS GridWay(contact: null)
> > Job successfully submitted ID: null
> > #
> > # An unexpected error has been detected by HotSpot Virtual Machine:
> > #
> > #  SIGSEGV (0xb) at pc=0xf77c9812, pid=22970, tid=4158453440
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing)
> > # Problematic frame:
> > # V  [libjvm.so+0x19c812]
> > #
> > # An error report file with more information is saved as
> > hs_err_pid22970.log #
> > # If you would like to submit a bug report, please visit:
> > #   http://java.sun.com/webapps/bugreport/crash.jsp
> > #
> > Aborted
> >
> > Gridway is running and the shared library path is updated.
> >
> > Any ideas?
> >
> > Thanks in advance.
> >
> > Cheers,
> >
> > Kay

-- 
+-----------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Dpto. Arquitectura de Computadores y Automatica
 Facultad de Informatica
 Universidad Complutense      phone  : +34 91 394 75 38
 28040 Madrid                 fax    : +34 91 394 75 27
 Spain                        email  : rubensm at dacya.ucm.es
 http://asds.dacya.ucm.es/
+-----------------------------------------------------------+

GridWay, The Way to Grid! http://www.gridway.org




More information about the gridway-user mailing list