Globus Toolkit Tutorial The Globus Consortium
 
 

Chapter 8: Connecting Globus Gram WS and SUN Grid Engine

Testing the GRAM WS SGE jobmanager

To test the GRAM WS SSE jobmanager start the container on nodeC as user globus:

[globus@nodeB ~]$ export JAVA_HOME=/opt/jdk1.5.0_06
[globus@nodeB ~]$ export PATH=$JAVA_HOME/bin:$PATH
[globus@nodeB ~]$ which java
/opt/jdk1.5.0_06/bin/java
[globus@nodeB ~]$ export GLOBUS_OPTIONS=-Xmx512M
[globus@nodeB ~]$ /opt/globus-4.0.1/bin/globus-start-container > $HOME/container.out 2>&1 &

You may receive a warning message that the executeable globus-scheduler-provider-sge is missing. This message may be ignored.

On nodeA using the user jane credentials submit a job into the SGE queue:

[jane@nodeA ~]$ globusrun-ws -submit -F https://nodec.ps.univa.com:8443/wsrf/services/ManagedJobFactoryService -Ft SGE -c /bin/sleep 120
Submitting job...Done.
Job ID: uuid:bb57bd70-a556-11da-9d3e-0011d8b1eb22
Termination time: 02/25/2006 16:58 GMT
Current job state: Pending
Current job state: Active
Current job state: CleanUp
Current job state: Done
Destroying job...Done.

On nodeC you should be able to "watch" the job as it runs:

[root@nodeC ~]# /opt/sge-root/bin/lx24-x86/qstat -f
queuename qtype used/tot. load_avg arch states
----------------------------------------------------------------------------
all.q@nodeC.ps.univa.com BIP 1/2 0.19 lx24-x86
4 0.55500 sge_job_sc jane r 02/24/2006 10:58:15 1

 
 
 
FAQ Feedback The Globus Consortium Home Page