Run Jobs Using Globus


The command globus-job-run will allow you to run a command on a grid computer.  The command globus-job-submit will submit a job to be run on a grid computer and allow you to query the results.  The syntax of globus-job-run is:

% globus-job-run <hostname> </path/executable> <arguments>

sierra:~> globus-job-run beowulf2.dartmouth.edu /bin/date
Tue Mar 22 15:06:22 EST 2005
sierra:~>
sierra:~> globus-job-run cs-01.grid.dartmouth.edu /bin/echo Hello World
Hello World
sierra:~>


The command globus-job-submit command is used for batch jobs. You submit a job to the scheduling manager (PBS,SGE,Condor)  and connect later to get the results. Use the command globus-job-status to see if the job has been completed and the command globus-job-get-output to get the output from the job.  The syntax of globus-job-submit is:

% globus-job-submit <hostname> </path/executable> <arguments>

sierra:~> globus-job-submit beowulf2.dartmouth.edu/jobmanager /bin/date
https://beowulf2.dartmouth.edu:45001/18715/1111691071/
sierra:~> globus-job-status https://beowulf2.dartmouth.edu:45001/18715/1111691071/
DONE
sierra:~> globus-job-get-output https://beowulf2.dartmouth.edu:45001/18715/1111691071/
Thu Mar 24 14:04:37 EST 2005
sierra:~>


Different Forms of the Contact String
  • hostname  - job is submitted to the fork jobmanager
  • hostname/jobmanager-fork    - runs on the master node with no resource manager
  • hostname/jobmanager -  job is submitted to fork jobmanager
  • hostname/jobmanager-pbs -  job is submitted to the PBS resource manager
  • hostname/jobmanager-sge -  job is submitted to the Sun Grid Engine (SGE) resource manager
  • hostname/jobmanager-condor - job is submitted to the Condor resource manager


Note:










Previous Top Next


Globus_Job_Run.src  last modified Jun 8, 2005 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College