TWiki
>
ATLAS Web
>
RunningMulitpleJobsOnCondor
(revision 1) (raw view)
Edit
Attach
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. <LITERAL> Universe = vanilla<br />initialdir = /a/home/karthur/apenson/testarea/13.0.40/AtlfastII/test<br />Executable = myjob<br />Arguments = "$(Process)"<br />Requirements = (Machine == "karthur.nevis.columbia.edu")<br />#Output = myjob.out.$(Process)<br />Error = myjob.err<br />#Log = myjob.log.$(Process)<br />should_transfer_files = IF_NEEDED<br />when_to_transfer_output = ON_EXIT<br />Queue 10<br /><br /><LITERAL> This is my executable =myjob=. The =expr= function converts the $(Process) number in a mass (in !GeV). The =sed= function then creates a temporary joboptions file from the master joboptions file =CSC.00xxxx.Hppee.py=. The =csc_*= scripts generate events using !AtlfastII <LITERAL> #!/bin/zsh<br />source ~/cmthome/setup.sh -tag=13.0.40<br />cd ~/testarea/13.0.40/AtlfastII/test<br /><br />higgs_mass=`expr 1000 + 100 \* $1`<br />events=100<br /><br />joboptions_file=CSC.00xxxx.Hppee.mass.py.tmp<br />output_file=CSC.00xxxx.Hppee.${higgs_mass}.AANT.root<br /><br />sed '/pmas 9900042/s/2000/'$higgs_mass'/' CSC.00xxxx.Hppee.py > $joboptions_file<br /><br />../csc_evgen_trf.py -t 8999 1 $events 54298752 $joboptions_file CSC.00xxxx.Hppee.evgen.pool.root.tmp NONE NONE |tee -a evgen.Hppee.${higgs_mass}.log<br />../csc_simul_trf.py CSC.00xxxx.Hppee.evgen.pool.root.tmp HITS.root.tmp RDO.root.tmp $events 0 12 "ATLAS-CSC-01-02-00" 1 2 'QGSP_EMV' 'CaloMuonOffSimulDigitConfig.py' |tee -a simul.Hppee.${higgs_mass}.log<br />../csc_recoFastCaloSim_IDonly_trf.py RDO.root.tmp AOD.root.tmp $output_file $events 0 "ATLAS-CSC-01-02-00" NONE |tee -a reco.Hppee.${higgs_mass}.log<br /><LITERAL>
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r5
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2008-06-02
-
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