4 November 2008 1 Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era Development, validation and.

Slides:



Advertisements
Similar presentations
Configuration management
Advertisements

Software change management
Configuration management
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
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.
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
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.
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.
Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era Dmitri Konstantinov 26 March
MINER A Software The Goals Software being developed have to be portable maintainable over the expected lifetime of the experiment extensible accessible.
EGEE is a project funded by the European Union under contract IST JRA1-SA1 requirement gathering Maite Barroso JRA1 Integration and Testing.
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.
Monte-Carlo Event Database: current status Sergey Belov, JINR, Dubna.
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.
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
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.
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.
Separate distribution of the analysis code (and more) P. Hristov 19/03/2014.
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
1 july 99 Minimising RISC  General strategy - converge on PCs with Linux & NT to avoid wasting manpower in support teams and.
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)
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.
LCG Generator Monthly Meeting, September 25 th 2003 Status Of The Generator Project And Feedbacks From The MC4LHC Steering Group Paolo Bartalini CERN EP.
The interface to EvtGen in CMS Roberto Covarelli University of Rochester EvtGen workshop, 06/12/2010.
SPI Software Process & Infrastructure Project Plan 2004 H1 LCG-PEB Meeting - 06 April 2004 Alberto AIMAR
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.
Comments on SPI. General remarks Essentially all goals set out in the RTAG report have been achieved. However, the roles defined (Section 9) have not.
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
SPI external software build tool and distribution mechanism
LCG Generator Services project
Generator Services planning meeting
Testing for patch certification
LCG Monte-Carlo Events Data Base: current status and plans
Simulation Project Structure and tasks
Presentation transcript:

4 November Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era Development, validation and maintenance of Monte Carlo event generators & generator services in the LHC era M. Kirsanov (INR Moscow)

M. Kirsanov, ACAT 2008, November LCG Generator LCG Generator 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 GOAL: to guarantee the event generator support for the LHC Started May 2003 Long Term Project WP1: GENERATOR SERVICES LIBRARY (GENSER) WP2: EVENT FORMATS AND EVENT INTERFACES WP3: SHARED EVENT FILES: FRAMEWORK & DATA BASE (MCDB) WP4: TUNING AND VALIDATION Subproject leader: A. Ribon (CERN) Monthly meetings and 1- 2 times per year planning meetings

M. Kirsanov, ACAT 2008, November WP1. The LCG Generator Library (GENSER)GENSER  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!) CVS Repository, AFS Distribution At version 2 now: GENSER2 MC Packages, Test, Validation Packages Tested by the LHC experiments Continuous Release Scheme GOAL: to replace the obsolete CERN Library for what concerns the Generator Services ATLAS, CMS & LHCb PRODUCTIONS RELY ON GENSER Documentation: Savannah Portal: AFS: /afs/cern.ch/sw/lcg/external/MCGenerators

M. Kirsanov, ACAT 2008, November WP1. The GENSER Team GENSER Integrators & MC Experts ~3FTE GENSER Integrators & MC Experts ~3FTE M. Kirsanov INR (Moscow) Master Integrator M. Kirsanov INR (Moscow) Master Integrator O. Zenin IHEP (Protvino) Integrator O. Zenin IHEP (Protvino) Integrator A. Ryabov IHEP (Protvino) Intergator A. Ryabov IHEP (Protvino) Intergator S. Bityukov IHEP (Protvino) Integrator S. Bityukov IHEP (Protvino) Integrator

M. Kirsanov, ACAT 2008, November WP1: GENSER. History. GENSER1 was based on SCRAM GENSER1 was based on SCRAM Insufficiently flexible Insufficiently flexible Unfamiliar to many users Unfamiliar to many users Quarterly release scheme insufficiently flexible Quarterly release scheme insufficiently flexible Decided to move to GNU Make build systems Decided to move to GNU Make build systems GENSER2 Since the end of 2006 GENSER2 Since the end of 2006 GNU Make build system is provided by GENSER for generators distributed just as a single source file (pythia6, herwig6). “configure” script is also 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 GNU Make build system is provided by GENSER for generators distributed just as a single source file (pythia6, herwig6). “configure” script is also 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) 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 Author’s build system used if sufficiently developed GENSER installation scripts kept in CVS for each package, invisible for users GENSER installation scripts kept in CVS for each package, invisible for users

M. Kirsanov, ACAT 2008, November WP1: GENSER GENSER2 GENSER2 Continuous release scheme: a new version of a generator is installed as soon as released by authors 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 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. 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. 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 28 MC generators and auxiliary packages are currently in GENSER2

M. Kirsanov, ACAT 2008, November WP1. Testing Large scale MC productions involve a lot of manpower, they are 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. Test thoroughly! Test quickly! Several levels of tests and validations can help

M. Kirsanov, ACAT 2008, November WP1. Testing Level 0 test. 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 0 test. 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 test. Dedicated package in GENSER. It compiles one or 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 Level 1 test. Dedicated package in GENSER. It compiles one or 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 2 tests. Dedicated projects (WP4) Level 3 tests. Tests inside the experiments Level 3 tests. Tests inside the experiments

M. Kirsanov, ACAT 2008, November WP1. Level 1 testing, more details Dedicated package in GENSER: TESTS, additional dependencies, like ROOT, moved here 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. 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 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 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

M. Kirsanov, ACAT 2008, November 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) 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 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 GENSER also included some tests adopted in LHC experiments into Level 1 test suite. This process will also continue

M. Kirsanov, ACAT 2008, November 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. 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 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 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 Transparently account for some system-dependent details: can help if a package native build system not fully portable Automatic dependency tracking Automatic dependency tracking Can automatically build entire GENSER on a standalone site Can automatically build entire GENSER on a standalone site Several most important generators migrated Several most important generators migrated Will be GENSER3 if adopted Will be GENSER3 if adopted

M. Kirsanov, ACAT 2008, November WP1. Package management (2) We are evaluating AutoTools as a GENSER – provided build system for generators distributed without one. We are evaluating AutoTools as a GENSER – provided build system for generators distributed without one. Works not only on Linux, but on many other OS (MacOSX etc.) Works not only on Linux, but on many other OS (MacOSX etc.) Supported, will include new OS if they appear Supported, will include new OS if they appear Is more complicated (the “configure” script can be bigger than all the generator code:) Is more complicated (the “configure” script can be bigger than all the generator code:) Sometimes not easy to make it flexible enough Sometimes not easy to make it flexible enough Some caveats with portability of libraries (moving them to another location) having to do with -rpath Some caveats with portability of libraries (moving them to another location) having to do with -rpath

M. Kirsanov, ACAT 2008, November WP2. Event Formats and Event Interfaces HEPMC – the MC Truth Interface 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 HEPML proposal (XML - Les Houches Agreement I compliant) HEPML proposal (XML - Les Houches Agreement I compliant)  Meta-data format facilitating automated documentation GOAL: standardize interfaces, support the new OO MCs

M. Kirsanov, ACAT 2008, November WP3. Monte Carlo Data Base (MCDB) Motivations Motivations To Provide Configuration, Book-keeping, Documentation, Storage for the Shared Event Files 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 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 In Production. Only minimal support now. Used by CMS

M. Kirsanov, ACAT 2008, November WP4. Validation and tuning RIVET – Robust Independent Validation of Experiment and Theory, developed by the CEDAR collaboration as a C++ replacement for HZtool 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 Three examples of Experiment to MC generator comparison were created by the GENSER team Experimental results are taken directly from the Data Base Experimental results are taken directly from the Data Base

M. Kirsanov, ACAT 2008, November WP4. Validation and tuning MC-TESTER is now being implemented as one of the elements of GENSER validation 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 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 Some results already can be seen on the GENSER WEB page

M. Kirsanov, ACAT 2008, November Conclusions GENSER2 and MCDB in production GENSER2 and MCDB in production Level 1 validation package TESTS in GENSER tests all available generators Level 1 validation package TESTS in GENSER tests all available generators RIVET and MC-TESTER are also used for the generators validation RIVET and MC-TESTER are also used for the generators validation New cross-platform tools (PKGSRC, Autotools) are being evaluated New cross-platform tools (PKGSRC, Autotools) are being evaluated Feedbacks, bug reports, requests from LHC experiments and external users are welcome Feedbacks, bug reports, requests from LHC experiments and external users are welcome