https://www.gridpp.ac.uk/w/index.php?title=RAL_Tier1_BatchFarm&feed=atom&action=historyRAL Tier1 BatchFarm - Revision history2024-03-28T15:59:51ZRevision history for this page on the wikiMediaWiki 1.22.0https://www.gridpp.ac.uk/w/index.php?title=RAL_Tier1_BatchFarm&diff=17847&oldid=prevAlastair Dewhurst 7601ce1f95: Created page with " ==HTCondor== ===Cloud resources=== ==ARC CE== ==Job Submission== Lets assume you have a job, which you run by executing the script “runjob.sh”. This script require..."2018-06-12T15:00:26Z<p>Created page with " ==HTCondor== ===Cloud resources=== ==ARC CE== ==Job Submission== Lets assume you have a job, which you run by executing the script “runjob.sh”. This script require..."</p>
<p><b>New page</b></p><div><br />
==HTCondor==<br />
<br />
<br />
===Cloud resources===<br />
<br />
==ARC CE==<br />
<br />
<br />
==Job Submission==<br />
<br />
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).<br />
<br />
<pre><br />
$ cat test.xrsl<br />
&(executable="runjob.sh")<br />
(inputFiles=("BdMassFit.cxx" ""))<br />
(stdout="test.out")<br />
(stderr="test.err")<br />
(memory="1000")<br />
(jobname="Example_Job”)<br />
</pre><br />
<br />
To run the job do:<br />
<pre><br />
$ source /cvmfs/grid.cern.ch/emi3ui-latest/etc/profile.d/setup-ui-example.sh<br />
$ arcproxy<br />
Enter pass phrase for private key:<br />
$ arcsub -c arc-ce01.gridpp.rl.ac.ul test.xrsl<br />
</pre><br />
<br />
This should then submit a job to our farm.<br />
<br />
<br />
<br />
<br />
[1] http://www.nordugrid.org/documents/xrsl.pdf</div>Alastair Dewhurst 7601ce1f95