Ganga development - Theory and practice - Ganga 3 - Ganga 4 design - Ganga 4 components and framework - Conclusions K. Harrison CERN, 25th May 2005.

Slides:



Advertisements
Similar presentations
User view Ganga classes and functions can be used interactively at a Python prompt, can be referenced in scripts, or can be used indirectly via a Graphical.
Advertisements

Metadata Progress GridPP18 20 March 2007 Mike Kenyon.
ATLAS/LHCb GANGA DEVELOPMENT Introduction Requirements Architecture and design Interfacing to the Grid Ganga prototyping A. Soroko (Oxford), K. Harrison.
Overview of Ganga documentation K. Harrison University of Cambridge Ganga Developer Days CERN, 9th-13th July 2007.
The GANGA Interface for ATLAS/LHCb Project overview Design details Component descriptions Interfaces Refactorisation plans ARDA Roger W L Jones ( Lancaster.
K. Harrison CERN, 15th May 2003 GANGA: GAUDI/ATHENA AND GRID ALLIANCE - Development strategy - Ganga prototype - Release plans - Conclusions.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
5 November 2001F Harris GridPP Edinburgh 1 WP8 status for validating Testbed1 and middleware F Harris(LHCb/Oxford)
K.Harrison CERN, 21st November 2002 GANGA: GAUDI/ATHENA AND GRID ALLIANCE - Background and scope - Project organisation - Technology survey - Design -
David Adams ATLAS ATLAS Distributed Analysis David Adams BNL March 18, 2004 ATLAS Software Workshop Grid session.
K. Harrison CERN, 20th April 2004 AJDL interface and LCG submission - Overview of AJDL - Using AJDL from Python - LCG submission.
K.Harrison CERN, 6th March 2003 GANGA: GAUDI/ATHENA AND GRID ALLIANCE - Aims and design - Progress with low-level software - Progress with Graphical User.
QCDGrid Progress James Perry, Andrew Jackson, Stephen Booth, Lorna Smith EPCC, The University Of Edinburgh.
Cosener’s House – 30 th Jan’031 LHCb Progress & Plans Nick Brook University of Bristol News & User Plans Technical Progress Review of deliverables.
Nick Brook Current status Future Collaboration Plans Future UK plans.
1 st December 2003 JIM for CDF 1 JIM and SAMGrid for CDF Mòrag Burgon-Lyon University of Glasgow.
ATLAS DIAL: Distributed Interactive Analysis of Large Datasets David Adams – BNL September 16, 2005 DOSAR meeting.
David Adams ATLAS ATLAS Distributed Analysis Plans David Adams BNL December 2, 2003 ATLAS software workshop CERN.
ATLAS and GridPP GridPP Collaboration Meeting, Edinburgh, 5 th November 2001 RWL Jones, Lancaster University.
K. Harrison CERN, 25th September 2003 GANGA: GAUDI/ATHENA AND GRID ALLIANCE - Project news - Ganga release 1 - Work towards Ganga release 2 - Interaction.
Stuart Wakefield Imperial College London Evolution of BOSS, a tool for job submission and tracking W. Bacchi, G. Codispoti, C. Grandi, INFN Bologna D.
K.Harrison BNL, 7 May 2002 Overview of GANGA – First steps towards GANGA – Outline of required functionality – Some existing technology – Conclusions.
David Adams ATLAS ADA, ARDA and PPDG David Adams BNL June 28, 2004 PPDG Collaboration Meeting Williams Bay, Wisconsin.
Giuseppe Codispoti INFN - Bologna Egee User ForumMarch 2th BOSS: the CMS interface for job summission, monitoring and bookkeeping W. Bacchi, P.
The Experiments – progress and status Roger Barlow GridPP7 Oxford 2 nd July 2003.
Introduction to Ganga Karl Harrison (University of Cambridge) ATLAS Distributed Analysis Tutorial Milano, 5-6 February 2007
…building the next IT revolution From Web to Grid…
ARDA Prototypes Andrew Maier CERN. ARDA WorkshopAndrew Maier, CERN2 Overview ARDA in a nutshell –Experiments –Middleware Experiment prototypes (basic.
Metadata Mòrag Burgon-Lyon University of Glasgow.
David Adams ATLAS DIAL/ADA JDL and catalogs David Adams BNL December 4, 2003 ATLAS software workshop Production session CERN.
ATLAS is a general-purpose particle physics experiment which will study topics including the origin of mass, the processes that allowed an excess of matter.
David Adams ATLAS ADA: ATLAS Distributed Analysis David Adams BNL June 7, 2004 BNL Technology Meeting.
David Adams ATLAS ATLAS Distributed Analysis David Adams BNL September 30, 2004 CHEP2004 Track 5: Distributed Computing Systems and Experiences.
A PanDA Backend for the Ganga Analysis Interface J. Elmsheuser 1, D. Liko 2, T. Maeno 3, P. Nilsson 4, D.C. Vanderster 5, T. Wenaus 3, R. Walker 1 1: Ludwig-Maximilians-Universität.
D. Adams, D. Liko, K...Harrison, C. L. Tan ATLAS ATLAS Distributed Analysis: Current roadmap David Adams – DIAL/PPDG/BNL Dietrich Liko – ARDA/EGEE/CERN.
EGEE is a project funded by the European Union under contract IST “Interfacing to the gLite Prototype” Andrew Maier / CERN LCG-SC2, 13 August.
NOVA A Networked Object-Based EnVironment for Analysis “Framework Components for Distributed Computing” Pavel Nevski, Sasha Vanyashin, Torre Wenaus US.
INFSO-RI Enabling Grids for E-sciencE Ganga 4 – The Ganga Evolution Andrew Maier.
Distributed Analysis K. Harrison LHCb Collaboration Week, CERN, 1 June 2006.
April 27, 2006 The New GANGA GUI 26th LHCb Software Week C L Tan
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
HammerCloud Functional tests Valentina Mancinelli IT/SDC 28/2/2014.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Ganga User Interface EGEE Review Jakub Moscicki.
K. Harrison CERN, 3rd March 2004 GANGA CONTRIBUTIONS TO ADA RELEASE IN MAY - Outline of Ganga project - Python support for AJDL - LCG analysis service.
K. Harrison CERN, 22nd September 2004 GANGA: ADA USER INTERFACE - Ganga release status - Job-Options Editor - Python support for AJDL - Job Builder - Python.
David Adams ATLAS ATLAS Distributed Analysis: Overview David Adams BNL December 8, 2004 Distributed Analysis working group ATLAS software workshop.
Using Ganga for physics analysis Karl Harrison (University of Cambridge) ATLAS Distributed Analysis Tutorial Milano, 5-6 February 2007
2 June 20061/17 Getting started with Ganga K.Harrison University of Cambridge Tutorial on Distributed Analysis with Ganga CERN, 2.
David Adams ATLAS ATLAS-ARDA strategy and priorities David Adams BNL October 21, 2004 ARDA Workshop.
ATLAS-specific functionality in Ganga - Requirements for distributed analysis - ATLAS considerations - DIAL submission from Ganga - Graphical interfaces.
ADA Job Builder A Graphical Approach to Job Building ATLAS Software and Computing Workshop May 2005 Chun Lik Tan
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
ATLAS Distributed Analysis Dietrich Liko IT/GD. Overview  Some problems trying to analyze Rome data on the grid Basics Metadata Data  Activities AMI.
Distributed Analysis Tutorial Dietrich Liko. Overview  Three grid flavors in ATLAS EGEE OSG Nordugrid  Distributed Analysis Activities GANGA/LCG PANDA/OSG.
K. Harrison CERN, 21st February 2005 GANGA: ADA USER INTERFACE - Ganga release Python client for ADA - ADA job builder - Ganga release Conclusions.
K. Harrison BNL, 29th August 2003 THE GANGA PROJECT -Project objectives and organisation - Ganga design - Current status of software - Conclusions.
David Adams ATLAS ATLAS Distributed Analysis (ADA) David Adams BNL December 5, 2003 ATLAS software workshop CERN.
Interfacing Gaudi to the Grid (GANGA) Introduction Requirements Architecture and design Interfacing to the Grid Ganga prototyping A. Soroko (Oxford), K.
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.
David Adams ATLAS ATLAS Distributed Analysis and proposal for ATLAS-LHCb system David Adams BNL March 22, 2004 ATLAS-LHCb-GANGA Meeting.
INFSO-RI Enabling Grids for E-sciencE Ganga 4 Technical Overview Jakub T. Moscicki, CERN.
David Adams ATLAS ADA: ATLAS Distributed Analysis David Adams BNL December 15, 2003 PPDG Collaboration Meeting LBL.
Joe Foster 1 Two questions about datasets: –How do you find datasets with the processes, cuts, conditions you need for your analysis? –How do.
Seven things you should know about Ganga K. Harrison (University of Cambridge) Distributed Analysis Tutorial ATLAS Software & Computing Workshop, CERN,
User view Ganga classes and functions can be used interactively at a Python prompt, can be referenced in scripts, or can be used indirectly via a Graphical.
BOSS: the CMS interface for job summission, monitoring and bookkeeping
BOSS: the CMS interface for job summission, monitoring and bookkeeping
BOSS: the CMS interface for job summission, monitoring and bookkeeping
The Ganga User Interface for Physics Analysis on Distributed Resources
Presentation transcript:

Ganga development - Theory and practice - Ganga 3 - Ganga 4 design - Ganga 4 components and framework - Conclusions K. Harrison CERN, 25th May 2005

25th May Ganga development: theory and practice (1) -Ganga started (2002) as a joint ATLAS-LHCb project for an integrated system to help with configuring Gaudi/Athena jobs and running them efficiently in a distributed environment  Deal with all phases of a job lifecycle  Hide Grid technicalities from the user -Priority has stayed the same, but aim for a generic solution  Simplify running any application on any backend  Interest shown by other experiments (BaBar and CMS), and by groups outside HEP -Project supported by GridPP (UK) and by ARDA -Development work coordinated by U.Egede

25th May Ganga development: theory and practice (2) -Ganga team has developed Python tools providing functionality relevant to the ATLAS and LHCb computing environments, and a framework for using these tools  Also benefit from other Python-based work in the two experiments -LHCb involvement in Ganga has tended to be more pro-active than that of ATLAS  More input from ATLAS would be welcomed  Joint ATLAS-LHCb Ganga meeting included in agenda for current Software Workshop  Dedicated Ganga Workshop being held at Imperial College London, 13th-15th June

25th May Ganga in ATLAS Ganga  User interface for job-related operations: configuration, submission, splitting, merging, monitoring, output retrieval, etc LSFGrid 3NorduGridPBSBQSOtherLCG DIAL Production System Condor Other catalogues and repositories DIAL catalogues and repositories ATLAS Metadata Interface (AMI)

25th May Ganga 3 -Ganga 3.0 released 2nd March 2005  User guide available on Ganga web site: -A lot of useful functionality included  Job configuration and management through Command Line Interface in Python (CLIP) or through GUI  Support for Athena applications  Job-Options Editor (JOE)  Access to AMI  Submission to backends including PBS, LSF, LCG, gLite -Some issues with extensibility and performance  Problems addressed in redesign for Ganga 4

25th May Ganga 3: graphical interfaces

25th May Ganga 4: Design Command Line in Python (CLIP)Graphical User Interface (GUI) Ganga Public Interface (GPI) Job Manager Catalogue interfaces Toolkit - Job-Options Editor - Data management - ROOT via pyROOT - Other Backend plug-insJob-Description plug-ins External catalogues (AMI, DIAL, other) Job Repository Switchboard plug-ins ADA Athena Other LCG DIAL

25th May Job Repository (A.Soroko) -Job repository allows Ganga job representations to be stored and subsequently retrieved -Repository can be local to the user, or can be on a remote server  API in the two cases is the same -Both local and remote implementations use tools from ARDA Metadata Catalogue Project (B.Koblitz) -Local repository is a file-type database -For remote repository, server side supports various types of database (mysql, postgres, etc) -Local implementation and client for remote repository require only Python modules

25th May Job Repository: API -The API is partly inspired by CVS, providing possibilities to commit, checkout and update jobs -Additional methods allow retrieval/modification of job status without checkout of the full job, and allow job selection based on some criteria -API supports bulk operations, to optimise communication with the underlying database

25th May Job repository: performance usersjobscommitcheckoutdelete Time in seconds per job for requests to remote repository

25th May Interface to AMI (C.L.Tan) -pyAMI written as a Python client for the AMI web service  Uses ZSI v1.5 and PyXML v Allows use of main AMI methods for querying and updating catalogue -Checks made for mandatory parameters before a command is sent to AMI -XML results returned by AMI automatically converted to appropriate Python object -Positive feedback from S.Albrand: suggestions to be taken into account in future development

25th May PyAMI example (1) -Log in to the web service >>> from pyAMI import * >>> AC = pyAMI.AMI_WS_Client( '__myID__', '__myPassword__' ) -Obtain list of recognised commands >>> print AC.getCommands().getResults() [[GetVersion], [GetCommands], [ListProjects], [ListProcesses], [ListEntities], [SearchQuery], [AddElement], [RemoveElement], [UpdateElement], [ListEntityProperties], [ListElement ], [AddDataset], [RemoveDataset], [UpdateDataset], [ListDataset], [ListDatasetProvenance], [AddPartition], [RemovePartition], [UpdatePartition], [ListPartition]]

25th May PyAMI example (2) -List properties for the entity ‘dataset’ >>> xmlResult = AC.listEntityProperties( 'dataset' ) >>> resultWebPage = xmlResult.toHTML( True )

25th May Interface to DIAL (K.Harrison) -PyDial has been developed as a Python client for DIAL -Currently build PyDial on top of a DIAL release, using lcgdict to generate dictionaries for DIAL C++ classes  Dictionaries imported into Python using PyLCGDict2  Manual checking for completeness needed for each new DIAL release, but could try to automate this  After checking, build performed in 5-10 minutes -PyDial additionally provides Python functions that simplify use of the DIAL classes -In longer term, might aim for a pure Python implementation (less essential if DIAL becomes easier to deploy)

25th May PyDial functionality -PyDial allows access to all DIAL services and catalogues -Have been able to run test jobs successfully using services at both CERN and BNL -Histograms included in job result can be displayed from inside Python using pyROOT

25th May Interface to Production System (F.Brochu) -Not strictly developed as a Ganga component, but CreateRecords Python module should readily allow Ganga to submit jobs to the Production System Ganga

25th May Ganga 4 framework (J.T.Moscicki) -Ganga framework takes care of managing components and making their functionality available through the Ganga Public Interface (GPI) -Infrastructure is in place, and have plug-ins for a small number of job-description types and backends  Still some optimisation needed, but already works well  Once final details are sorted out (next month or so), addition of plug-ins for other job-description types and backends will be very rapid -As ATLAS example have ADA/DIAL job description and DIAL backend -As LHCb example (A.Maier) have Gaudi job description and LSF backend

25th May Working with GPI (1) -Functionality in example available in Ganga 4 developers’ release, although current syntax is slightly different >>> j = AdaJob() >>> j.application = “atlasopt” >>> j.task = “atlas_release jo.py” >>> j.dataset = “hma.dc digit.A1.z_ee.aod files” >>> j.backend.schedulerURL = “lxgate21.cern.ch.20014” >>> j.submit() >>> print j.status >>> print j.result >>> j.copyResult( “myDirectory” ) - Have shown commands given at Python prompt  Same commands can be used in a script

25th May Working with GPI (2) -Relevant plug-ins not yet available, but would expect to be able to do something like the following >>> j = AthenaJob() >>> j.release = “10.0.3” >>> j.jobOptions = “myOpts.py” >>> j.cmtRequirements = “myRequirements” >>> j.backend = “LCG” >>> j.submit()

25th May Ganga 4: graphical interfaces -Priority for Ganga 4 has been to have infrastructure in place, and to have functionality available at the command line  Ganga 4 public release planned for June, without GUI -Subsequently expect work on graphical job builder and monitoring for ADA (C.L.Tan) to be directly reused in Ganga

Graphical job builder

Job monitoring

25th May Conclusions -Excellent progress made with Ganga 4 development  Infrastructure in place and first plug-ins written  Public release (without GUI) planned for June -Ganga project has produced Python tools for interfacing to different components of the ATLAS computing system, and a framework for using these (and other) tools -Dedicated Ganga Workshop being held at Imperial College London, 13th-15th June  Significant ATLAS participation encouraged  All input on priorities welcome