1 / 21

Benchmarks of medical dosimetry simulation on the grid

Benchmarks of medical dosimetry simulation on the grid. G.A.P. Cirrone 1 , G. Cuttone 1 , F. Di Rosa 1 , F. Foppiano 2 , A. Lechner 3 , P. Mendez Lorenzo 4 , J. Moscicki 4 , M.G. Pia 5 , M. Piergentili 5 , G. Russo 1 1 INFN Laboratori Nazionali del Sud, Italy 2 IST, Genova, Italy

zanthe
Download Presentation

Benchmarks of medical dosimetry simulation on the grid

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Benchmarks of medical dosimetry simulation on the grid G.A.P. Cirrone1, G. Cuttone1, F. Di Rosa1, F. Foppiano2, A. Lechner3, P. Mendez Lorenzo4, J. Moscicki4, M.G. Pia5, M. Piergentili5, G. Russo1 1INFN Laboratori Nazionali del Sud, Italy 2IST, Genova, Italy 3Technical Univ. Vienna, Austria 4CERN, Geneva, Switzerland 5INFN Genova, Italy CHEP 2007 Victoria, BC, Canada 3-7 September 2007

  2. 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) • Inverse Monte Carlo methods • Analytical transport methods • “Fast simulation” techniques • Parallelisation Reduce simulation execution time The GRID?

  3. No introduction on grid, EGEE and other flavours, LCG, medical-related grid projects, their impact etc. 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

  4. Simulation Nucletron Data MicroSelectron-HDR source Leipzig applicator Distance along Z (mm) Italian National Institute for Cancer Research brachytherapy Geant4 brachytherapy Advanced Example 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

  5. 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. hadrontherapy Geant4 hadrontherapy Advanced Example Accurate reproduction of the CATANA hadrontherapy facility at INFN LNS, Catania, Sicily, Italy 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 Geant4 geometry and beam primary generator implementation developed by INFN-LNS CATANA co-authors (Partial) code review by A.L. and MGP

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

  7. 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 AIDA iAIDA Ganga Geant4 + + LCG + DIANE +

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

  9. 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)

  10. 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

  11. Task splitting Task size (execution time) # workers involved balance • 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

  12. 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 Splitting optimization “One size DOES NOT fit all” “Fast” use case brachytherapy “Intensive” use case hadrontherapy

  13. 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

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

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

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

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

  18. 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

  19. Grid technology offers unprecedented opportunities to the medical physics community for fast, high precision Monte Carlo simulation Politically correct Politically incorrect Grid technology is not mature yet for stable operation in a clinical environment by non-expert users 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 Scientific Conclusion

  20. Anton Lechner Austrian Doctoral Student CERN IT/PSS Alfonso Mantero Graduate Student at INFN Genova 1st Geant4-DIANE project Unfortunately not present at CHEP to get the credit he deserves! A BIG thank you! and Hurng-Chung Lee Alberto Ribon Jürgen Knobloch Patricia Mendez Lorenzo Kuba Moscicki CERN IT/PSS

  21. IEEE Transactions on Nuclear Sciencehttp://ieeexplore.ieee.org/xpl/RecentIssue.jsp?puNumber=23 • 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:http://tns-ieee.manuscriptcentral.com/ 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: Maria.Grazia.Pia@cern.ch

More Related