20
The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader http://cern.ch/lcg/peb/applications ROOT Workshop, CERN October 16, 2002

The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

Embed Size (px)

Citation preview

Page 1: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

The LHC Computing Grid Project (LCG) and ROOT

Torre Wenaus, BNL/CERN

LCG Applications Area Manager

John Harvey, CERN

EP/SFT Group Leader

http://cern.ch/lcg/peb/applications

ROOT Workshop, CERN

October 16, 2002

Page 2: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 2

John Harvey, Torre Wenaus

Outline

Introduction to LCG Applications Architecture Blueprint RTAG

LCG software architecture blueprint Use of ROOT

Concluding remarks

Page 3: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 3

John Harvey, Torre Wenaus

The LHC Computing Grid (LCG) Project

Approved (3 years) by CERN Council, September 2001 meanwhile extended by 1 year due to LHC delay

Injecting substantial new facilities and personnel resources Scope:

Common software for physics applications Tools, frameworks, analysis environment

Computing for the LHC Computing facilities (fabrics) Grid middleware, deployment

Global analysis environment

Goal – Prepare and deploy the LHC computing environment

Page 4: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 4

John Harvey, Torre Wenaus

The LHC Computing Grid Project Structure

Project Overview Board

RTAGs

GridProjects

Project Work Packages

Project Manager

ProjectExecution

Board

Requirements,Monitoring

Software andComputingCommittee

Page 5: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 5

John Harvey, Torre Wenaus

LCG Workflow

WPn PEB SC2 RTAGs

requirements

mandate

Prioritisedrequirements

Updated workplan

Workplan feedback

~2 mths

Project plan

Release 1

Release 2

~4 mths

Status report

Review feedbacktime

Page 6: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 6

John Harvey, Torre Wenaus

LCG Areas of Work

Computing System Physics Data Management Fabric Management Physics Data Storage LAN Management Wide-area Networking Security Internet Services

Grid Technology Grid middleware Standard application

services layer Inter-project

coherence/compatibility

Applications Support & Coordination

Application Software Infrastructure – libraries, tools

Object persistency, data management tools

Common Frameworks – Simulation, Analysis, ..

Adaptation of Physics Applications to Grid environment

Grid interfaces, Portals

Grid Deployment Data Challenges Grid Operations Network Planning Regional Centre Coordination Security & access policy

Page 7: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 7

John Harvey, Torre Wenaus

Applications Area Projects

Software Process and Infrastructure (operating) Librarian, QA, testing, developer tools, documentation, training, …

Persistency Framework (operating) POOL hybrid ROOT/relational data store

Mathematical libraries (operating) Math and statistics libraries; GSL etc. as NAGC replacement

Core Tools and Services (being initiated) Foundation and utility libraries, basic framework services, system

services, object dictionary and whiteboard, grid enabled services Physics Interfaces (being initiated)

Interfaces and tools by which physicists directly use the software. Interactive (distributed) analysis, visualization, grid portals

Simulation (coming soon) Geant4, FLUKA, virtual simulation, geometry description & model, …

Generator Services (coming soon) Generator librarian, support, tool development

Page 8: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 8

John Harvey, Torre Wenaus

LCG Applications Area Timeline Highlights

2002 200520042003

Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4Q1 Q2 Q3 Q4Q1 Q2 Q3 Q4

Hybrid Event Store available for general users

Distributed production using grid services

First Global Grid Service (LCG-1) available

Distributed end-user interactive analysis

Full Persistency Framework

LCG-1 reliability and performance targets

“50% prototype” (LCG-3)

LCG TDR

Applications

LCG

POOL V0.1 internal releaseArchitectural blueprint complete

LCG launch week

Page 9: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 9

John Harvey, Torre Wenaus

Personnel resources

Estimate of Required Effort

Available resources from all sources (CERN, LCG, experiments) satisfy this profile

FTEs today: 12 LCG hires, ~10 CERN IT, ~7 CERN EP + experiments

0

10

20

30

40

50

60S

ep-0

2

Dec

-02

Mar

-03

Jun-

03

Sep

-03

Dec

-03

Mar

-04

Jun-

04

Sep

-04

Dec

-04

Mar

-05

Quarter ending

FT

Es

SPI

Math libraries

Physics interfaces

Generator services

Simulation

CoreToolsS&Services

POOL

Page 10: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 10

John Harvey, Torre Wenaus

Software Architecture Blueprint RTAG

Goals integration of LCG and non LCG software to build coherent

applications provide the specifications of an architectural model that allows this

i.e. a ‘blueprint’ Mandate

define the main domains and identify the principal components For example: Simulation is such an architectural domain; Detector

Description is a component which figures in several domains. result is a set of ‘collaborating frameworks’, one per domain

Define the architectural relationships between these ‘frameworks’ and components, identify the main requirements for their inter-communication, and suggest possible first implementations.

The focus here is on the architecture of how major ‘domains’ fit together, and not detailed architecture within a domain.

Page 11: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 11

John Harvey, Torre Wenaus

Architecture Blueprint RTAG Report

Executive summary Response of the RTAG to the mandate Blueprint scope Requirements Use of ROOT Blueprint architecture design precepts

High level architectural issues, approaches Blueprint architectural elements

Specific architectural elements, suggested patterns, examples Domain decomposition Schedule and resources Recommendations

After 14 RTAG meetings,several with external experts,

end-user readers from experiments,much email...

A 36-page final reportAccepted by SC2 October 11

http://lcgapp.cern.ch/project/blueprint/BlueprintReport-final.dochttp://lcgapp.cern.ch/project/blueprint/BlueprintPlan.xls

John Apostolakis, Guy Barrand, Rene Brun,Predrag Buncic, Vincenzo Innocente, Pere Mato,

Andreas Pfeiffer, David Quarrie, Fons Rademakers,Lucas Taylor, Craig Tull, Torre Wenaus (Chair)

Page 12: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 12

John Harvey, Torre Wenaus

Requirements

Long lifetime: technology evolution Languages: C++ today; allow multi-language and evolution Distributed applications TGV and airplane work Modularity of components Component communication via public interfaces Interchangeability of implementations Integration into coherent framework Design for end-user’s convenience more than the developer’s Re-use existing implementations Software quality at least as good as any LHC experiment Meet performance, quality requirements of trigger/DAQ software Platforms

Bold: bearing stronglyon architecture and ROOT role

Page 13: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 13

John Harvey, Torre Wenaus

Basic Framework

Foundation Libraries

Simulation Framework

Reconstruction Framework

Visualization Framework

Applications

. . .

Optional Libraries

OtherFrameworks

Software Structure

Page 14: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 14

John Harvey, Torre Wenaus

Blueprint Architectural Elements

Object dictionary Standard component interfaces (e.g. for discovery, creation, destruction,

etc.) Scripting language (ROOTCINT and Python both available) Component configuration – uniform approach Basic framework services

Framework infrastructures: creation of objects (factories), reference counting, communication & discovery (eg. registries), ….

Core services: ‘event’ management, monitoring & reporting, exception handling, etc.

System services : platform support Foundation and utility libraries

clhep, STL, Boost, etc.

Page 15: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 15

John Harvey, Torre Wenaus

EventGeneration

Core Services

Dictionary

Whiteboard

Foundation and Utility Libraries

DetectorSimulation

Engine

Persistency

StoreMgr

Reconstruction

Algorithms

Geometry Event Model

GridServices

I nteractiveServices

Modeler

GUIAnalysis

EvtGen

Calibration

Scheduler

Fitter

PluginMgr

Monitor

NTuple

Scripting

FileCatalog

ROOT GEANT4 DataGrid Python Qt

Monitor

. . .MySQLFLUKA

EventGeneration

Core Services

Dictionary

Whiteboard

Foundation and Utility Libraries

DetectorSimulation

Engine

Persistency

StoreMgr

Reconstruction

Algorithms

Geometry Event Model

GridServices

I nteractiveServices

Modeler

GUIAnalysis

EvtGen

Calibration

Scheduler

Fitter

PluginMgr

Monitor

NTuple

Scripting

FileCatalog

ROOT GEANT4 DataGrid Python Qt

Monitor

. . .MySQLFLUKA

Domain Decomposition

Products mentioned are examples; not a comprehensive list

Page 16: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 16

John Harvey, Torre Wenaus

Use of ROOT in LCG Software

Among the LHC experiments ALICE has based its applications directly on ROOT The 3 others base their applications on components with

implementation-independent interfaces look for software that can be encapsulated into these components

All experiments agree that ROOT is an important element of LHC software

Leverage existing software effectively and do not unnecessarily reinvent wheels

Therefore the blueprint establishes a user/provider relationship between the LCG applications area and ROOT

Page 17: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 17

John Harvey, Torre Wenaus

ROOT in the LCG Blueprint Architecture

User/provider relationship should allow experiments to take full advantage of the capabilities of ROOT

Implementation technology choices will be made on case by case basis

It can be expected that LCG software may place architectural, organizational or other demands on ROOT

e.g. to ensure no interference between components used in different domains

For specific components can expect that different implementations will be made available

e.g. CINT and python will both be available

Page 18: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 18

John Harvey, Torre Wenaus

RTAG Conclusions and Recommendations

Use of ROOT is described and aspects of ROOT development of expected importance for LCG outlined

Start common project on core tools and services Start common project on physics interfaces Start RTAG on analysis, including distributed aspects Tool/technology recommendations

CLHEP, CINT, Python, Qt, AIDA, … Develop a clear process for adopting third party software

Page 19: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 19

John Harvey, Torre Wenaus

ROOT Development Areas of LCG Interest

Support for ‘foreign classes’ in ROOT I/O Relocatable persistent references Expanding support for STL Convenient external access to CINT dictionary (feed/retrieve info) Eventual migration to a standard C++ introspection interface Support for automatic schema evolution PROOF and grid interfacing Interfaces to Python and Java Qt based GUI Histogramming, fitting, n-tuples, trees Interface to GSL

Page 20: The LHC Computing Grid Project (LCG) and ROOT Torre Wenaus, BNL/CERN LCG Applications Area Manager John Harvey, CERN EP/SFT Group Leader

ROOT Workshop, CERN, Oct 2002 Slide 20

John Harvey, Torre Wenaus

Concluding Remarks

The LCG project acts as a forum between the 4 experiments and other computing providers to maximise cooperation in the development of the LHC computing infrastructure, and in particular in the common components of software applications

The Architecture RTAG has established requirements for defining a ‘blueprint’ for the way LCG software should be developed to facilitate integration of components developed by the different parties

Strong commitment from all four experiments to use of ROOT Strong CERN support for ROOT

ROOT section in new LCG-focused EP/SFT group ROOT personnel requests addressed by CERN and LCG

Two LCG seminars coming in early November (6/7- to be confirmed): The LCG software architecture blueprint Rene’s personal vision for ROOT and LHC software

First LCG product deliverable, POOL, is on schedule, and is a good example of the LCG/ROOT ‘working relationship’ in action