DUROC test application

Files:

Description:

This program is similar to the "nexus_duroc_ring" example, but it does more diagnostic (and even illegal) operations to help test the DUROC runtime components. For information on getting started with DUROC, please see that example or the main DUROC documents instead.

This program is identical to the DUROC test application included in the DUROC subdirectory of the Globus release. Only the build process is different, since it is structured for external builds against a pre-installed Globus library instead of building during the Globus build process.

How to run this program:

This program can be run directly (command-line, mpirun, queue submission, etc. depending on the variation of the build) as well as in a DUROC submitted job. In the latter case, the job may run on a heterogeneous mixture of resources with any combination of subjob sizes. Amoung the several possibilities existing to do so, the easiest is probably to use globusrun, as in the example below:

globusrun -s -f spec
Where spec is a file containing, for example, the following rsl specification:

+(
   &( directory = /your/directory/Examples/ )
    ( executable = duroc-test-app )
    ( count = 2 )
    ( resourceManagerContact = "machineone.mcs.anl.gov:8713:/C=US/O=Globus/O=Argonne National Laboratory/OU=MCS/CN=machineone.mcs.anl.gov-fork" )
 )
 (
   &( directory = /your/directory/Examples/nexus_duroc_ring )
    ( executable = duroc-test-app )
    ( count = 5 )
    ( resourceManagerContact = "machinetwo.mcs.anl.gov:8713:/C=US/O=Globus/O=Argonne National Laboratory/OU=MCS/CN=machinetwo.mcs.anl.gov-fork" )
 )

It will create a job containning 2 subjobs

(Ref. globusrun for more information)

How to build this program:

The example DUROC test application can be built in two ways. To build against a single flavor of Globus development library, simply edit Makefile and set the GLOBUS_LIB_PREFIX variable to point to a specific Globus development flavor, e.g.
GLOBUS_LIB_PREFIX = /usr/local/globus/development/mips-sgi-irix6.4-n32_nothreads_standard_debug
this will allow a simple "make" command to build an executable duroc-test-app.

Optionally, you can use the provided make-all-flavors script to automatically build the test application for all available Globus development libraries. Using the same installation files as in the above example:

% ./make-all-flavors /usr/local/globus/
this will build multiple executables duroc-test-app.flavor, one for each Globus development flavor installed under the provided location /usr/local/globus.