Toward real-time Monte Carlo simulation using a commercial cloud computing infrastructure

Monte Carlo (MC) methods are the gold standard for modeling photon and electron transport in a heterogeneous medium; however, their computational cost prohibits their routine use in the clinic. Cloud computing, wherein computing resources are allocated on-demand from a third party, is a new approach for high performance computing and is implemented to perform ultra-fast MC calculation in radiation therapy. We deployed the EGS5 MC package in a commercial cloud environment. Launched from a single local computer with Internet access, a Python script allocates a remote virtual cluster. A handshaking protocol designates master and worker nodes. The EGS5 binaries and the simulation data are initially loaded onto the master node. The simulation is then distributed among independent worker nodes via the message passing interface, and the results aggregated on the local computer for display and data analysis. The described approach is evaluated for pencil beams and broad beams of high-energy electrons and photons. The output of cloud-based MC simulation is identical to that produced by single-threaded implementation. For 1 million electrons, a simulation that takes 2.58 h on a local computer can be executed in 3.3 min on the cloud with 100 nodes, a 47× speed-up. Simulation time scales inversely with the number of parallel nodes. The parallelization overhead is also negligible for large simulations. Cloud computing represents one of the most important recent advances in supercomputing technology and provides a promising platform for substantially improved MC simulation. In addition to the significant speed up, cloud computing builds a layer of abstraction for high performance parallel computing, which may change the way dose calculations are performed and radiation treatment plans are completed.

[1]  William Gropp,et al.  Skjellum using mpi: portable parallel programming with the message-passing interface , 1994 .

[2]  Anthony Skjellum,et al.  Using MPI - portable parallel programming with the message-parsing interface , 1994 .

[3]  Peter S. Pacheco Parallel programming with MPI , 1996 .

[4]  J J DeMarco,et al.  Monte Carlo methods for dose calculation and treatment planning: a revolution for radiotherapy. , 1999, Administrative radiology journal : AR.

[5]  Indrin J Chetty,et al.  Implementation of the DPM Monte Carlo code on a parallel architecture for treatment planning applications. , 2004, Medical physics.

[6]  Yoshihito Namito,et al.  The EGS5 code system , 2005 .

[7]  Yoshihito Namito,et al.  Outline of the EGS5 code system , 2006 .

[8]  Andreu Badal,et al.  A package of Linux scripts for the parallelization of Monte Carlo simulations , 2006, Comput. Phys. Commun..

[9]  B. Bednarz,et al.  Monte Carlo modeling of a 6 and 18 MV Varian Clinac medical accelerator for in-field and out-of-field dose calculations: development and validation , 2009, Physics in medicine and biology.

[10]  Alex Bateman,et al.  Cloud computing , 2009, Bioinform..

[11]  Alexander A. Morgan,et al.  Translational bioinformatics in the cloud: an affordable alternative , 2010, Genome Medicine.

[12]  D. Rogers,et al.  Replacement correction factors for plane-parallel ion chambers in electron beams. , 2010, Medical physics.

[13]  K. Bush,et al.  Monte Carlo evaluation of RapidArc™ oropharynx treatment planning strategies for sparing of midline structures , 2010, Physics in medicine and biology.

[14]  Steve B. Jiang,et al.  Development of a GPU-based Monte Carlo dose calculation code for coupled electron–photon transport , 2009, Physics in medicine and biology.

[15]  G. Nolan,et al.  Computational solutions to large-scale data management and analysis , 2010, Nature Reviews Genetics.

[16]  V. Chaudhary,et al.  Applying graphics processor units to Monte Carlo dose calculation in radiation therapy , 2010, Journal of medical physics.

[17]  W. Paul Segars,et al.  Patient-specific radiation dose and cancer risk estimation in CT: part II. Application to patients. , 2010, Medical physics.

[18]  Benoît Ozell,et al.  GPUMCD: A new GPU-oriented Monte Carlo dose calculation platform. , 2011, Medical physics.

[19]  Armando Fox,et al.  Cloud Computing—What's in It for Me as a Scientist? , 2011, Science.

[20]  K. Bush,et al.  Dosimetric validation of Acuros XB with Monte Carlo methods for photon dose calculations. , 2011, Medical physics.

[21]  Lei Xing,et al.  GPU computing in medical physics: a review. , 2011, Medical physics.