1Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration.

Slides:



Advertisements
Similar presentations
1 14 Feb 2007 CMS Italia – Napoli A. Fanfani Univ. Bologna A. Fanfani University of Bologna MC Production System & DM catalogue.
Advertisements

SARA Reken- en NetwerkdienstenToPoS | 3 juni 2007 More efficient job submission Evert Lammerts SARA Computing and Networking Services High Performance.
INFSO-RI Enabling Grids for E-sciencE Workload Management System and Job Description Language.
1 CRAB Tutorial 19/02/2009 CERN F.Fanzago CRAB tutorial 19/02/2009 Marco Calloni CERN – Milano Bicocca Federica Fanzago INFN Padova.
1 CMS user jobs submission with the usage of ASAP Natalia Ilina 16/04/2007, ITEP, Moscow.
CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 CRAB Tutorial (Cms Remote Analysis Builder)
User Experience in using CRAB and the LPC CAF Suvadeep Bose TIFR/LPC CMS101++ June 20, 2008.
SEE-GRID-SCI User Interface (UI) Installation and Configuration Branimir Ackovic Institute of Physics Serbia The SEE-GRID-SCI.
Riccardo Bruno, INFN.CT Sevilla, 10-14/09/2007 GENIUS Exercises.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Tutorial Getting started with GILDA.
GRID workload management system and CMS fall production Massimo Sgaravatto INFN Padova.
A tool to enable CMS Distributed Analysis
Enabling Grids for E-sciencE gLite training at Sinaia '06 Victor Penso Kilian Schwarz GSI Darmstadt Germany.
Physicists's experience of the EGEE/LCG infrastructure usage for CMS jobs submission Natalia Ilina (ITEP Moscow) NEC’2007.
Workload Management WP Status and next steps Massimo Sgaravatto INFN Padova.
1 Dynamic Application Installation (Case of CMS on OSG) Introduction CMS Software Installation Overview Software Installation Issues Validation Considerations.
OSG Services at Tier2 Centers Rob Gardner University of Chicago WLCG Tier2 Workshop CERN June 12-14, 2006.
F.Fanzago – INFN Padova ; S.Lacaprara – LNL; D.Spiga – Universita’ Perugia M.Corvo - CERN; N.DeFilippis - Universita' Bari; A.Fanfani – Universita’ Bologna;
:: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: :: GridKA School 2009 MPI on Grids 1 MPI On Grids September 3 rd, GridKA School 2009.
How to Install and Use the DQ2 User Tools US ATLAS Tier2 workshop at IU June 20, Bloomington, IN Marco Mambelli University of Chicago.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Workload Management System + Logging&Bookkeeping Installation.
July 28' 2011INDIA-CMS_meeting_BARC1 Tier-3 TIFR Makrand Siddhabhatti DHEP, TIFR Mumbai July 291INDIA-CMS_meeting_BARC.
November SC06 Tampa F.Fanzago CRAB a user-friendly tool for CMS distributed analysis Federica Fanzago INFN-PADOVA for CRAB team.
Giuseppe Codispoti INFN - Bologna Egee User ForumMarch 2th BOSS: the CMS interface for job summission, monitoring and bookkeeping W. Bacchi, P.
Open Science Grid OSG CE Quick Install Guide Siddhartha E.S University of Florida.
PRS Session, May 12, 2006Filip Moortgat, ETHZ Generator Interface Generator Interface in CMSSW existing/planned interfaces with generators content of the.
Maarten Litmaath (CERN), GDB meeting, CERN, 2006/02/08 VOMS deployment Extent of VOMS usage in LCG-2 –Node types gLite 3.0 Issues Conclusions.
Test Beam Oriented CMSSW Tutorial Sergei Gleyzer Professor Harrison Prosper FIU CMS Workshop.
CERN Using the SAM framework for the CMS specific tests Andrea Sciabà System Analysis WG Meeting 15 November, 2007.
User Experience in using CRAB and the LPC CAF Suvadeep Bose TIFR/LPC US CMS 2008 Run Plan Workshop May 15, 2008.
INFSO-RI Enabling Grids for E-sciencE Αthanasia Asiki Computing Systems Laboratory, National Technical.
Enabling Grids for E-sciencE Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi.
Tier 3 Status at Panjab V. Bhatnagar, S. Gautam India-CMS Meeting, July 20-21, 2007 BARC, Mumbai Centre of Advanced Study in Physics, Panjab University,
Korea Workshop May GAE CMS Analysis (Example) Michael Thomas (on behalf of the GAE group)
1 CMS Software Installation, Bockjoo Kim, 23 Oct. 2008, T3 Workshop, Fermilab CMS Commissioning and First Data Stan Durkin The Ohio State University for.
Open Science Grid Build a Grid Session Siddhartha E.S University of Florida.
Enabling Grids for E-sciencE CMS/ARDA activity within the CMS distributed system Julia Andreeva, CERN On behalf of ARDA group CHEP06.
Distributed Analysis Tutorial Dietrich Liko. Overview  Three grid flavors in ATLAS EGEE OSG Nordugrid  Distributed Analysis Activities GANGA/LCG PANDA/OSG.
User Interface UI TP: UI User Interface installation & configuration.
D.Spiga, L.Servoli, L.Faina INFN & University of Perugia CRAB WorkFlow : CRAB: CMS Remote Analysis Builder A CMS specific tool written in python and developed.
12th EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
EGI-InSPIRE RI Grid Training for Power Users EGI-InSPIRE N G I A E G I S Grid Training for Power Users Institute of Physics Belgrade.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Hands on gLite Security.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) UI Installation and Configuration Dong Xu IHEP,
Enabling Grids for E-sciencE gLite security pratical tutorial Dario Russo INFN Catania Catania,
1 Tutorial:Initiation a l’Utilisation de la Grille EGEE/LCG, June 5-6 N. De Filippis CMS tools for distributed analysis N. De Filippis - LLR-Ecole Polytechnique.
Data Analysis with CMSSW ● Running a simple analysis:  Within the framework: EDAnalyzer  Interactive: FWLite + PyRoot ● Finding the data with DBS/DLS.
RI EGI-TF 2010, Tutorial Managing an EGEE/EGI Virtual Organisation (VO) with EDGES bridged Desktop Resources Tutorial Robert Lovas, MTA SZTAKI.
GRID commands lines Original presentation from David Bouvet CC/IN2P3/CNRS.
CERN IT Department CH-1211 Genève 23 Switzerland t CMS SAM Testing Andrea Sciabà Grid Deployment Board May 14, 2008.
Introduction to Computing Element HsiKai Wang Academia Sinica Grid Computing Center, Taiwan.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Enabling Grids for E-sciencE Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial.
EGI-InSPIRE RI EGI Training for AEGIS Site Administrators EGI-InSPIRE N G I A E G I S EGI Training for AEGIS Site Administrators Institute.
MyProxy Server Installation
Introductions Using gLite Grid Miguel Angel Díaz Corchero
BOSS: the CMS interface for job summission, monitoring and bookkeeping
BOSS: the CMS interface for job summission, monitoring and bookkeeping
CMS OSG Motivation and Introduction Overview
Installing and Running a CMS T3 Using OSG Software - UCR
UI Installation and Configuration
CRAB and local batch submission
HTCondor Tutorial YuChul Yang (Kyungpook National University)
BOSS: the CMS interface for job summission, monitoring and bookkeeping
gLite User Interface Installation
MET Experience at UF Bobby Scurlock University of Florida
N. De Filippis - LLR-Ecole Polytechnique
gLite User Interface Installation and configuration
GENIUS Grid portal Hands on
Site availability Dec. 19 th 2006
Presentation transcript:

1Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Analysis Using CRAB On The Grid Bockjoo Kim U of Florida Bockjoo Kim U of Florida C R A B A practical introduction to

2Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Outline of Analysis Using CRAB Certificate Processing: The first BIG steps Grid Tools CMSSW CRAB Example Configurations Example Analysis Using EDAnalyzer Putting Everything Together

3Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Create Certificate Certificate Processing Created Certificate usercert.pem* and userkey.pem Register Certificate from RA’s Signed Certificate usercert.pem& and userkey.pem Choose CMS as your VO Register yourself as a human at CERN Choose your role as the cmsuser in /cms/uscms group. cmsfrontier, cmsphedex, cmsprod, cmssoft, cmst1admin, cmst1admin, cmsuser

4Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Grid Tools Grid Tools : OSG Client+Condor-G Available at some USCMS T2 Analysis Hosts Example : alachua.phys.ufl.edu Install personal OSG client+Condor-G : OSG packaging : Pacman has to be used Condor-G configuration maybe non-trivial

5Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Grid Tools Grid Tools : EGEE gLite UI Available at some USCMS T2 Analysis Hosts One can also install personal gLite UI : Very non-trivial installation for first-timer No SL4 version yet (to be available soon) Important for interoperability ( EGEE--> OSG )

6Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration CMSSW CMSSW is required for CRAB job creation Available at OSG T2 sites One can also install CMSSW on {desk,lap}top : General install instruction : install scripts on OSG : Example SL4 CMSSW install SL3 vs SL4 : CRAB not tested with SL4 yet

7Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration CRAB Available at some T2 sites UCSD, Caltech, Wisconsin, UFL One can also install personal CRAB Production Release /afs/cern.ch/cms/ccs/wm/scripts/Crab/CRAB_1_4_1_pre1.tgz : Pre-release Data Bookkeeping System (DBS) evolves: Something that one needs to watch out CRAB Configuration : scheduler and data mostly

8Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration CRAB Configuration : scheduler [CRAB] Section ‘scheduler’ configuration scheduler = condor_g # Condor-G Scheduler # scheduler = glitecoll # for gLite RB job submission [EDG] Section comp. resource configuration (Resource Broker or GridCat) ce_white_list = ufloridapg.phys.ufl.edu # one of USCMS T2 sites se_white_list = phys.ufl.edu # restrict to SE at Florida [CONDORG] Section b-queue configuration globus_rsl = (queue=cms_grid)(maxWalltime=2880)(jobType=single)

9Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration CRAB Configuration : data Dataset Location (DLS) : SE -> dataset lfc_catalog=prod-lfc-cms-central.cern.ch/grid/cms/DLS/LFC SE=srm1.phys.ufl.edu dls-get-fileblock -i DLS_TYPE_LFC -e $lfc_catalog $SE # Lists all dataset at $SE [CMSSW] Section Variables Input Data Minbias CSA06, CMSSW_1_0_6 datasetpath = /CSA os-minbias12-0/RECO/CMSSW_1_0_6- RECO_Hee5e8972ca2b9fe c27772ba77 No Input : e.g., starting from pythia evt. Gen. datasetpath = None CMSSW configuration : pset = recoana.cfg Total events to be analyzed : total_number_of_events = -1 Events/Job : events_job = 7000 Output : output_file = myroot.root

10Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Example CRAB Configuration(crab.cfg) [CRAB] jobtype = cmssw scheduler = condor_g [CMSSW] datasetpath = /CSA os-minbias12-0/RECO/CMSSW_1_0_6-RECO_Hee5e8972ca2b9fe c27772ba77 dbs_url = pset = recoana.cfg total_number_of_events = -1 events_per_job = 7000 output_file = myroot.root [USER] return_data = 1 use_central_bossDB = 0 use_boss_rt = 0 total_number_of_events = 1 [EDG] lcg_version = 2 proxy_server = myproxy.cern.ch ce_white_list = ufloridapg.phys.ufl.edu se_white_list = phys.ufl.edu virtual_organization = cms retry_count = 2 lcg_catalog_type = lfc lfc_host = lfc-cms-test.cern.ch lfc_home = /grid/cms

11Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Example CMSSW Configuration -recoana.cfg == CMSSW configuration file contains : process Everything = { service = Tracer {} include "Configuration/Examples/data/RECO.cff" include "FWCore/MessageLogger/data/MessageLogger.cfi" include "Configuration/CompatibilityFragments/data/CompatibilityWith081.cff" service = Timing {} service = SimpleMemoryCheck { untracked int32 ignoreTotal = 1 } source = PoolSource{ untracked vstring fileNames ={ "/store/CSA06/2006/8/17/CSA os-TTbar/FE9DFC DB E root"} untracked int32 maxEvents = 2 untracked uint32 debugVebosity = 10 untracked bool debugFlag = true } module analysis = ExampleAnalysis { untracked string HistOutFile = "myroot.root" } path p = { reconstruction, analysis } }

12Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Example Analysis Using EDAnalyzer - CMSSW_1_2_0/ExampleAnalysis/ExampleAnalysis/src/ExampleAnalysis.cc :. ExampleAnalysis::ExampleAnalysis(const ParameterSet& iConfig) : fOutputFileName( iConfig.getUntrackedParameter ("HistOutFile",std::string("Exam pleSmallAnalysisOutput.root")) ), fOutputFile(0) {.

13Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Grid Environment Setup - Initial Variables : VDT_LOCATION, GLITE_LOCATION, CMSSOFT_DIR, CRABDIR - Setup Grid Environment : OSG : source $VDT_LOCATION/setup.sh gLite : source $GLITE_LOCATION/etc/profile.d/grid_env.sh ; source ~/.glite/slite_setenv.sh On UF T2 analysis machines, this is given : try `which voms-proxy-init` - Proxy Setup for Grid Credential : On UF T2 analysis machines, you need to set up VOMS cert directory: export X509_VOMS_DIR=/home/bockjoo/etc/grid-security/vomsdir # Make sure you have $HOME/.globus/user{cert,key}.pem voms-proxy-init --voms cms:/cms/uscms/Role=cmsuser # asks pass1 - Check Proxy : voms-proxy-info -all - Proxy Delegation export X509_USER_PROXY=`voms-proxy-info -path` export X509_USER_CERT=$X509_USER_PROXY export X509_USER_KEY=$X509_USER_PROXY myproxy-init -v -d -s myproxy.cern.ch # asks pass2

14Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Setup for CRAB - Setup CMSSW export SCRAM_ARCH=slc3_ia32_gcc323 ; source $CMSSOFT_DIR/cms/cmsset_default.sh cd ; mkdir analysis_99 ; cd analysis_99 # creates analysis work directory scramv1 -arch $SCRAM_ARCH project CMSSW CMSSW_1_2_0 cd CMSSW_1_2_0/src ; eval `scramv1 runtime -sh` wget tar xzvf ExampleAnalysis.tar.gz ; scramv1 b # build EDAnalyzer - CRAB Setup CMSSW /home/coldfeet/scpaw/scripts/configure_crab # creates private CRAB installation and DB config. source $CRABDIR/crab.sh cd ; mkdir crab_99 ; cd crab_99 # this is going to be the crab work directory - Site oriented directory mkdir -p Sites/Florida/{PG,IHEPA} ; cd Sites/Florida/PG ; vi $CRABDIR/python/crab.cfg cp /home/coldfeet/scpaw/scripts/recoana.cfg./ vi recoana.cfg - Physics oriented directory mkdir -p Physics/DYZDimu/{PG,IHEPA} cd Physics/DYZDimu/PG ; vi crab-input-none.cfg ; vi dyzdimuana.cfg - Test Driving CMSSW Before Going Wild cd $HOME/crab_99/Physics/DYZDimu/PG cmsRun dyzdimuana.cfg # pythin gen + SIM + DIGI + RECO + ExampleAnalysis

15Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Executing CRAB and Retrieving Data - Create Jobs cd $HOME/crab_99/Sites/Florida/PG crab -create # This creates a CRAB work directory with ‘crab_0_yymmdd_hhmmss’ # The CRAB work directory contains ‘job’ ‘log’ ‘res’ ‘share’ # ‘job’ : scripts # ‘log’ : log file # ‘res’ : stdout, stderr, root file, job log # ‘share’ : ASCII DB, BOSS job work area and binaries - Submit One Job (Reports to Dashbaoard) crab -submit 1 -continue d ; mkdir analysis_99 ; cd analysis_99 - Submit All Jobs (Reports to Dashboard) crab -submit -continue -Check Job Status (Reports to Dashboard) crab -status -continue - Retrieve Output (Reports to Dashboard) crab -getoutput

16Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Analyze Produced Plots and Data - Merge root file cd $HOME/crab_99/Sites/Florida/PG root root> TChain ch2("DimuTree"); root> ch2.Add(”./crab_0_070131_121512/res/myroot_*.root"); root> ch2.Merge(”./DimuTree.root"); - Create Plots cd $HOME/crab_99/Sites/Florida/PG root> new TBrower root> ….. - Today’s Goal : Create CRAB Job Submit CRAB Job Retrieve CRAB Job Make plots

17Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration Variables on UF T2 Analysis Machine - On alachua.phys.ufl.edu or another /home/coldfeet/scpaw/scripts/setup_crab.sh