Difference: RunMokkaLocally (15 vs. 16)

Revision 162014-02-03 - DanProtopopescu

Line: 1 to 1

Running Mokka simulations locally

Line: 208 to 208
  Run with Mokka Zee_cdr500.steer and Mokka -U Zee_cdr500_mdf1.steer.

Automating job submission

There's a script to simplify running Mokka simulations on the PPE compute farm. You can find it here:

I run it like this
    ppepc102>  ./run-ecal-run.sh <#events> <geom_version> <gen_set>
for example ./run-ecal-run.sh 500 mdf1 1335_16 will run 500 events, using template hzee-steer-mdf1.tpl for the Ecal geometry, and hzee_gen_1335_16.stdhep as input.

One will have to customise a few settings before using it, and download the stdhep files for input. Can also define a few more Ecal geometries (see templates/) to play with.

The script will create the relevant mac, steer and PBS script files, and submit the job straight away. If you modify the script, itís best to test your settings before actually submitting the jobs.

How to find the optimal number of events

One can use the stdhepjob utility from LCIO to count the number of events in the input .stdhep file, e.g.

     ppepc102> stdhepjob hzee_gen_1335_16.stdhep /tmp/out.slcio -1 
This will simply run over all events and print out how many were processed.

We found out that on our farm a 500 events jobs runs approximately 15h, so we could split the input in 2-3 runs by making use of /generator/skipEvents.

META FILEATTACHMENT attachment="100118_MokkaMarlinTutorial.pdf" attr="" comment="Mokka and Marlin tutorial for ILD - Jan 2009" date="1383314084" name="100118_MokkaMarlinTutorial.pdf" path="100118_MokkaMarlinTutorial.pdf" size="95943" stream="100118_MokkaMarlinTutorial.pdf" tmpFilename="/usr/tmp/CGItemp35661" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="MokkaTutorial.tar" attr="" comment="Mokka tutorial files (tar archive)" date="1383651879" name="MokkaTutorial.tar" path="MokkaTutorial.tar" size="9646080" stream="MokkaTutorial.tar" tmpFilename="/usr/tmp/CGItemp45058" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="ILD_G4_GLS.png" attr="" comment="ILD visualisation example (see text)" date="1383666516" name="ILD_G4_GLS.png" path="ILD_G4_GLS.png" size="61116" stream="ILD_G4_GLS.png" tmpFilename="/usr/tmp/CGItemp42504" user="DanProtopopescu" version="1"
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback