1 / 19

Setup and run athena locally and on grid

Setup and run athena locally and on grid. Cunfeng feng 2005.9.19. Setup work environmental. The athena kits have been install in ui.hepg.sdu.edu.cn You should have account in UI. Setup work directory in ui (from Li Hengne report) cd /home/atlas/tools/pacman-3.11 source setup.sh

varana
Download Presentation

Setup and run athena locally and on grid

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Setup and run athena locally and on grid Cunfeng feng 2005.9.19

  2. Setup work environmental • The athena kits have been install in ui.hepg.sdu.edu.cn • You should have account in UI. • Setup work directory in ui (from Li Hengne report) • cd /home/atlas/tools/pacman-3.11 • source setup.sh • cd /home/atlas/AtlasRelease • source setup.sh • source dist/10.0.3/Control/AthenaRunTime/*/cmt/setup.sh • cd /home/fengcf/ • >mkdir –p work/10.0.3 • >cd work/10.0.3 • pacman –get /home/atlas/AtlasReleases :10.0.3/AtlasRelease-slc3_ia32-opt • ls o..pacman..o setup.csh setup.pl setup.py setup.sh trusted.cache

  3. CVS Access • Help : https://uimon.cern.ch/twiki/bin/view/Atlas/CvsAccess • mv /home/fengcf/.ssh /home/**/.ssh get identify to CVS (use minghui@lxplus.cern.ch account) • mv /home/fengcf/work/10.0.3/setup.sh /home/**/work/ or just adjust your work/setup.sh same as mine (set CVSROOT) source setup.sh • cd work/10.0.3 • cmt co –r AthExHelloWorld-00-01-12 Control/AthenaExamples/AthExHelloWorld • ssh minghui@isscvs.cern.ch ( don’t need passward)

  4. Modifying Athena Helloworld • cd work/10.0.3 • source ~/atlas-10.0.3-setup.sh • cmt co –r AthExHelloWorld-00-01-12 Control/AthenaExamples/AthExHelloWorld • cmt co –r UserAnalysis-00-02-02 PhysicsAnalysis/AnalysisCommon/UserAnalysis • cd Control/AthenaExamples/AthExHelloWorld/AthExHelloWorld-00-01-12/src • vi HelloWorld.cxx • cd ../cmt • cmt config • source setup.sh • gmake • cd PhysicsAnalysis/AnalysisCommon/UserAnalysis/UserAnalysis-00-02-02/run • get_files HelloWorldOptions.py • Athena.py HelloWorldOptions.py

  5. ATLAS analysis code install • cd work/10.0.3 • source ~/atlas-10.0.3-setup.sh • cmt co –r AnalysisExamples-00-09-18 PhysicsAnalysis/Analysiscommon/AnalysisExamples • You will something like: /home/fengcf/work/10.0.3/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/AnalysisExamples-00-09-18/ls AnalysisExamples cmt doc python scripts src ChangeLog CVS mergingAOD run share

  6. Run ATHENA • cd cmt • cmt config • source setup.sh • gmake • “InstallArea” will appear in you work/10.0.3/ after above operation. • cd ../share • vi ttbarExample_jobOptions.py • cd ../run • athena.py ../ttbarExample_jobOptions.py

  7. ttbarExample_jobOption.py

  8. Run again • copy /home/fengcf2/atlas-10.0.3-setup.sh /home/**/. • cd work/10.0.3/ • source ~/atlas-10.0.3-setup.sh • cd PhysicsAnalysis/Analysis/Common/AnalysisExaples/AnalysisExamples-00-09-18/src • vi *.cxx • cd ../cmt • cmt config • source setup.sh • gamke • cd ../run/

  9. Modify the code • We has add some code in AnalysisExamples-00-09-18 • You can just copy the file in my src, share, AnalysisExamples to the same directory where you work. • cmt/gmake • vi share/ttbarExample_jobOptions_small.py • cd run/ • athena.py ../share/ttbarExample_jobOptions_small.py

  10. Rome files form:rome.AAAAAA.TYPE.DECS._NUM.END • AAAAAA: • 0040xx and 0049xx is a single particle sample (RomeCalibrationWiki) • 0041xx is a "background sample" (RomeBackgroundWiki) • 0042xx is a sample owned by the standard model group (RomeStandardWiki) • 0043xx is a sample owned by the Higgs group (RomeHiggsWiki) • 0044xx is a sample owned by the SUSY group (RomeSUSYWiki) • 0045xx is a sample owned by the Top (RomeTopWiki) • 0046xx is a sample owned by the Exotics group (RomeExoticWiki) • 0047xx is a sample owned by the B-group (RomeBWiki) • 0048xx (xx =01 to 49) is a sample owned by the jet/missing Et group group (JetMissingET) • 0048xx (xx =50 to 99) is a sample owned by b-tagging group (RomeBtagging)

  11. TYPE: • evgen corresponding to generated events • simul corresponding events processed by Geant-4 • digi corresponding to digitised events with no pile up (with noise) • lumi01 corresponding to digitised events with 1x10**33 pile up (with noise) • reco is an output from reconstruction

  12. DECS: string provides a short discription of the data (e.g. ttbarWp) • NUM: starting from 00001 • END: log or pool.root in case of TYPE=reco, END=pool.root for ESD END=CBNT.root for CBNT END=AOD.pool.root for AOD

  13. Samples • Rome samples : 004521 and 004520 • 187985 semileptonic ttbar events (l = e, mu) • Parameters • Mtop=175 GeV • CTEQ5L(The Coordinated Theoretical-Experimental Project on QCD ) • ISR/FSR on • Multiple Interaction = DC2 • Q-scale = default Toprex (sqrt(Mtop**2+PTttop**2) • Generation : 9.0.4 • TopReX 4.09 and Pythia 6.226, with spin correlation • Simulation, digitization : 9.0.4 • Initial detector geometry • Reconstruction : 10.0.1 • Use AOD

  14. Rome.*.recov10.ttbarW*._*.AOD.pool.root • Without pileup • ref. 4520 : W- decays to leptons (e, mu), W+ decays to jets (Wm) • ref. 4521 : W+ decays to leptons (e, mu), W- decays to jets (Wp) • NLO cross-section:125pb

  15. Rome data • Part of rome ttbar AOD data copied to /home/fengcf2/data/romeTopAOD/ rome.004521.recov10.ttbarWp._00001.AOD.pool.root • Part of them with error, don’t us: • the file whose size is 0 • 00817 • 00886 • 01190 • run/testDataSample.py include all the data file

  16. On grid • tar –cvlpf checkout.tar Control PhysicsAnalysis • vi HelloWorld.cxx (copy from Control/…) • vi hello.sh • vi hello.jdl • grid-proxy-init • edg-job-submit –vo atlas –o jobID hello.jdl

  17. On grid • Hello.sh #!/bin/bash # Script to run AthenaHelloWorld on the Grid source $VO_ATLAS_SW_DIR/software/10.0.1/setup.sh source $SITEROOT/dist/10.0.1/Control/AthenaRunTime/*/cmt/setup.sh export CMTPATH=`pwd`:$CMTPATH # Create the checked out package then replace the modified file tar -xf checkout.tar cp HelloWorld.cxx Control/AthenaExamples/AthExHelloWorld/AthExHelloWorld-00-01-12/src/ # Rebuild cd Control/AthenaExamples/AthExHelloWorld/AthExHelloWorld-00-01-12/cmt cmt config source setup.sh gmake cd ../../../../.. athena.py HelloWorldOptions.py

  18. On grid • Hello.jdl ############# Athena ################# Executable = "hello.sh"; StdOutput = "hello.out"; StdError = "hello.err"; InputSandbox = {"hello.sh","HelloWorldOptions.py","checkout.tar","HelloWorld.cxx"}; OutputSandbox = {"hello.out","hello.err", "CLIDDBout.txt"}; Requirements = Member("VO-atlas-release-10.0.3", other.GlueHostApplicationSoftwareRunTimeEnvironment); ######################################

  19. Using Don Quijote(ATLAS Experiment Data Management System ) • Install DQ • cd • wget http://www/mi.infi.it/~gnegri/dms2.tgz • tar xvzf dms2.tgz • dms2.py search ‘rome.*AOD.pool.root’ • dms2.py get rome.004201.reco.ZeeJimmy._00001.AOD.pool.root --catalog=PoolFileCatalog.xml --copy --remote (copy a file to the current directory and create a POOL catalogue file PoolFileCatalog.xml)

More Related