Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era Dmitri Konstantinov 26 March 2009 1.

Slides:



Advertisements
Similar presentations
Configuration management
Advertisements

Software change management
Configuration management
Identity Management Based on P3P Authors: Oliver Berthold and Marit Kohntopp P3P = Platform for Privacy Preferences Project.
Simulation Project Major achievements (past 6 months 2007)
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
Simulation Project Organization update & review of recommendations Gabriele Cosmo, CERN/PH-SFT Application Area Internal.
Simulation Project Organization update & review of recommendations Gabriele Cosmo, CERN/PH-SFT Application Area Internal.
This chapter is extracted from Sommerville’s slides. Text book chapter
SPI Software Process & Infrastructure GRIDPP Collaboration Meeting - 3 June 2004 Jakub MOSCICKI
Debugging, Build and Version Control Rudra Dutta CSC Spring 2007, Section 001.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Abstract The automated multi-platform software nightly build system is a major component in the ATLAS collaborative software organization, validation and.
Recent and Proposed Changes to ZOOM Recent entries Intended future additions Possibilities –D0 and CDF users can affect which new “possible” additions.
Framework for Automated Builds Natalia Ratnikova CHEP’03.
SPI Software Process & Infrastructure EGEE France - 11 June 2004 Yannick Patois
Workload Management WP Status and next steps Massimo Sgaravatto INFN Padova.
Nightly Releases and Testing Alexander Undrus Atlas SW week, May
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
03/27/2003CHEP20031 Remote Operation of a Monte Carlo Production Farm Using Globus Dirk Hufnagel, Teela Pulliam, Thomas Allmendinger, Klaus Honscheid (Ohio.
Configuration Management (CM)
HERA/LHC Workshop, MC Tools working group, HzTool, JetWeb and CEDAR Tools for validating and tuning MC models Ben Waugh, UCL Workshop on.
Distribution After Release Tool Natalia Ratnikova.
4 November Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era Development, validation and.
The LCG SPI project in LCG Phase II CHEP’06, Mumbai, India Feb. 14, 2006 Andreas Pfeiffer -- for the SPI team
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
ATLAS and GridPP GridPP Collaboration Meeting, Edinburgh, 5 th November 2001 RWL Jones, Lancaster University.
LCG Generator, October 16 th 2003 Introduction to the October LCG Generator meeting Paolo Bartalini CERN.
1 / 22 AliRoot and AliEn Build Integration and Testing System.
Alexander Toropin Generator Services monthly meeting 6 June 2007 GENSER status.
PRS Session, May 12, 2006Filip Moortgat, ETHZ Generator Interface Generator Interface in CMSSW existing/planned interfaces with generators content of the.
LCG Application Area Meeting, March 10 th 2004 Status of LCG Generator Paolo Bartalini, CERN/PH.
Organization and Management of ATLAS Nightly Builds F. Luehring a, E. Obreshkov b, D.Quarrie c, G. Rybkine d, A. Undrus e University of Indiana, USA a,
20/09/2006LCG AA 2006 Review1 Committee feedback to SPI.
Feedback from the POOL Project User Feedback from the POOL Project Dirk Düllmann, LCG-POOL LCG Application Area Internal Review October 2003.
LCG Generator Meeting, December 11 th 2003 Introduction to the LCG Generator Monthly Meeting.
GRID Zhen Xie, INFN-Pisa, on DataGrid WP6 meeting1 Globus Installation Toolkit Zhen Xie On behalf of grid-release team INFN-Pisa.
B. Hegner, P. Mato, P. Mendez CERN, PH-SFT Group 1 ST FORUM CERN 28-SEP-2015 THE QUALITY AND TESTING INFRASTRUCTURE OF PH-SFT.
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
Firmware - 1 CMS Upgrade Workshop October SLHC CMS Firmware SLHC CMS Firmware Organization, Validation, and Commissioning M. Schulte, University.
Feedback from LHC Experiments on using CLHEP Lorenzo Moneta CLHEP workshop 28 January 2003.
CERN IT Department t LHCb Software Distribution Roberto Santinelli CERN IT/GS.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
Jean-Roch Vlimant, CERN Physics Performance and Dataset Project Physics Data & MC Validation Group McM : The Evolution of PREP. The CMS tool for Monte-Carlo.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 SPI Software Process & Infrastructure for LCG Project Overview LCG Application Area Internal.
1 Chapter 12 Configuration management This chapter is extracted from Sommerville’s slides. Text book chapter 29 1.
W. Pokorski - EP/SFT Simulation Project1 Generator Services Subproject Witek Pokorski
LCG – AA review 1 Simulation LCG/AA review Sept 2006.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Generator Services planning meeting Witek Pokorski
HERA – LHC Workshop, June Validation of simulation packages in LCG Validation of simulation packages in LCG M. Kirsanov (INR Moscow)
MC4LHC w/s July Activities promoted by LCG-Generator Supporting Monte Carlo Generators in the LHC era P. Bartalini (University of Florida)
DZero Monte Carlo Production Ideas for CMS Greg Graham Fermilab CD/CMS 1/16/01 CMS Production Meeting.
Follow-up to SFT Review (2009/2010) Priorities and Organization for 2011 and 2012.
20 October 2005 LCG Generator Services monthly meeting, CERN Validation of GENSER & News on GENSER Alexander Toropin LCG Generator Services monthly meeting.
The interface to EvtGen in CMS Roberto Covarelli University of Rochester EvtGen workshop, 06/12/2010.
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
Why do F77 always spoil the landscape ?. Several ideas … slide 2.
Current status A.Kryukov Skobeltsyn Institute of Nuclear Physics, Moscow State University On behalf of CompHEP Collaboration.
Generator Services planning meeting Witek Pokorski
Jean-Philippe Baud, IT-GD, CERN November 2007
CEDAR Combined E-science Data Analysis Resource cedar. ac
SPI external software build tool and distribution mechanism
LCG Generator Services project
Generator Services planning meeting
LCG Monte-Carlo Events Data Base: current status and plans
Simulation Framework Subproject cern
Simulation Project Structure and tasks
Simulation Project Structure and tasks
Presentation transcript:

Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era Dmitri Konstantinov 26 March

LCG Generator Project subproject leader: A. Ribon (CERN) GOAL: to guarantee the event generator support for the LHC WP1: GENERATOR SERVICES LIBRARY (GENSER) WP2: EVENT FORMATS AND EVENT INTERFACES WP3: SHARED EVENT FILES: FRAMEWORK & DATA BASE (MCDB) WP4: TUNING AND VALIDATION CERN (Library), FNAL, CERN (Event Interfaces), LCG-Russia (Library, Data Base) Collaboration with independent projects: CEDAR, HepForge (Validation, New MCs) Contact persons/Collaborators in MC Projects and LHC Experiments D. Konstantinov, CHEP09, March

WP1. The LCG Generator Library (GENSER)GENSER GOAL: to replace the obsolete CERN Library for what concerns the Generator Services   Mandate:   To collaborate with MC authors to prepare LCG Compliant Code   To maintain older MC packages on the LCG supported platforms   Clients:   Addressed to LHC experimentalists and theorists both at CERN and in external laboratories (Other users are welcome!) D. Konstantinov, CHEP09, March

WP1. The GENSER Team GENSER Integrators & MC Experts ~2.5FTE M. Kirsanov INR (Moscow) Master Integrator O. Zenin IHEP (Protvino) Integrator A. Korneev INP (Minsk) and INR (Moscow) Integrator A. Ryabov IHEP (Protvino) Intergator D. Konstantinov IHEP (Protvino) Integrator D. Konstantinov, CHEP09, March

WP1: GENSER. History. GENSER1 was based on SCRAM Insufficiently flexible Unfamiliar to many users Quarterly release scheme insufficiently flexible Decided to move to GNU Make build systems GENSER2 since the end of 2006 GNU Make build system is provided by GENSER for generators distributed as a single source file (pythia6, herwig6). “configure” script is provided being made compliant to the adopted standards (arguments –help, --with-package, treatment of *FFLAGS env. Variables etc.) as far as possible. Directory /examples with a similar build system GENSER also provides a build system for some generators with insufficiently developed author’s build system (agreed with authors) Author’s build system used if sufficiently developed GENSER installation scripts kept in CVS for each package, invisible for users D. Konstantinov, CHEP09, March

WP1: GENSER GENSER2 Continuous release scheme: a new version of a generator is installed as soon as released by authors Distribution of generators is performed through the tarballs kept on CERN AFS in MCGenerators/distribution/. For each generator the source tarball (with the author’s or GENSER-provided build system) and binary tarballs for each LCG-supported platfom are provided. Binary tarballs usually contain minimum that is necessary to work with a generator without recompiling it and the directory /examples Security: old GENSER versions are never removed. Normally, new generator versions are installed into dedicated AFS volumes. After internal testing the volume becomes read-only. Only one person is allowed to create new volumes and set their permissions. Standard LCG platforms slc4_ia32_gcc34 and slc4_amd64_gcc34 are fully supported. More about platforms later in this talk. 28 MC generators and auxiliary packages are currently in GENSER2 D. Konstantinov, CHEP09, March

WP1. Testing Large scale MC productions involve a lot of manpower, they are expensive! A bug in MC generator, depending on its severity, can make a production mostly useless! Detailed validation of MC, comparison of distributions with previous versions and data, can take a lot of time. Several levels of tests and validations can help! D. Konstantinov, CHEP09, March

WP1. Testing Level 0. The table of generators for the GENSER web page is created automatically with a special script that also checks the existence of libraries and tarballs Level 1. Dedicated package in GENSER. It compiles several applications for each generator to be tested and runs them one by one. Each application computes several observables, their values are compared to the reference ones stored in a file. Problems and statistically significant deviations are reported Next tests are outside WP1. Additional test levels can be used Level 2 tests. Dedicated projects (WP4) Level 3 tests. Tests inside the experiments D. Konstantinov, CHEP09, March

WP1. Level 1 testing, more details Dedicated package in GENSER: TESTS, additional dependencies, like ROOT, moved here The results are often correct, but not identical, even if random numbers sequence is repeated: it is Monte Carlo! Need to look for significant changes, taking into account statistical errors. Comparison is made by a script. It detects missing results in case of test crash and continues All MC generators and most important auxiliary packages (like lhapdf) are now involved in this testing. However, the complexity of the tests for different generators is still very different: from several hundred observables, some of them obtained after a complicated event analysis to only one number, e.g. cross section. The work is to be continued D. Konstantinov, CHEP09, March

WP1. Level 1 testing, more details (2) The testing of all GENSER (last versions) takes about 6 hours on 3000 MIPS machine (shared and archive libraries are tested separately, generators subversions with HEPEVT common block sizes and 4000 also separately) Several bugs were found with level 1 testing this year GENSER also included some tests adopted in LHC experiments into Level 1 test suite. This process will also continue D. Konstantinov, CHEP09, March

WP1. Package management Currently we are testing mature pkgsrc package management system (comes from Berkeley UNIX, runs on all POSIX platforms: GNU/Linux, *BSD, Mac OS X, Solaris, HP-UX, AIX, Cygwin/NT, etc.) to be adopted as an OS- independent base for GENSER. Transparently fetch, extract, patch, configure && build && install MC generators and related packages Transparently prepare patched source tarballs that can be used in a standalone mode Transparently account for some system-dependent details: can help if a package native build system not fully portable Automatic dependency tracking Can automatically build entire GENSER on a standalone site Several most important generators migrated Will be GENSER3 if adopted Will be GENSER3 if adopted D. Konstantinov, CHEP09, March

WP1. Package management (2) We are evaluating AutoTools as a GENSER – provided build system for generators distributed without one. Pythia6 419.ac is installed for testing. Works not only on Linux, but on many other OS (MacOSX etc.) Supported, will include new OS if they appear Is more complicated (the “configure” script can be bigger than all the generator code:) Sometimes not easy to make a build system flexible enough Some caveats with portability of libraries (moving them to another location) generated by libtool D. Konstantinov, CHEP09, March

WP2. Event Formats and Event Interfaces HEPMC – the MC Truth Interface   January 2006: installed in LCG external, based on the version 1.26 from M. Dobbs. Interfaces to generators split in a separate library. Further development started   Version 2: made independent of CLHEP   This year all LHC experiments moved to version 2   At version now after the discussion at the dedicated GENERATOR meeting and revision   plans for the version 2.05 are discussed at the dedicated GENERATOR meeting HEPML proposal (XML - Les Houches Agreement)  Meta-data format facilitating automated documentation D. Konstantinov, CHEP09, March GOAL: standardize interfaces, support the new OO MCs

WP3. Monte Carlo Data Base (MCDB) Motivations To Provide Configuration, Book-keeping, Documentation, Storage for the Shared Event Files To keep track of the full generation chain, Exploiting the Competences of Monte Carlo Experts and Monte Carlo Authors In Production. Only minimal support now. Used by CMS D. Konstantinov, CHEP09, March

WP4. Validation and tuning RIVET – Robust Independent Validation of Experiment and Theory, developed by the CEDAR collaboration as a C++ replacement for HZtool Three examples of Experiment to MC generator comparison were created by the GENSER team Experimental results are taken directly from the Data Base D. Konstantinov, CHEP09, March

WP4. Validation and tuning MC-TESTER is now being implemented as one of the elements of GENSER validation Compares two generators or two versions of a generator as to how they simulate kinematical distributions for various particle decays Some results already can be seen on the GENSER WEB page D. Konstantinov, CHEP09, March

Conclusion GENSER2 and MCDB in production Level 1 validation package TESTS in GENSER tests all available generators RIVET and MC-TESTER are also used for the generators validation New cross-platform tools (PKGSRC, Autotools) are being evaluated Feedbacks, bug reports, requests from LHC experiments and external users are welcome! D. Konstantinov, CHEP09, March