Benchmarks of medical dosimetry simulation on the grid S. Chauvie 1, A. Lechner 4, P. Mendez Lorenzo 5, J. Moscicki 5, M.G. Pia 6 G.A.P. Cirrone 2, G.

Slides:



Advertisements
Similar presentations
Maria Grazia Pia Simulation in a Distributed Computing Environment Simulation in a Distributed Computing Environment S. Guatelli 1, A. Mantero 1, P. Mendez.
Advertisements

F. Foppiano, M.G. Pia, M. Piergentili Medical Linac IEEE NSS, October 2004, Rome, Italy
Maria Grazia Pia, INFN Genova PhysicsLists in Geant4 Advanced Examples Geant4.
Cloud Computing Resource provisioning Keke Chen. Outline  For Web applications statistical Learning and automatic control for datacenters  For data.
Monte Carlo simulation for radiotherapy in a distributed computing environment S. Chauvie 2,3, S. Guatelli 2, A. Mantero 2, J. Moscicki 1, M.G. Pia 2 CERN.
Maria Grazia Pia Experimental validation of models in the pre-equilibrium and nuclear de-excitation phase G.A.P. Cirrone 1, G. Cuttone 1, F. Di Rosa 1,
Other GEANT4 capabilities Event biasing Parameterisation (fast simulation) Persistency Parallelisation and integration in a distributed computing environment.
A general purpose dosimetric system for brachytherapy
DIANE Project Seminar on Innovative Detectors, Siena Oct 2002 Distributed Computing in Physics Parallel Geant4 Simulation in Medical.
S. Gadomski, "ATLAS computing in Geneva", journee de reflexion, 14 Sept ATLAS computing in Geneva Szymon Gadomski description of the hardware the.
1 Simulation Methodology H Plan: –Introduce basics of simulation modeling –Define terminology and methods used –Introduce simulation paradigms u Time-driven.
Maria Grazia Pia, INFN Genova CERN, 26 July 2004 Background of the Project.
1 M.G. Pia et al. The application of GEANT4 simulation code for brachytherapy treatment Maria Grazia Pia INFN Genova, Italy and CERN/IT
Geant4-INFN (Genova-LNS) Team Validation of Geant4 electromagnetic and hadronic models against proton data Validation of Geant4 electromagnetic and hadronic.
Maria Grazia Pia Systematic validation of Geant4 electromagnetic and hadronic models against proton data Systematic validation of Geant4 electromagnetic.
1 GEANT4: Applications in Medical Physics B. Caccia Department of Technology and Health Istituto Superiore di Sanità (Italian National Institute of Health)
M.G. Pia et al. Brachytherapy at IST Results from an atypical Comparison Project Stefano Agostinelli 1,2, Franca Foppiano 1, Stefania Garelli 1, Matteo.
03/27/2003CHEP20031 Remote Operation of a Monte Carlo Production Farm Using Globus Dirk Hufnagel, Teela Pulliam, Thomas Allmendinger, Klaus Honscheid (Ohio.
Grid Workload Management & Condor Massimo Sgaravatto INFN Padova.
CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services Job Monitoring for the LHC experiments Irina Sidorova (CERN, JINR) on.
DIANE Project CHEP 03 DIANE Distributed Analysis Environment for semi- interactive simulation and analysis in Physics Jakub T. Moscicki,
INFSO-RI Enabling Grids for E-sciencE Project Gridification: the UNOSAT experience Patricia Méndez Lorenzo CERN (IT-PSS/ED) CERN,
Maria Grazia Pia Simulation for LHC Radiation Background Optimisation of monitoring detectors and experimental validation Simulation for LHC Radiation.
Wenjing Wu Andrej Filipčič David Cameron Eric Lancon Claire Adam Bourdarios & others.
Maria Grazia Pia, INFN Genova Test & Analysis Project aka “statistical testing” Maria Grazia Pia, INFN Genova on behalf of the T&A team
A General Purpose Brachytherapy Software Simulation + Analysis (isodose calculation) 2/10/2002 Geant4 Workshop CERN Susanna Guatelli Univ. and INFN Genova.
Medical Accelerator F. Foppiano, M.G. Pia, M. Piergentili
ICOM 6115: Computer Systems Performance Measurement and Evaluation August 11, 2006.
Technological Transfer from HEP to Medical Physics How precise Brachytherapy MonteCarlo simulations can be applied in Clinics Reality Problem: How to achieve.
Maria Grazia Pia, INFN Genova Introduction to medical physics applications Maria Grazia Pia, INFN Genova Geant4 Workshop,
S. Guatelli, A. Mantero, J. Moscicki, M. G. Pia Geant4 medical simulations in a distributed computing environment 4th Workshop on Geant4 Bio-medical Developments.
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
CPSC 441 Tutorial TA: Fang Wang. Simulation Methodology Plan: Introduce basics of simulation modeling Define terminology and methods used Introduce simulation.
T3 analysis Facility V. Bucard, F.Furano, A.Maier, R.Santana, R. Santinelli T3 Analysis Facility The LHCb Computing Model divides collaboration affiliated.
ESFRI & e-Infrastructure Collaborations, EGEE’09 Krzysztof Wrona September 21 st, 2009 European XFEL.
1 Andrea Sciabà CERN Critical Services and Monitoring - CMS Andrea Sciabà WLCG Service Reliability Workshop 26 – 30 November, 2007.
Geant4 Training 2006 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki Institute of Physics)
Improvement of the Monte Carlo Simulation Efficiency of a Proton Therapy Treatment Head Based on Proton Tracking Analysis and Geometry Simplifications.
Integration of the ATLAS Tag Database with Data Management and Analysis Components Caitriana Nicholson University of Glasgow 3 rd September 2007 CHEP,
F. Foppiano, M.G. Pia, M. Piergentili
Testing and integrating the WLCG/EGEE middleware in the LHC computing Simone Campana, Alessandro Di Girolamo, Elisa Lanciotti, Nicolò Magini, Patricia.
Susanna Guatelli Geant4 in a Distributed Computing Environment S. Guatelli 1, P. Mendez Lorenzo 2, J. Moscicki 2, M.G. Pia 1 1. INFN Genova, Italy, 2.
Geant4 Training 2004 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Giuseppe Daquino (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki.
Implementation of a New Monte Carlo Simulation Tool for the Development of a Proton Therapy Beam Line and Verification of the related Dose Distributions.
ATLAS Distributed Analysis Dietrich Liko IT/GD. Overview  Some problems trying to analyze Rome data on the grid Basics Metadata Data  Activities AMI.
G. Russo, D. Del Prete, S. Pardi Kick Off Meeting - Isola d'Elba, 2011 May 29th–June 01th A proposal for distributed computing monitoring for SuperB G.
GDB Meeting CERN 09/11/05 EGEE is a project funded by the European Union under contract IST A new LCG VO for GEANT4 Patricia Méndez Lorenzo.
Enabling Grids for E-sciencE LRMN ThIS on the Grid Sorina CAMARASU.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
F. Foppiano3, S. Guatelli2, J. Moscicki1, M.G. Pia2 CERN1 INFN Genova2
Simulation in a Distributed Computing Environment
CNRS applications in medical imaging
Simulation use cases for T2 in ALICE
F. Foppiano, S. Guatelli, B. Mascialino, M. G. Pia, M. Piergentili
Ch 4. The Evolution of Analytic Scalability
Introduction to medical physics applications
Other GEANT4 capabilities
B.Mascialino, A.Pfeiffer, M.G.Pia, A.Ribon, P.Viarengo
Introductory Course PTB, Braunschweig, June 2009
Simulation in a Distributed Computing Environment
Short Course Siena, 5-6 October 2006
The Hadrontherapy Geant4 advanced example
Introductory Course ORNL, May 2008
Geant4 at IST Applications in Brachytherapy
Short Course IEEE NSS/MIC 2003 Katsuya Amako (KEK) Makoto Asai (SLAC)
Simulation in a Distributed Computing Environment
G. A. P. Cirrone1, G. Cuttone1, F. Di Rosa1, S. Guatelli1, A
The Geant4 Hadrontherapy Advanced Example
The LHCb Computing Data Challenge DC06
Presentation transcript:

Benchmarks of medical dosimetry simulation on the grid S. Chauvie 1, A. Lechner 4, P. Mendez Lorenzo 5, J. Moscicki 5, M.G. Pia 6 G.A.P. Cirrone 2, G. Cuttone 2, F. Di Rosa 2, F. Foppiano 3, M. Piergentili 6, G. Russo 2 Thanks for contributing to the development of Geant4 medical physics Advanced Examples! 1 Santa Croce and Carle Hospital, Cuneo, Italy 2 INFN Laboratori Nazionali del Sud, Italy 3 IST, Genova, Italy 4 Technical University Vienna, Austria 5 CERN, Geneva, Switzerland 6 INFN Genova, Italy IEEE NSS 2007 Honolulu, HI, USA 27 October – 3 November 2007

Monte Carlo methods in oncological radiotherapy More precise than approximated analytical methods used in commercial treatment planning software systems BUT Too slow to be realistically usable in the clinical practice Variance reduction techniques (event biasing) Variance reduction techniques (event biasing) Inverse Monte Carlo methods Inverse Monte Carlo methods Analytical transport methods Analytical transport methods “Fast simulation” techniques “Fast simulation” techniques Parallelisation Parallelisation Reduce simulation execution time The GRID?

This project Practical approach to the problem Let’s take a few representative dosimetry simulation use cases Let’s run them on the grid Let’s evaluate (quantitatively) gains and drawbacks in realistic situations Three Geant4 Advanced examples of dosimetry simulation covering major techniques in oncological radiotherapy –Brachytherapy –Hadrontherapy –LINAC for IMRT (Intensity Modulated RadioTherapy) LCG infrastructure, Geant4 Virtual Organization –The exercise will be repeated one step further as Mr. Nobody No introduction on grid, EGEE and other flavours, LCG, medical-related grid projects, their impact etc.

brachytherapy Leipzig applicator MicroSelectron-HDR source Distance along Z (mm) Simulation Nucletron Data Exp. data: F. Foppiano et al., IST Genova Relatively “fast” simulation ~ 7 CPU hours on an “average” PC to produce meaningful statistics for clinical studies Italian National Institute for Cancer Research Geant4 brachytherapy Advanced Example

hadrontherapy Accurate reproduction of the CATANA hadrontherapy facility at INFN LNS, Catania, Sicily, Italy Geant4 hadrontherapy Advanced Example Geant4 geometry and beam primary generator implementation developed by INFN-LNS CATANA co-authors (Partial) code review by A.L. and MGP See related talk in Event Processing Session The experimental data shown in this plot have been taken at the CATANA hadrontherapy facility at INFN LNS, Catania by G.A.P. Cirrone, G. Cuttone, F. Di Rosa, G. Russo. No credit to other co-authors and their institutes for these data. Production aimed at validating physics modelling of the simulation ~ 150 CPU hours on an “average” PC to produce meaningful physics results ~ 16 hours for calibration results

Medical LINAC for IMRT High demand of CPU resources for meaningful statistics (e.g. for treatment planning verification) ≈ tens of CPU-days Geometry developed by M. Piergentili Italian National Institute for Cancer Research Exp. data: F. Foppiano et al., IST Genova Geant4 medical_linac Advanced Example

Requirements Submit jobs to a Grid system Plug-in Geant4 application Split into tasks (without biasing the results) Schedule tasks intelligently Hide the underlying complexity to the end user DIANE Ganga LCG Geant4 AIDA iAIDA ++ ++

DIANE Geant4 Interface Interface class which binds together Geant4 application and DIANE framework DIANE Master-Worker architecture

Computing environment Identification of resources –The site must support the Virtual Organization (Geant4) –Shared file system accessible through VO_GEANT4_SW_DIR environment variable –Operating system and architecture compatible with Geant4 Software installation –Geant4, CLHEP, AIDA, gcc –Problems encountered: missing write permission, user authentication etc. –Requires familiarity with grid middleware Requires experienced user One must do one’s own installation on the grid Interface to grid middleware (e.g. lxplus) must be set-up, otherwise additional (not trivial) installation needed (e.g. gLite)

Problem set-up Determination of the total # of events to be produced –Defined for each application on the basis of the desired statistical precision of dosimetric variables relevant to each use case Splitting into tasks –Task = smaller group of events to be produced Perform tasks sequentially on a worker node Use a range of worker nodes in parallel in a grid environment Critical issue

Task splitting Important for applications with short execution time –Time elapsed between submission of grid jobs and beginning execution on a worker node comparable to total duration High granularity → more effective use of CPU resources –Drawbacks: in general, larger output size to deal with Task size (execution time) # workers involved balance

Splitting optimization Goal: fastest simulation results Many small tasks –20000 events, ~ 25 s each 40 worker nodes Higher # nodes would not be more effective –Time for last registered workers to become active might be higher than total duration Goal: sensitive simulation study –beam energy calibration 1 task = 1 worker –Not the fastest option Compromise with large disk space requirements for output Simplify distribution of random number seeds passed to tasks “Fast” use case brachytherapy “Intensive” use case hadrontherapy “One size DOES NOT fit all”

Baby-sitting Selection of resources –Availability, priority Set-up a list of Computing Elements –Passed to Ganga through DIANE Criteria for selection –State of Computing Element (production, draining mode) –Number of CPU allowed to VO at a given site –Estimated waiting time in batch queue –Estimated additional workload on given nodes –CPU speed Relatively easy retrieval of information –Used for selection criteria Must be done on a regular basis Automated tools not always effective

Effects of delayed worker registration fast worker registration a slow worker registration b Unsatisfactory conditions: delayed worker registration, worker errors (crash, network problems etc.) c c b a brachytherapy Effects more relevant to “fast” use cases

Effects of slow worker nodes More visible when few worker nodes Similar execution time of all tasks on all nodes One slow node doubles the total simulation duration Both simulations executed in the same environment in identical Computing Elements Possible explanation: variable workload on the same nodes

“Fast” use case: brachytherapy Sequential 1 task = 25 ± 0.5 CPU s Total simulation = 417 ± 8 min on lcgui003 Task duration Total simulation duration ~ factor 6 between min and max duration ~ factor 4 between min and max duration 40 DIANE workers On the grid 64% runs terminated < 30 min 96% runs terminated < 40 min Ideal expectation with 40 workers: ~10 min for the whole simulation

More computationally intensive use case: hadrontherapy Sequential 1 task = 50’ ± 50 s CPU time Total simulation = 16.7 h ± 17 min 20 DIANE workers On the grid 84% runs terminated < 100 min Ideal expectation with 20 workers: ~50 min for the whole simulation

Large scale medical simulations Test case: hadrontherapy – Increase statistics by 2 orders of magnitude –10M events for high precision physics studies –Expected duration of whole production: 2-3 days 3 large statistics runs –2 did not complete (80% done) –1 terminated successfully Medical linac –Even more demanding than high statistics hadrontherapy –“Low” statistics demonstration OK –Realistic scale stable production does not look practical yet

Conclusion Politically correct Grid technology offers unprecedented opportunities to the medical physics community for fast, high precision Monte Carlo simulation Politically incorrect Grid technology is not mature yet for stable operation in a clinical environment by non-expert users Scientific Both statements above reflect reality Quantitative tests evaluate the extent of success and contribute to identify problems and bottlenecks Measurements in real-life use cases are the path to solve problems

Anton Lechner Austrian Doctoral Student CERN IT/PSS A BIG thank you! Jürgen KnoblochPatricia Mendez LorenzoKuba Moscicki Major contribution to the results presented! and Hurng-Chung Lee Alberto Ribon Alfonso Mantero Graduate Student at INFN Genova 1 st Geant4-DIANE project CERN IT/PSS

IEEE Transactions on Nuclear Science Prime journal on technology in particle/nuclear physics Rigorous review process  Associate Editor dedicated to computing papers Various papers associated to CHEP 2006 published on IEEE TNS Computing-related papers are welcome Manuscript submission: Publications on refereed journals are beneficial not only to authors, but to the whole community of computing-oriented physicists Our “hardware colleagues” have better established publication habits… Further info: