Simple Globus RSL Job Example

To verify you can run a simple Globus RSL job, first create a file named “hostname.rsl” with the following contents:

& (jobtype=single)
  (environment=(GLOBUS_DUROC_SUBJOB_INDEX 0))
  (executable="/bin/hostname")

Then, submit this RSL file to the Purdue Altix (caesar):

globusrun -s -f hostname.rsl -r gatekeeper.purdue.nwicgrid.org/jobmanager-pbs

Or submit the same to the Notre Dame cluster:

globusrun -s -f hostname.rsl -r gatekeeper.nd.nwicgrid.org/jobmanager-sge

If you would like to redirect your output and error, you may add the following parameters to the RSL file:

  (stdout=hostname.out)
  (stderr=hostname.err)