TWiki
>
ATLAS Web
>
RunningMulitpleJobsOnCondor
(2008-06-20,
AlexPenson
)
(raw view)
E
dit
A
ttach
I wanted to generate events for a series of values of Higgs mass. Here are the files: This is my condor job file =myjob.cmd=. The last line of the job file =Queue 10= creates 10 condor jobs. The variable =$(Process)= runs from 0..9. <verbatim>initialdir = /a/home/karthur/apenson/testarea/13.0.40/AtlfastII/WprWZqqee_mass Executable = myjob Arguments = "$(Process)" Requirements = (Machine == "karthur.nevis.columbia.edu") #Output = myjob.out.$(Process) Error = myjob.err #Log = myjob.log.$(Process) should_transfer_files = IF_NEEDED when_to_transfer_output = ON_EXIT Queue 10 </verbatim> This is my executable =myjob=. Its argument is the =$(Process)= variable. The =expr= function converts this into a mass (in !GeV). The =sed= function then creates a temporary joboptions file from the master file =CSC.00xxxx.WprWZqqee.py=. The =csc_*= scripts generate events using !AtlfastII <verbatim> #!/bin/zsh source ~/cmthome/setup.sh -tag=13.0.40 cd /a/home/karthur/apenson/testarea/13.0.40/AtlfastII/WprWZqqee_mass higgs_mass=`expr 1000 + 100 \* $1` events=1000 joboptions_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.py.tmp sed '/pmas 34/s/2000/'$higgs_mass'/' CSC.00xxxx.WprWZqqee.py > $joboptions_file intermediate_rdo_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.RDO.root intermediate_hits_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.HITS.root intermediate_evgen_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.evgen.pool.root output_aant_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.AANT.root output_aod_file=CSC.00xxxx.WprWZqqee.${higgs_mass}.AOD.root ../csc_evgen_trf.py -t 8999 1 $events 54298752 $joboptions_file $intermediate_evgen_file NONE NONE |tee -a evgen.WprWZqqee.${higgs_mass}.log ../csc_simul_trf.py $intermediate_evgen_file $intermediate_hits_file $intermediate_rdo_file $events 0 12 "ATLAS-CSC-01-02-00" 1 2 'QGSP_EMV' 'CaloMuonOffSimulDigitConfig.py' |tee -a simul.WprWZqqee.${higgs_mass}.log ../csc_recoFastCaloSim_IDonly_trf.py $intermediate_rdo_file $output_aod_file $output_aant_file $events 0 "ATLAS-CSC-01-02-00" NONE |tee -a reco.WprWZqqee.${higgs_mass}.log </verbatim>
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2008-06-20
-
AlexPenson
ATLAS
Log In
or
Register
ATLAS Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
DOE
Main
TWiki
Veritas
Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback