migration of monte carlo simulation of high energy atmospheric showers to grid infrastructure...

1
Migration of Monte Carlo Simulation of High Energy Migration of Monte Carlo Simulation of High Energy Atmospheric Showers to GRID Infrastructure Atmospheric Showers to GRID Infrastructure Adolfo VAZQUEZ – Jose Luis CONTRERAS Grupo de Altas Energias, Universidad Complutense de Madrid, Madrid, Spain . Aitor IBARRA – Ignacio DE LA CALLE – Daniel TAPIADOR Ingeniería y Servicios Aeroespaciales S.A. (INSA), Madrid, Spain. Presented by: ADOLFO VAZQUEZ [email protected] ABSTRACT The MAGIC telescope [1], a 17-meter Cherenkov telescope located on La Palma (Canary Islands), is dedicated to the study of the universe in Very High Energy gamma-rays. These particles arrive at the Earth's atmosphere producing atmospheric showers of secondary particles that can be detected on ground with the appropriate detectors. MAGIC is one of such detectors, sensitive to the Cherenkov radiation produced by the charge component of the showers. MAGIC relies on a large number of Monte Carlo simulations [4] for the characterization and identification of the recorded events. The simulations are used to evaluate efficiencies and identify patterns to distinguish between genuine gamma-ray events and unwanted background events. Up to now, these simulations were executed on local queuing systems, resulting in large execution times and a complex organizational task. Due to the parallel nature of these simulations, a Grid-based simulation system is the natural solution [6]. In this work, a system which uses the current resources of the MAGIC Virtual Organization on EGEE is proposed. It can be easily generalized to support the simulation of any similar system, as the planned Cherenkov Telescope Array [2]. The proposed system, based on a Client/Server architecture [3], provides the user with a single access point to the simulation environment through a remote graphical user interface, the Client. The Client can be accessed via web browser, using web service technology, with no additional software installation on the user side required. The Server processes the user request and uses a database [8] for both data catalogue and job management inside the Grid [7]. The design, first production tests and lessons learned from the system will be discussed here. Referenc es Grid-enable the remaining MAGIC pipeline (reflector + camera) Multi-agent system for job management Easy and Fast way of accessing large amounts of data (e.g. no download required) Future Work Lessons Learned Reactivation of the MAGIC Virtual Organization on EGEE Configuration of the required services for that VO (VOMS, SEs, CEs …) Testbed environment installation and configuration in collaboration with CIEMAT, PIC and TU Dortmund Porting of the MMCS software (MAGIC simulation tool) to the Grid environment and automatization of the installation of this software on the Grid Development of scripts to test massive simulations on several Grid middlewares (LCG, Glite and EDG) Porting of the Montecarlo simulations to the Grid Installation and configuration of a node based on Globus + Gridway for job management Development of a web-based graphical client (using Java Web Start) for launching Montecarlo simulations using DRMAA API provided by Gridway Research and initial developments on new work areas Metadata for data catalogue and monitorization Development of a multi-agent system for job management Virtual Observatory compliance of output data [1] http://wwwmagic.mppmu.mpg.de/ [2] http://www.mpi-hd.mpg.de/hfm/CTA/ [3] A. Ibarra, et al. 2005; “Remote Interface to Science Analysis Tools for Grid Architecture: The XMM-Newton SAS Case”. Astronomical Data Analysis Software and Systems XVI. [4] De los Reyes López, Raquel. Tesis doctoral. Search for gamma-ray emission from pulsars with the MAGIC telescope: sensitivity studies, data check and data analysis. 2008. Universidad Complutense de Madrid [5] D. Heck, J. Knapp, J.N. Capdevielle, G. Schatz, T. Thouw, CORSIKA: A Monte Carlo Code to Simulate Extensive Air Showers [6] Kornmayer, H. Hardt, M., Kunze, M. Bigongiari, C. Mazzucato, M. deAngelis, A. Cabras, G. Forti, A. Frailis, M. Piraccini, M. Delfino, M. A distributed, Grid-based analysis system for the MAGIC telescope [7] Huedo, E. Montero, R.S. Llorente, I.M. The GridWay framework for adaptive scheduling and execution on grids. 2005. Scalable Computing: Practice and Experience [8] Lefébure, Véronique. Andreeva, Julia. RefDB: The Reference Database for CMS Monte Carlo Production. 2003. Computing in High Energy and Nuclear Physics (CHEP’03) 1 The particle’s (gamma-ray or proton) interaction with the atmosphere produces a shower of particles 2 The charge particles generate Cherenkov light 3 Cherenkov light is reflected on the telescope mirror and focus on to the camera 4 The reflected light is captured by the camera, producing a pattern determined by nature of the primary particle TEST CASE: Generation of 1.5 million showers with a given energy range and direction in the sky (theta,phi) need to be generated as background for Crab Nebula, the standard candle in high energy gamma-ray astronomy MMCS: Execute Magic Monte Carlo Simulation (MMCS) and store output data Reflector: Simulate telescope optics with reflector program using as input data the MMCS files, and storing output data Camera: Simulate camera response for all the interesting files generated by reflector, and save the output data which will be analised with MARS PHYSICS S I M U L A T I O N MAGIC Analysis pipeline: Shower Simulation MMCS [5] + Reflector + Camera More information at: http://www.insa-vlabs.org/magic-grid

Upload: theodore-lawrence

Post on 05-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Migration of Monte Carlo Simulation of High Energy Atmospheric Showers to GRID Infrastructure Migration of Monte Carlo Simulation of High Energy Atmospheric

Migration of Monte Carlo Simulation of High Energy Migration of Monte Carlo Simulation of High Energy Atmospheric Showers to GRID Infrastructure Atmospheric Showers to GRID Infrastructure

Adolfo VAZQUEZ – Jose Luis CONTRERAS Grupo de Altas Energias, Universidad Complutense de Madrid, Madrid, Spain.

Aitor IBARRA – Ignacio DE LA CALLE – Daniel TAPIADOR Ingeniería y Servicios Aeroespaciales S.A. (INSA), Madrid, Spain.

Presented by: ADOLFO VAZQUEZ

[email protected]

ABSTRACTThe MAGIC telescope [1], a 17-meter Cherenkov telescope located on La Palma (Canary Islands), is dedicated to the study of the universe in Very High Energy gamma-rays. These particles arrive at the Earth's atmosphere producing atmospheric showers of secondary particles that can be detected on ground with the appropriate detectors. MAGIC is one of such detectors, sensitive to the Cherenkov radiation produced by the charge component of the showers. MAGIC relies on a large number of Monte Carlo simulations [4] for the characterization and identification of the recorded events. The simulations are used to evaluate efficiencies and identify patterns to distinguish between genuine gamma-ray events and unwanted background events. Up to now, these simulations were executed on local queuing systems, resulting in large execution times and a complex organizational task. Due to the parallel nature of these simulations, a Grid-based simulation system is the natural solution [6]. In this work, a system which uses the current resources of the MAGIC Virtual Organization on EGEE is proposed. It can be easily generalized to support the simulation of any similar system, as the planned Cherenkov Telescope Array [2]. The proposed system, based on a Client/Server architecture [3], provides the user with a single access point to the simulation environment through a remote graphical user interface, the Client. The Client can be accessed via web browser, using web service technology, with no additional software installation on the user side required. The Server processes the user request and uses a database [8] for both data catalogue and job management inside the Grid [7]. The design, first production tests and lessons learned from the system will be discussed here.

References

Grid-enable the remaining MAGIC pipeline (reflector + camera) Multi-agent system for job management Easy and Fast way of accessing large amounts of data (e.g. no download required)

Future WorkLessons Learned Reactivation of the MAGIC Virtual Organization on EGEE

Configuration of the required services for that VO (VOMS, SEs, CEs …) Testbed environment installation and configuration in collaboration with CIEMAT, PIC and TU

Dortmund Porting of the MMCS software (MAGIC simulation tool) to the Grid environment and

automatization of the installation of this software on the Grid Development of scripts to test massive simulations on several Grid middlewares (LCG, Glite and

EDG) Porting of the Montecarlo simulations to the Grid

Installation and configuration of a node based on Globus + Gridway for job management Development of a web-based graphical client (using Java Web Start) for launching Montecarlo

simulations using DRMAA API provided by Gridway Research and initial developments on new work areas

Metadata for data catalogue and monitorization Development of a multi-agent system for job management Virtual Observatory compliance of output data

[1] http://wwwmagic.mppmu.mpg.de/

[2] http://www.mpi-hd.mpg.de/hfm/CTA/

[3] A. Ibarra, et al. 2005; “Remote Interface to Science Analysis Tools for Grid Architecture: The XMM-Newton SAS Case”. Astronomical Data Analysis Software and Systems XVI. [4] De los Reyes López, Raquel. Tesis doctoral. Search for gamma-ray emission from pulsars with the MAGIC telescope: sensitivity studies, data check and data analysis. 2008. Universidad Complutense de Madrid [5] D. Heck, J. Knapp, J.N. Capdevielle, G. Schatz, T. Thouw, CORSIKA: A Monte Carlo Code to Simulate Extensive Air Showers[6] Kornmayer, H. Hardt, M., Kunze, M. Bigongiari, C. Mazzucato, M. deAngelis, A. Cabras, G. Forti, A. Frailis, M. Piraccini, M. Delfino, M. A distributed, Grid-based analysis system for the MAGIC telescope [7] Huedo, E. Montero, R.S. Llorente, I.M. The GridWay framework for adaptive scheduling and execution on grids. 2005. Scalable Computing: Practice and Experience [8] Lefébure, Véronique. Andreeva, Julia. RefDB: The Reference Database for CMS Monte Carlo Production. 2003. Computing in High Energy and Nuclear Physics (CHEP’03)

1The particle’s

(gamma-ray or proton) interaction

with the atmosphere produces a shower

of particles

2The charge particles generate Cherenkov light

3Cherenkov light is reflected on the

telescope mirror and focus on to the camera

4The reflected light is

captured by the camera, producing a

pattern determined by nature of the primary

particle

TEST CASE: Generation of 1.5 million showers with a given energy range and

direction in the sky (theta,phi) need to be

generated as background for Crab Nebula, the standard

candle in high energy gamma-ray astronomy

MMCS: Execute Magic Monte Carlo Simulation (MMCS) and store output

data

Reflector: Simulate telescope optics with

reflector program using as input data the MMCS files, and

storing output data

Camera: Simulate camera response for all

the interesting files generated by reflector,

and save the output data which will be analised

with MARS

PH

YS

ICS S

IMU

LA

TIO

NMAGIC Analysis pipeline: Shower Simulation MMCS [5] + Reflector + Camera

More information at: http://www.insa-vlabs.org/magic-grid