RAL Tier1 BatchFarm

From GridPP Wiki
Jump to: navigation, search


Cloud resources


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
(inputFiles=("BdMassFit.cxx" ""))

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