1 / 13

Анализ данных эксперимента ATLAS с использованием GANGA Tutorial

Анализ данных эксперимента ATLAS с использованием GANGA Tutorial. ssh marinova@lxpub01.jinr.ru . /opt/exp_soft/atlas/software/14.2.10/setup.sh unset PYTHONPATH export CMTPATH=/afs/jinr.ru/user/ m / marinova /scratch0:$CMTPATH . /afs/.jinr.ru/atlas/atlas_env.sh

Download Presentation

Анализ данных эксперимента ATLAS с использованием GANGA Tutorial

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. Анализ данных эксперимента ATLAS с использованием GANGATutorial

  2. ssh marinova@lxpub01.jinr.ru . /opt/exp_soft/atlas/software/14.2.10/setup.sh unset PYTHONPATH export CMTPATH=/afs/jinr.ru/user/m/marinova/scratch0:$CMTPATH . /afs/.jinr.ru/atlas/atlas_env.sh cd workdir/PhysicsAnalysis/AnalysisCommon/UserAnalysis/run cp ../share/AnalysisSkeleton_topOptions.py . ganga -g что бы создать конфигурационны файл .gangarc Что необходимо сделать перед запуском:

  3. /usr/heimdal/bin/kinit shiykov@CERN.CH mkdir scratch0 cd scratch0 cmt co -r UserAnalysis-00-13-03 PhysicsAnalysis/AnalysisCommon/UserAnalysis cd PhysicsAnalysis/AnalysisCommon/UserAnalysis/cmt/ make Если нет пакета UserAnalysis

  4. ganga athena --inDS fdr08_run2.0052283.physics_Muon.merge.AOD.o3_f8_m10 \ --outputdata AnalysisSkeleton.aan.root --lcg --site LRZ \ AnalysisSkeleton_topOptions.py ganga /afs/.jinr.ru/atlas/ganga/install/5.0.8/bin/ganga выход Ctrl+d ganga --gui выход Job/Quit GANGA

  5. j = Job()‏ j.name='example' j.application=Athena()‏ j.application.atlas_release='14.2.10' j.application.prepare()‏ j.application.option_file='/afs/jinr.ru/user/m/marinova/scratch0/InstallArea/jobOptions/UserAnalysis/AnalysisSkeleton_topOptions.py' j.inputdata=ATLASLocalDataset()‏ j.inputdata.get_dataset('/afs/cern.ch/atlas/maxidisk/d47/v13/','*.root.*')‏ j.application.max_events='100' j.outputdata=ATLASOutputDataset()‏ j.outputdata.outputdata=['AnalysisSkeleton.aan.root'] j.outputdata.location = '/afs/jinr.ru/user/m/marinova' j.backend=Local()‏ j.submit()‏ можно execfile('/afs/jinr.ru/user/m/marinova/JobsGanga/JobGanga.py')‏ JobGanga.py

  6. j = Job()‏ j.application=Athena()‏ j.application.atlas_release='14.2.10' j.application.exclude_from_user_area=["*.o","*.root*","*.exe"] j.application.prepare(athena_compile=False)‏ j.application.option_file=['AnalysisSkeleton_topOptions.py' ] j.inputdata=DQ2Dataset()‏ j.inputdata.dataset="fdr08_run2.0052283.physics_Muon.merge.AOD.o3_f8_m10" j.outputdata=DQ2OutputDataset()‏ j.outputdata.outputdata=['AnalysisSkeleton.aan.root' ] j.splitter=DQ2JobSplitter()‏ j.splitter.numfiles=3 j.merger=AthenaOutputMerger()‏ j.backend=LCG()‏ j.backend.requirements.cloud='NL' j.submit()‏ JobGanga1.py

  7. inputdata outputdata DQ2Dataset DQ2OutputDataset ATLASLocalDataset ATLASOutputDataset ATLASDataset ATLASCastorDataset Какие есть datasets в Ganga

  8. Раньше j.backend.requirements=AtlasLCGRequirements()‏ j.backend.requirements.sites= ['LRZ', 'DESY-HH', 'TRIUMF'] j.application.option_file='/afs/jinr.ru/user/m/marinova/scratch0/PhysicsAnalysis/AnalysisCommon/UserAnalysis/run/AnalysisSkeleton_topOptions.py' сейчас j.backend.requirements.cloud='NL' j.application.option_file=['AnalysisSkeleton_topOptions.py' ]

  9. execfile('/afs/jinr.ru/user/m/marinova/JobsGanga/JobGanga.py')‏execfile('/afs/jinr.ru/user/m/marinova/JobsGanga/JobGanga.py')‏ jobs jobs(jobid).subjobs jobs(2).subjobs jobs(jobid).kill() jobs(5).kill()‏ jobs(jobid).remove() jobs(5).remove()‏ jobs(jobid).peek() jobs(6).peek()‏ jobs(jobid).peek('stdout', 'cat') jobs(6).peek('stdout', 'cat')‏ Команды которые используются чаще

  10. /gangadir/workspace/marinova/LocalAMGA/0/output Где найти файлы stdout и stderr

  11. d=DQ2Dataset() d.dataset='trig1_misal1_mc12.005322.PythiaVBFH170wwll.recon.AOD.v13003003_tid017852' d.list_locations()‏ d.list_locations_siteindex()‏ d.list_datasets(name='*5300*AOD*v120006*')‏ d.list_locations('trig1_misal1_csc11.005310.PythiaH120gamgam.recon.AOD.v12000601_tid005860')‏ d.list_locations('trig1_misal1_csc11.005310.PythiaH120gamgam.recon.AOD.v12000601_tid005860', complete=1)‏ d.list_locations_num_files('trig1_misal1_csc11.005310.PythiaH120gamgam.recon.AOD.v12000601_tid005860')‏ Работа с DQ2

  12. submitting submitted waiting ready scheduled running done Job status

  13. ganga --gui

More Related