RAL Tier1 BatchFarm

From GridPP Wiki
Revision as of 15:00, 12 June 2018 by Alastair Dewhurst 7601ce1f95 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

HTCondor

Cloud resources

ARC CE

Job Submission

Lets assume you have a job, which you run by executing the script “runjob.sh”. This script requires an input file “BdMassFit.cxx” to run. Note this is optional, but a lot of jobs do require some kind of input file other than the script being executed. You would have both of these files in the same directory. Our batch farm uses ARC CEs, so you will need a little arc jobs options[1] file, which we will call “test.xrsl” (also in the same directory).

$ cat test.xrsl
&(executable="runjob.sh")
(inputFiles=("BdMassFit.cxx" ""))
(stdout="test.out")
(stderr="test.err")
(memory="1000")
(jobname="Example_Job”)

To run the job do:

$ source /cvmfs/grid.cern.ch/emi3ui-latest/etc/profile.d/setup-ui-example.sh
$ arcproxy
Enter pass phrase for private key:
$ arcsub -c arc-ce01.gridpp.rl.ac.ul test.xrsl

This should then submit a job to our farm.



[1] http://www.nordugrid.org/documents/xrsl.pdf