CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 CRAB Tutorial (Cms Remote Analysis Builder)

Slides:



Advertisements
Similar presentations
DataTAG WP4 Meeting CNAF Jan 14, 2003 Interfacing AliEn and EDG 1/13 Stefano Bagnasco, INFN Torino Interfacing AliEn to EDG Stefano Bagnasco, INFN Torino.
Advertisements

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.
GANGA Overview Germán Carrera, Alfredo Solano (CNB/CSIC) EMBRACE COURSE Monday 19th of February to Friday 23th. CNB-CSIC Madrid.
User Experience in using CRAB and the LPC CAF Suvadeep Bose TIFR/LPC CMS101++ June 20, 2008.
Workload Management meeting 07/10/2004 Federica Fanzago INFN Padova Grape for analysis M.Corvo, F.Fanzago, N.Smirnov INFN Padova.
Grid and CDB Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Batch Production and Monte Carlo + CDB work status Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Basic Grid Job Submission Alessandra Forti 28 March 2006.
Israel Cluster Structure. Outline The local cluster Local analysis on the cluster –Program location –Storage –Interactive analysis & batch analysis –PBS.
A tool to enable CMS Distributed Analysis
Analysis demos from the experiments. Analysis demo session Introduction –General information and overview CMS demo (CRAB) –Georgia Karapostoli (Athens.
The ATLAS Production System. The Architecture ATLAS Production Database Eowyn Lexor Lexor-CondorG Oracle SQL queries Dulcinea NorduGrid Panda OSGLCG The.
Physicists's experience of the EGEE/LCG infrastructure usage for CMS jobs submission Natalia Ilina (ITEP Moscow) NEC’2007.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
Rsv-control Marco Mambelli – Site Coordination meeting October 1, 2009.
GLite D. Zaborov, SA1-SA3 meeting, Dubna1 Dmitry Zaborov (SINP-MSU-Moscow) Dubna, Jul 26, 2007 Testing 3.0 under SLC 4.
F.Fanzago – INFN Padova ; S.Lacaprara – LNL; D.Spiga – Universita’ Perugia M.Corvo - CERN; N.DeFilippis - Universita' Bari; A.Fanfani – Universita’ Bologna;
How to Install and Use the DQ2 User Tools US ATLAS Tier2 workshop at IU June 20, Bloomington, IN Marco Mambelli University of Chicago.
CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services Job Monitoring for the LHC experiments Irina Sidorova (CERN, JINR) on.
INFSO-RI Enabling Grids for E-sciencE Project Gridification: the UNOSAT experience Patricia Méndez Lorenzo CERN (IT-PSS/ED) CERN,
Lessons for the naïve Grid user Steve Lloyd, Tony Doyle [Origin: 1645–55; < F, fem. of naïf, OF naif natural, instinctive < L nātīvus native ]native.
CMS Stress Test Report Marco Verlato (INFN-Padova) INFN-GRID Testbed Meeting 17 Gennaio 2003.
Stuart Wakefield Imperial College London Evolution of BOSS, a tool for job submission and tracking W. Bacchi, G. Codispoti, C. Grandi, INFN Bologna D.
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.
Enabling Grids for E-sciencE EGEE-III INFSO-RI Using DIANE for astrophysics applications Ladislav Hluchy, Viet Tran Institute of Informatics Slovak.
CERN IT Department CH-1211 Genève 23 Switzerland t Monitoring: Tracking your tasks with Task Monitoring PAT eLearning – Module 11 Edward.
Giuseppe Codispoti INFN - Bologna Egee User ForumMarch 2th BOSS: the CMS interface for job summission, monitoring and bookkeeping W. Bacchi, P.
UMD TIER-3 EXPERIENCES Malina Kirn October 23, 2008 UMD T3 experiences 1.
Getting started DIRAC Project. Outline  DIRAC information system  Documentation sources  DIRAC users and groups  Registration with DIRAC  Getting.
User Experience in using CRAB and the LPC CAF Suvadeep Bose TIFR/LPC US CMS 2008 Run Plan Workshop May 15, 2008.
NA61/NA49 virtualisation: status and plans Dag Toppe Larsen CERN
1 Andrea Sciabà CERN Critical Services and Monitoring - CMS Andrea Sciabà WLCG Service Reliability Workshop 26 – 30 November, 2007.
DBS/DLS Data Management and Discovery Lee Lueking 3 December, 2006 Asia and EU-Grid Workshop 1-4 December, 2006.
DPM Python tools Ivan Calvet IT/SDC-ID DPM Workshop 10 th October 2014.
August 30, 2002Jerry Gieraltowski Launching ATLAS Jobs to either the US-ATLAS or EDG Grids using GRAPPA Goal: Use GRAPPA to launch a job to one or more.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Progress on first user scenarios Stephen.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
Korea Workshop May GAE CMS Analysis (Example) Michael Thomas (on behalf of the GAE group)
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks CRAB: the CMS tool to allow data analysis.
K. Harrison CERN, 22nd September 2004 GANGA: ADA USER INTERFACE - Ganga release status - Job-Options Editor - Python support for AJDL - Job Builder - Python.
INFSO-RI Enabling Grids for E-sciencE CRAB: a tool for CMS distributed analysis in grid environment Federica Fanzago INFN PADOVA.
Data Management The European DataGrid Project Team
Daniele Spiga PerugiaCMS Italia 14 Feb ’07 Napoli1 CRAB status and next evolution Daniele Spiga University & INFN Perugia On behalf of CRAB Team.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
1Bockjoo Kim 2nd Southeastern CMS Physics Analysis Workshop CMS Commissioning and First Data Stan Durkin The Ohio State University for the CMS Collaboration.
Enabling Grids for E-sciencE CMS/ARDA activity within the CMS distributed system Julia Andreeva, CERN On behalf of ARDA group CHEP06.
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.
The GridPP DIRAC project DIRAC for non-LHC communities.
EGI-InSPIRE RI EGI-InSPIRE EGI-InSPIRE RI Mario Reale – GARR NetJobs: Network Monitoring Using Grid Jobs.
A GANGA tutorial Professor Roger W.L. Jones Lancaster University.
SAM Status Update Piotr Nyczyk LCG Management Board CERN, 5 June 2007.
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.
II EGEE conference Den Haag November, ROC-CIC status in Italy
GDB Meeting CERN 09/11/05 EGEE is a project funded by the European Union under contract IST A new LCG VO for GEANT4 Patricia Méndez Lorenzo.
May 27, 2009T.Kurca JP CMS-France1 CMS T2_FR_CCIN2P3 Towards the Analysis Facility (AF) Tibor Kurča Institut de Physique Nucléaire de Lyon JP CMS-France.
Open Science Grid Configuring RSV OSG Resource & Service Validation Thomas Wang Grid Operations Center (OSG-GOC) Indiana University.
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.
The CMS Beijing Tier 2: Status and Application Xiaomei Zhang CMS IHEP Group Meeting December 28, 2007.
BOSS: the CMS interface for job summission, monitoring and bookkeeping
INFN-GRID Workshop Bari, October, 26, 2004
CRAB and local batch submission
N. De Filippis - LLR-Ecole Polytechnique
EGEE Middleware: gLite Information Systems (IS)
Job Application Monitoring (JAM)
Site availability Dec. 19 th 2006
Presentation transcript:

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 CRAB Tutorial (Cms Remote Analysis Builder)

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 What is CRAB Tool which allows you to run CMSSW on Grid environments Data discovery through DBS/DLS catalogues You don’t need to know details of Grid environments –but you just have to know how to run CMSSW CRAB is a tool written in python language CRAB as to be installed in a Grid User Interface The last released CRAB version is “1_4_2”

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 What you need (before you start) A UI (User Interface) where to develop your code –This means you also need CMSSW available A valid Grid certificate provided by your VO, that is CMS –if you still don’t have one have a look at html html CRAB itself –Maybe you can ask your site administrator to install it for you on the UI. Otherwise…

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 How to install CRAB Get CRAB either from afs or the Web –/afs/cern.ch/cms/ccs/wm/scripts/Crab/CRAB_X_Y_ Z.tgz – Y_Z.tgz Untar it (tar zxvf CRAB_X_Y_Z.tgz) cd CRAB_X_Y_Z run./configure –creates CRAB configuration files (crab.sh(csh)) –Installs BOSS –Installs DBS/DSL API

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 How to install CRAB(II) source crab.sh(csh) –Warning: with tcsh shell there is the “word too long” problem so with the 1_4_2 please use bash shell The very first time you’ll need to run also./configureBoss –You will be advised by crab.sh(csh) sourcing, if necessary –This script sets up the Boss configuration files which will be written under ~/.bossrc/ If you’re working on lxplus at CERN, CRAB is already installed for you. Just: –source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Environment setup CMSSW –eval `scramv1 runtime –(c)sh` Grid UI commands –if you are working on lxplus at CERN just source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.csh

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 How to set up CRAB (crab.cfg) Relevant key-value pairs –jobtype = cmssw (now only cmssw is supported) –scheduler = [edg, glite, glitecoll, condor-g] glitecoll is glite schedulers with bulk submission. –datasetpath = [string retrieved from your query to DBS web page] You have to find out the string (datasetpath) (Keyword search)

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 How to set up CRAB II –pset = [the name of Pset which fits your code] –total_number_of_events = [number of events you want to access OR -1 to access all data] –events_per_job = [number of events accessed by a single job] OR –number_of_jobs = [number of jobs you want to run] CRAB will work out the right number of events/jobs according to the user requests with its splitting algorithm –ouput_file = [any name you like for your output file] WARNING: remember to be consistent with the name inside your Pset

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Hot to set up CRAB III –return_data copy_data = [0|1] To receive at the end of job the CMSSW output (i.e root file) on UI CRAB dir or/and to copy it on a SE –if you use copy_data = 1 storage_element = [name of the storage element where you want to copy your output files] storage_path = [path on the SE] –Warning: you can use your own directory on castor (srm.cern.ch) but before you have to change its writing permission (rfchmod) Before going through the list of all other keys we try to submit some jobs –Warning: CRAB should be run in a directory containing crab.cfg and Pset.cfg

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Setup for this tutorial We use CMSSW_1_2_0 Specific code –AnalysisExamples/SimTrackerAnalysis/SimHitTrackerAnalyzer crab.cfg values –jobtype = cmssw –scheduler = glitecoll –datasetpath = /mc-onsel- 120_Incl_ttbar/FETV/CMSSW_1_2_0-FEVT –pset = runSimHitAnalyzer.cfg –total_number_of_events = -1 (= all) –number_of_jobs = 40 –output_files = Histos.root

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Useful setup keys for CRAB EDG section –rb = [cern, cnaf] if commented you will use the default RB to which your UI points. Otherwise CRAB will download some configuration files to use either Cern or Cnaf RBs –white_list, black_list used to select or avoid specific sites hosting data

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Useful setup keys for CRAB USER section –additional_input_files = [comma separated list of additional files you would need on the WN] –ui_working_dir = [name of the working dir if you don’t like the standard naming convention] –use_central_bossDB = [0|1|2] 0 means that you’re creating a Sqlite db per task 1 means that you’re creating a single Sqlite db which is located in your home dir 2 means that you can provide the Boss configuration files via a given directory

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Basic CRAB commands simplest command –crab –create –submit N by default CRAB will create ALL jobs according to the information provided status, output, kill… –crab –status –crab –getoutput [range] –crab –kill [range]

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Basic CRAB commands Resubmission –crab –resubmit [range] What if something went wrong (aborted jobs) –crab –postMortem this command queries the Grid and returns a verbose status of what happened during the job lifetime, useful when you ask for support to Grid experts

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Dashboard reports Crab jobs are also monitored by Dashboard –

CRAB Tutorial Federica Fanzago – Cern/Cnaf 13/02/2007 Documentation and Feedback CRAB homepage – FAQ – To report a bug and to suggest new features (registration at –