Running on Cosmics at CERN

Introduction

Carl has written a very useful script to run jobs on the (reprocessed ) cosmic data on the Lxplus batch queues. This has only been validated on the reprocessed data, using the default jobOption_cosmic.py file. Please note that, this was validated in 14.5.X . The jobOption file that i used to test is in
 ~hhayward/public/RunningOnCosmics/jobOptions_cosmic.py
Currently this won't work for RAW data, but can be modified. Please email if this is of use to you !

  • You will need to take care of the geometry tag yourself if you are not running on the reprocessed data.
    • It should take care of the magnetic field tag itself.
  • you will need to care that the doReadBS flag is correctly set in your jobOptions file

Example

  • Setup ATLAS in your favourite release, and checkout the corresponding version of InDetRecExample.
    • to find out the corresponding version, type:
       cmt show versions InnerDetector/InDetExample/InDetRecExample 
    • to check out:
       cmt co -r InDetRecExample-XX-YY-ZZ InnerDetector/InDetExample/InDetRecExample 
  • Setup the directory:
      cd InnerDetector/InDetExample/InDetRecExample/cmt
      cmt config && source setup.sh && gmake
      cd ../run
      cp ~hhayward/public/RunningOnCosmics/Batch.py ~hhayward/public/RunningOnCosmics/submit.sh .
      cp ../share/jobOptions_cosmics.py .

  • make sure that doReadBS=False
  • edit such that it points to your directories and not mine !
  • you now should be able to run !
    source submit.sh

Options

short OptionSorted descending Option explanation
-z --test Test (create scripts, but do not submit jobs)
-v --version software version
-t --tag project tag, e.g. data08_idcomm, data08_cosmag,data08_cos
-T --type type of input, e.g. ESD, AOD, DPD
-s --subjobs number of subjobs
-S --stream trigger stream, e.g physics_IDCosmic
-r --run run number
-q --queue lxplus batch queue
-o --output outpur directory
-n --name name of job
-j --jobopts jobOption file
-h --help print this help and exit
-g --geo Geometry version
-e --events number of events per subjob

-- HelenHayward - 16 Feb 2009

This topic: ATLAS > WebHome > RunningOnCosmics
Topic revision: 17 Feb 2009, HelenHayward
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback