Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Grid Services | ||||||||
Line: 52 to 57 | ||||||||
Submitting a jobJobs are submitted to a Compute Element (CE). The ScotGrid site at Glasgow has four CEs: | ||||||||
Changed: | ||||||||
< < | svr009.gla.scotgrid.ac.uk svr010.gla.scotgrid.ac.uk svr011.gla.scotgrid.ac.uk svr019.gla.scotgrid.ac.uk | |||||||
> > |
ce01.gla.scotgrid.ac.uk ce02.gla.scotgrid.ac.uk ce03.gla.scotgrid.ac.uk ce04.gla.scotgrid.ac.uk | |||||||
It does not matter which CE you choose to submit to. (If you've looked at the tutorial linked above, you'll see that Durham gave their CEs the sensible names ce1 , ce2 , etc. We thought that would be too easy.) | ||||||||
Line: 61 to 67 | ||||||||
It does not matter which CE you choose to submit to. (If you've looked at the tutorial linked above, you'll see that Durham gave their CEs the sensible names ce1 , ce2 , etc. We thought that would be too easy.)
Jobs are submitted using the arcsub command: | ||||||||
Added: | ||||||||
> > | ||||||||
$ arcsub -c <CE_HOSTNAME> <XRSL_FILENAME> | ||||||||
Changed: | ||||||||
< < | For example, to submit test.xrsl to svr011 at Glasgow:
$ arcsub -c svr011.gla.scotgrid.ac.uk test.xrsl Job submitted with jobid: gsiftp://svr011.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy | |||||||
> > | For example, to submit test.xrsl to ce03 at Glasgow:
$ arcsub -c ce03.gla.scotgrid.ac.uk test.xrsl Job submitted with jobid: gsiftp://ce03.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy | |||||||
When a job is submitted successfully, you will be presented with its job ID which can be used to refer to the job later. Information about submitted jobs is also recorded in a job list file; by default, this file is ~/.arc/jobs.dat (~/.arc/jobs.xml with some earlier versions of ARC), but you can choose a different location by supplying the -j argument to arcsub : | ||||||||
Line: 70 to 78 | ||||||||
When a job is submitted successfully, you will be presented with its job ID which can be used to refer to the job later. Information about submitted jobs is also recorded in a job list file; by default, this file is ~/.arc/jobs.dat (~/.arc/jobs.xml with some earlier versions of ARC), but you can choose a different location by supplying the -j argument to arcsub : | ||||||||
Added: | ||||||||
> > | ||||||||
$ arcsub -j <JOBLIST_FILENAME> -c <CE_HOSTNAME> <XRSL_FILENAME>For example: | ||||||||
Changed: | ||||||||
< < | $ arcsub -j test.dat -c svr011.gla.scotgrid.ac.uk test.xrsl | |||||||
> > |
$ arcsub -j test.dat -c ce03.gla.scotgrid.ac.uk test.xrsl | |||||||
Querying the status of a job | ||||||||
Line: 80 to 90 | ||||||||
Querying the status of a jobYou can obtain information about the status of jobs using thearcstat command: | ||||||||
Added: | ||||||||
> > | ||||||||
$ arcstat <JOB_ID>For example, to obtain information about the job submitted in the previous step: | ||||||||
Changed: | ||||||||
< < | $ arcstat gsiftp://svr011.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy Job: gsiftp://svr011.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy | |||||||
> > |
$ arcstat gsiftp://ce03.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy Job: gsiftp://ce03.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy | |||||||
Name: StageJob State: Queuing | ||||||||
Line: 101 to 114 | ||||||||
Retrieving job outputOutput and log files for a job can be retrieved using thearcget command. As when querying the status of a job, you can use either a job ID or a job list file with this command: | ||||||||
Added: | ||||||||
> > | ||||||||
$ arcget <JOB_ID> $ arcget -j <JOBLIST_FILENAME>For example, to get the output of the job submitted above: | ||||||||
Changed: | ||||||||
< < | $ arcget gsiftp://svr011.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy | |||||||
> > |
$ arcget gsiftp://ce03.gla.scotgrid.ac.uk:2811/jobs/NCKLDmEQkwrnZ4eC5pmRAbBiTBFKDmABFKDmpMFKDmABFKDmQffBxy | |||||||
Results stored at: p6vLDmj3kwrnZ4eC3pmXXsQmABFKDmABFKDm9pFKDmABFKDmtVM1wm Jobs processed: 1, successfully retrieved: 1, successfully cleaned: 1 |