Example of Parallel (MPI) Job with Globus RSL

To instruct Globus to invoke mpirun and load the default MPI libraries for a site, you need only specify a few RSL attributes:

& (jobtype=mpi)
  (count=8)
  (environment=(GLOBUS_DUROC_SUBJOB_INDEX 0))
  (executable="/scratch/local/colbykd/matrix_mult_mpi")

Note that Notre Dame’s SGE scheduler does not currently work with Globus correctly, such that submitting the above to jobmanager-sge at Notre Dame will not work. MPI instructions for Notre Dame appear later in the document.

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

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

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

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

Notre Dame Example of Parallel (MPI) Job with Globus RSL

Example to come.

 
Last modified:  November 14, 2007  10:19am EST
 
Recent changes RSS feed Creative Commons License Donate Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Powered by Joom Prosolution