1 / 18

Parallelization of Monte Carlo simulations GATE for medical applications

Parallelization of Monte Carlo simulations GATE for medical applications. The scenario of a typical radiotherapy treatment. WP10. Lydia Maigne, Yannick Legré CNRS/IN2P3 maigne@clermont.in2p3.fr legre@clermont.in2p3.fr. Radiotherapy is widely used to treat cancer. 1°) Obtain scanner

sturdevant
Download Presentation

Parallelization of Monte Carlo simulations GATE for medical applications

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. Parallelization of Monte Carlo simulations GATE for medical applications The scenario of a typical radiotherapy treatment WP10 Lydia Maigne, Yannick Legré CNRS/IN2P3 maigne@clermont.in2p3.fr legre@clermont.in2p3.fr

  2. Radiotherapy is widely used to treat cancer 1°) Obtain scanner slices images 2°) Treatment planning 3°) Radiotherapy treatment The head is imaged using a MRI and/or CT scanner Calculation of deposit dose on the tumor (~1mn): A treatment plan is developed using the images Irradiation of the brain tumor with a linear accelerator

  3. Ocular brachytherapy treatment PET camera Radiotherapy Better treatment requires better planning • Today: analytic calculation to compute dosedistributions in the tumor • For new Intensity Modulated Radiotherapy treatments, analytic calculations off by 10 to 20% near heterogeneities • Alternative: Monte Carlo (MC) simulations in medical applications • The GRID impact: reduce MC computing time to a few minutes WP10 Demo:gridification of GATE MC simulation platform on the DataGrid testbed

  4. Computation of a radiotherapy treatment on the Datagrid: Let’s go….

  5. 1°) Obtain the medical images of the tumor: • 38 scanner slices of the brain of a patient are obtained Scanner slices: DICOM format • Format of the slices: • 512 X 512 X 1 pixels • Size of a voxel in the image: • 0,625 X 0,625 X 1,25 mm

  6. 2°) Concatenate these slices in order to obtain a 3D matrix:Pixies software Scanner slices: DICOM format Concatenation

  7. 3°) Transform the DICOM format of the image into an Interfile formatPixies software Binary image of the scanner slices Scanner slices: DICOM format Concatenation Size of the matrix Anonymisation Size of the pixels Image: text file Number of slices Binary file: Image.raw Size 19M

  8. Storage Element Storage Element Storage Element Storage Element Computing Element Computing Element Computing Element Computing Element 4°) Register and replicate the binary image on SEs: Replicate lfns on the other SEs Copy image.raw on a SE CCIN2P3 Scanner slices: DICOM format RAL User interface Concatenation NIKHEF Anonymisation Image: text file MARSEILLE Binary file: Image.raw Size 19M Visualization

  9. Storage Element Storage Element Storage Element Storage Element Computing Element Computing Element Computing Element Computing Element 5°) Register the lfn of an image: • WP2 spitfire or local database CCIN2P3 Query a lfn to the database Register lfn in the database Scanner slices: DICOM format RAL User interface Concatenation NIKHEF Anonymisation Database Image: text file MARSEILLE Binary file: Image.raw Size 19M

  10. 6°) Split the simulations:JobConstructor C++ program • A GATE simulation generating a lot of particles in matter could take a very long time to run on a single processor • So, the big simulation generating 10M of particles is divided into little ones, for example • 10 simulations generating 1M of particles • 20 simulations generating 500000 particles • 50 simulations generating 200000 particles …… • All the other files needed to launch Monte Carlo simulations are automatically created with the program. jdl files jobXXX.jdl Status files statusXXX.rndm Script files scriptXXX.csh Macro files macroXXX.mac Required files

  11. A typical jdl file:

  12. A typical script file:

  13. Storage Element Storage Element Storage Element Storage Element Computing Element Computing Element Computing Element Computing Element 7°) Submission on the DataGrid: GATE • GUI of WP1: Copy the medical image from the SE to the CE Retrieving of root output files from CEs Submission of jdls to the CEs CCIN2P3 GATE RAL Scanner slices: DICOM format GATE User interface NIKHEF Concatenation Anonymisation Database GATE Image: text file MARSEILLE Binary file: Image.raw Size 19M

  14. GATE: Geant4 Application for TomographicEmission Dedicated developments SPECT/PET • Develop a simulation platform for SPECT/PET imaging • Based on Geant4 GATE • Enrich Geant4 with dedicated tools SPECT/PET GEANT4 core • User friendly • Ensure a long term development • Effort of shared development • Collaboration: OpenGATE • Based on Geant4 User interface • C++ object oriented langage • Reliable cross sections • Framework:interface C++ classes Gate • GATE development • modelisation of detectors, sources, patient • movement (detector, patient) • time-dependent processes (radioactive decay, movement management, biological kinetics) Framework Geant4 • Ease of use • Command scripts to define all the parameters of the simulation

  15. Parallelization technique of GATE • The random numbers generator (RNG) in GATE • CLHEP libraries: HEPJamesRandom (deterministic algorithm of F.James) • Characteristics: • Very long period RNG: 2144 • Creation of 900 million sub-sequences non overlapping with a length of 1030 • Pregeneration of random numbers • The Sequence Splitting Method • Until now, 200 status files generated with a length of 3.1010 Status 1 Status 2 Status 3 status000.rndm status001.rndm status002.rndm Each status file is sent on the grid with a GATE simulation

  16. 8°) Analysis of output root files • Typical dosimetry: • Merging of all the root files • Computation of the root data Brain_radioth000.root: 20 MB Brain_radioth001.root: 20 MB Brain_radioth002.root: 20 MB Brain_radioth003.root: 20 MB Brain_radioth004.root: 20 MB Brain_radioth005.root: 20 MB Brain_radioth006.root: 20 MB Brain_radioth007.root: 20 MB Brain_radioth008.root: 20 MB Brain_radioth009.root: 20 MB transversal view Centre Jean Perrin Clermont-Ferrand

  17. Conclusion and future prospects • The parallelization of GATE on the DataGrid testbed has shown significant gain in computing time (factor 10) • It is not sufficient for clinical routine • Necessary improvements • Dedicated resources (job prioritization) • Graphical User interface

  18. Aknowledgements • WP1: • Graphical User Interface, JobSubmitter • WP2: • Spitfire • WP6: • RPMs of GATE • WP8 • WP10: • 4D Viewer (Creatis) • Centre Jean Perrin • LIMOS • System administrators • Installations on UIs

More Related