This Twiki documents a sequence on how to make a large-scale ALPGEN event production at SPRACE upon request. It assumes the following conditions:
access
server at SPRACE.
mkdir ZbbGrids_7TeV wget http://cmsdoc.cern.ch/~mpierini/cms/alpgen_7TeV/PRODUCTION_zbb.tar.gz tar -xzf PRODUCTION_zbb.tar.gz mv PRODUCTION ZbbGrids_7TeV rm PRODUCTION_zbb.tar.gz
mkdir Zbb7TeV mkdir Zbb7TeV/zbb_0j mkdir Zbb7TeV/zbb_1j mkdir Zbb7TeV/zbb_2j mkdir Zbb7TeV/zbb_3j
cp scripts/*.py scripts/*.sh Zbb7TeV seq 0 3 | xargs -i bash -c "cp ZbbGrids_7TeV/PRODUCTION/input_zbb_{}j Zbb7TeV/zbb_{}j/input" ls -d Zbb7TeV/*j | xargs -i bash -c "cp Zbb7TeV/*.py {}"
emacs Zbb7TeV/zbb_0j/input emacs Zbb7TeV/zbb_1j/input emacs Zbb7TeV/zbb_2j/input emacs Zbb7TeV/zbb_3j/input
doProduction.sh
script, and the number of jobs asked in the doGrandProduction.sh
script. Try to not submit more than 200 jobs at a time.
emacs Zbb7TeV/doProduction.sh emacs Zbb7TeV/doGrandProduction.sh
cd Zbb7TeV ./doGrandProduction.sh condor_q
cd Zbb7TeV python sprace_ALPGEN_merge.py 0Check if the unw.par file is correctly created, and check if there are enough events. Create another batch of jobs if needed.
python sprace_ALPGEN_merge.py 1This will create the .unw file with the actual events, and will suggest a command line for packing (.tar.gz) the original .wgt and .par files.
cmsRun test_ALPGEN_source_cfg.pyThis will shift the unweighted events from .unw to .lhe files. Both .lhe and the .tar.gz created in the step above are suitable for uploading to MCDB.
-- ThiagoTomei - 17 Jan 2010
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
doGrandProduction.sh | r1 | manage | 0.9 K | 2009-11-11 - 11:18 | ThiagoTomei | |
![]() |
doProduction.sh | r1 | manage | 0.7 K | 2009-11-11 - 11:18 | ThiagoTomei | |
![]() |
fixFile.sh | r1 | manage | 0.3 K | 2009-11-11 - 11:19 | ThiagoTomei | |
![]() |
sprace_ALPGEN_merge.py.txt | r1 | manage | 3.1 K | 2009-11-11 - 11:19 | ThiagoTomei | |
![]() |
sprace_ALPGEN_submit.py.txt | r1 | manage | 3.3 K | 2009-11-11 - 11:19 | ThiagoTomei | |
![]() |
testAlpgenSource_cfg.py.txt | r1 | manage | 0.5 K | 2009-11-11 - 11:20 | ThiagoTomei | |
![]() |
theBigScript.sh | r1 | manage | 1.2 K | 2009-11-11 - 11:20 | ThiagoTomei |
antalya escort bursa escort eskisehir escort istanbul escort izmir escort