next up previous
Next: Working with the Standalone Up: Getting Started Previous: Get your certificate

   
Launch Job

To be able to launch a job against a GT3 container, you first need to run grid-proxy-init. This creates a proxy certificate for you and stores it as /tmp/x509up_u[user number], where [user number] is your user number as given in /etc/passwd. Of course, you'll also need to have a running GT3 container to launch the job against. If one isn't available, you can use the standalone container provided with GT3. For information on how to use this container, see Section 2.

To launch a job, you use the MasterForkManagedJobFactoryService. GT3 comes with a test job that can be launched as a test that you have everything set up correctly. To run this test, change to the /usr/local/globus directory and isse the following command:

managed-job-globusrun -factory \
http://host:port/ogsa/services/base/gram/MasterForkManagedJobFactoryService \
-file etc/test.xml
Replace host and port with the appropriate values. If this test runs successfully, you will see:
WAITING FOR JOB TO FINISH
========== Status Notification ==========
Job Status: Done
========================================= 
DESTROYING SERVICE
SERVICE DESTROYED
The files stdout and stderr will be created in your home directory. stdout should contain:
12 abc 34 pdscaex_instr_GrADS_grads23_28919.cfg pgwynnel was here



Marcus A Christie
2003-11-06