RAL Tier1 BatchFarm
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 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.