
What you find in this directory
-------------------------------

Makefile:
	Creates the application "mycopy". Depends on the environment
	variable GLOBUS_DEVELOPMENT_PATH. For instructions on how to
	set this variable see makefile. 

gramtest.c
	Example program showing how to do a GRAM submission.
	Richly commented.

myjobtest.c
	Example program showing how to use the gram_myjob utility to
	establish a hierarchy (rank,size) between the processes the 
	GRAM submission.

run-gramtest
	Shell script that submits a test job using gramtest.By default
	run-gramtest tries to run the job on
	pitcairn.mcs.anl.gov. This can be changed by setting the
	environment variable GRAMCONTACT. 

run-myjobtest
	Shell script that starts a GRAM job with argv[1] number of
	myjobtest processes. By default run-myjobtest tries to run the
	job on pitcairn.mcs.anl.gov. This can be changed by setting
	the environment variable GRAMCONTACT.

Exercises:
	1.
	Look at the code in gramtest.c, make and try it out using the
	run-gramtest script (take a look at the script as well).

	2.
	Look at the code in myjobtest.c, make and try it out using the
	run-myjobtest script  (take a look at the script as well).

	3.
	Extend myjobtest.c to do a broadcast using the gram_myjob send
	and receive routines, as described in the "TODO" comment in the
	code.




