Presentation is loading. Please wait.

Presentation is loading. Please wait.

Www.consorzio-cometa.it Consorzio COMETA - Progetto PI2S2 UNIONE EUROPEA NEMO Monte Carlo Application on the Grid R. Calcagno for the NEMO Collaboration.

Similar presentations


Presentation on theme: "Www.consorzio-cometa.it Consorzio COMETA - Progetto PI2S2 UNIONE EUROPEA NEMO Monte Carlo Application on the Grid R. Calcagno for the NEMO Collaboration."— Presentation transcript:

1 www.consorzio-cometa.it Consorzio COMETA - Progetto PI2S2 UNIONE EUROPEA NEMO Monte Carlo Application on the Grid R. Calcagno for the NEMO Collaboration Grid Open Day at Lns Catania 2008 January 23

2 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 2 The NEMO project Shore station Electro-optical cable Km 3 detector R&D for the design and construction of a km 3 high energy neutrino detector

3 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 3 Neutrino astronomy: detector concept neutrino muon Cherenkov light ~5000 PMT atmospheric muon depth >3000m Detection of Cherenkov light in transparent natural media (water or ice) neutrino

4 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 4 Neutrino detection: signal and background Search for muon tracks from neutrino interactions Earth is used as shield to cut off the downgoing atmospheric µ background Upgoing tracks can unambigously be attributed to neutrinos The predicted neutrino fluxes are weak and it is necessary to take into account the expected background noise. One of the main sources of background are the atmospheric muon generated by the interaction of cosmic rays with the atmosphere. Simulation of this background needs a huge number of MonteCarlo events.

5 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 5 NEMO proposed km 3 telescope km 3 size square array of detection structures ( “towers“ )

6 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 6 Code Chain  Corsika  Music  Km3  Modk40  Femsim  Reco Code chain for atmospheric muon simulation are:

7 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 7 Simulation Corsika code simulates the interaction of cosmic rays with the atmosphere and the propagation of the generated showers. Muons are propagated up to the sea level. Km3 simulates the light emission, the propagation in water,and the detection by the PMTs. In order to simulate the light radiation is necessary a parameterization which depends on the muon energy lost in the trace segment and on the optical water properties. PMT hits are simulated. Music simulates the muon propagation in the sea water.

8 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 8 Simulation FemSim simulates the working operation of the electronic devices Reco performs the reconstruction of the muon track direction Modk40 adds hits due to optical background that in salt water is due 40 K

9 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 9 Simulation Codes Structure Simulation codes are performed in sequential way: the output of the first code is the input of the second one, the output for the second one is the input of the third one and so on Moreover, many files are necessary to the code chain to run (detector geometry file, input parameter files, tables …) Simulation codes I n p u t O u t p u t I n p u t O u t p u t I n p u t O u t p u t CORSIKA MUSIC KM3 O u t p u t I n p u t O u t p u t I n p u t O u t p u t I n p u t RECO MOD40 FEMSIM

10 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 10 Grid Application Background Monte Carlo simulation needs a wide statistic and big processing time, therefore GRID is the ideal tool to simulate this huge amount of events. I n p u t O u t p u t I n p u t O u t p u t I n p u t O u t p u t I n p u t O u t p u t I n p u t O u t p u t I n p u t O u t p u t CORSIKA MUSIC RECO KM3 MOD40 FEMSIM

11 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 11 Grid Application O u t p u t I n t p u t CORSIKA MUSIC KM3 MOD40 FEMSIM RECO O u t p u t I n t p u t CORSIKA MUSIC KM3 MOD40 FEMSIM RECO O u t p u t I n t p u t CORSIKA MUSIC KM3 MOD40 FEMSIM RECO The developed application is a trivial parallel execution of simulation codes on the Grid....

12 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 12 Implementation The first of Code Chain is Corsika O u t p u t CORSIKA Input file size < 10MB... Inputs EGSDAT4_.15 esegui_100.sh corsika_flat.exe EGSDAT4_3. EGSDAT4_1. QGSDAT01 EGSDAT4_.05 EGSDAT4_3. EGSDAT4_.4 EGSDAT4_25. NUCNUCCS inputs_v2_100

13 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 13 Upload on SE  A virtual directory is created on the storage element (SE)  The output file is downloaded  The upload of Corsika file is performed on a SE and is recorded on the LFC Catalog CORSIKA SE O u t p u t WN CORSIKA  The submitted job transfers the input files from the SE to the WN

14 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 14 Upload on SE: User SE Catalog File SE U IU I

15 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 15 Input for Music ( ~200 MB zipped file ) TestSite.dat Input file size > 10MB O u t p u t MUSIC trasf_out_wn_100.shmusic-eloss-seawater.dat music-cross-sections-seawater.datmusic-double-diff-water.dat music-double-diff-seawater.dat

16 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 16 I/O Upload on the SE  The output Corsika and the Input file are uploaded on a SE and are recorded in the LFC Catalog  The job is submitted  The output file is downloaded OUTPUT CORSIKA WN INPUT >10M SE WN... MUSIC... CORSIKA... O u t p u t

17 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 17 Replicate file A file can be stored on multiple SE. lcg-rep –-vo VO –d addressSE pathLFN SE INPUT >10M INPUT (OUTPUT_ _CORSIKA)

18 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 18 Job Description Language (JDL) The jdl is a high-level, user-oriented language for describing jobs and aggregates of jobs such as Direct Acyclic Graphs (DAG) A jdl file describes a job that can be run on the Grid UI CE SE Mass Storage Input Sandbox Output Sandbox WN RB Job execution

19 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 19 InputSandbox The input file is transferred from the local UI to the WN

20 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 20 OutputSandbox The output for downloading from the WN to the UI

21 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 21 Job requirements on resourse (CE) Requirements

22 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 22 Job List Match This list shows the Computing Element that matching our job requirements.

23 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 23 no success Polling sleep 90 s status submit

24 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 24 no success Polling sleep 900 s status submit output success

25 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 25 Input File The input for Corsika will be different for every chain performed in parallel way, changing the SEED parameter.

26 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 26 Step User chooses: the number of job to execute a seed value as reference To set up: n files.jdl to submit on Corsika n files.jdl to submit on Music n files.jdl to submit on Km3 … … … n files.jdl to submit on Reco To observe the sequence

27 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 27 Trivial Parallel Execution CE WN CE WN RB Every jdl file works in independent way the one from the other on the destination WN chosen by the CE infnlns-ce-01.ct.pi2s2.it:2119 unipa-ce-01.pa.pi2s2.it:2119 unime-ce-01.me.pi2s2.it:2119 CE WN CORSIKA-1 CORSIKA-2 MUSIC-1

28 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 28 GRID implementation The codes need the use of libraries (CERN libraries, NAG libraries…)

29 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 29 Why Grid ? Many CPU To ask specific requirements Redundance of the systems Many SE

30 Grid Open Day at Laboratori Nazionali del Sud, 2008 January 23 30 Any Questions ? G R I D


Download ppt "Www.consorzio-cometa.it Consorzio COMETA - Progetto PI2S2 UNIONE EUROPEA NEMO Monte Carlo Application on the Grid R. Calcagno for the NEMO Collaboration."

Similar presentations


Ads by Google