Running jobs on the Grid - old
From Research IT
To start type :
'grid-proxy-init' -Note the port number that is given here.
- you will be prompted for a passcode. This creates a temporary, short lived credential for use by your computations. [[1]] For more options you can type in grid-proxit-init -help
'grid-proxy-info' - This will give you addistional proxy information.
To send Jobs to a computer in the grid first start a personal gate keeper:
'globus-personal-gatekeeper -start'
Now to run a job. There are different ways to do this, here are a couple of examples. You will need to have an executable program or command that you want to run.
Here is the 1st example. You need to create an RSL file [[2]]
globusrun -r "dell1.rit.albany.edu:<PORT_NUMBER>:/O=Grid/OU=GlobusTest/OU=simpleCA-dell2.rit.albany.edu/ OU=rit.albany.edu/CN=McKenzie Patrick D" -f uname_gram.rsl
where PORT_NUMBER is the port number generated by the command 'globus-personal-gatekeeper -start' here is an example .rsl file (this should all be in the .rsl file)
& (jobtype = single) (executable = "command") (arguments = "name") (count = 2) (stdout = "name" )
-executable is the command to use example "/bin/ls" -arguments are arguments to the executable -stdout is the filename of the stdout -jobtype and count and still investigating there usage -globus assumes path in the home directory
The 2nd example is using: globus-job-run this command does not need a rsl file here is an example globus-job-run "dell1.rit.albany.edu:<PORT_NUMBER>:/O=Grid/OU=GlobusTest/OU=simpleCA-dell2.rit.albany.edu/OU=rit.albany.edu/CN=McKenzie Patrick D" /bin/ls
before logging out, kill the 'globus-personal-gatekeeper -start' process. you can find the process number by using ps.
- Special thanks to Patrick Mackenzie, Vivek Balakrishnan, Ahmed Syed, Samik Banerjee, Amalnath Raghunathan-Nair and Maheswar Dey for providing the above documentation.
