QwGeant4
tracking_simulation.xml.in
Go to the documentation of this file.
1 <Request>
2  <Email email="%user%@jlab.org" request="false" job="false"/>
3  <Project name="qweak"/>
4  <Track name="simulation"/>
5  <Name name="%name%_%jobid%"/>
6  <OS name="centos7"/>
7  <Command><![CDATA[
8 set file=`echo %dest%/%user%/rootfiles/%name%/%name%_%jobid%_simulation.root | sed 's|mss:||g'`
9 if ( -f $file ) exit 0
10 
11 date | tee -a /home/%user%/scratch/job/%name%_%jobid%.stat
12 ls -al $WORKDIR | tee -a /home/%user%/scratch/job/%name%_%jobid%.stat
13 
14 # Change to QwGeant4 directory
15 cd %qwgeant4%
16 mkdir -p rootfiles
17 ln -sf $WORKDIR rootfiles/%name%_%jobid%_workdir
18 build/QweakSimG4 macros/jobs/%name%_%jobid%.mac | grep -v ^Target
19 rm -f rootfiles/%name%_%jobid%_workdir
20 mv $WORKDIR/%name%_%jobid%.root $WORKDIR/%name%_%jobid%_simulation.root
21 
22 date | tee -a /home/%user%/scratch/job/%name%_%jobid%.stat
23 ls -al $WORKDIR | tee -a /home/%user%/scratch/job/%name%_%jobid%.stat
24 ls -al %qwgeant4% | tee -a /home/%user%/scratch/job/%name%_%jobid%.stat
25  ]]></Command>
26 
27  <Memory space="1800" unit="MB"/>
28  <TimeLimit unit="minutes" time="4320"/>
29 
30  <Job>
31  <Output src="%name%_%jobid%_simulation.root" dest="%dest%/%user%/rootfiles/%name%/%name%_%jobid%_simulation.root"/>
32  <Stdout dest="/home/%user%/scratch/job/%name%_%jobid%.out"/>
33  <Stderr dest="/home/%user%/scratch/job/%name%_%jobid%.err"/>
34  </Job>
35 
36 </Request>
37 
38 
39