Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2011 Sep 7;56(17):N175-81.
doi: 10.1088/0031-9155/56/17/N02. Epub 2011 Aug 12.

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

Affiliations

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

Henry Wang et al. Phys Med Biol. .

Abstract

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.

PubMed Disclaimer

Figures

FIG. 1
FIG. 1
Schematic of a high level view of the cloud-based MC computing. A Python script is executed on a local computer to allocate via the Internet one master node and a chosen number of worker nodes. Each worker node simulates a chosen number of particles independently and the final result is transferred to the local client computer.
FIG. 2
FIG. 2
Percentage depth dose curves for pencil beam electrons (left) and photons (middle) of varying energies. Lateral dose profiles for a 10cm×10cm 20 MeV electron field at three depths are plotted in the right panel.
FIG. 5
FIG. 5
Time versus number of EC2 nodes for 10,000 particles, 20 MeV electrons.

References

    1. Amazon. 2011 http://aws.amazon.com.
    1. Badalabd A, Sempau J. A package of Linux scripts for the parallelization of Monte Carlo simulation. Comput Phys Commun. 2006;175:440–450.
    1. Bakhtiari M, Malhotra H, Jones MD, Chaudhary V, Walters JP, Nazareth D. Applying graphics processor units to Monte Carlo dose calculation in radiation therapy. J Med Phys. 2010;35(2):120–122. - PMC - PubMed
    1. Bateman A, Wood M. Cloud computing. Bioinformatics. 2009;25(12):1475. - PubMed
    1. Bednarz B, Xu XG. 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. Phys Med Biol. 2009;54(4):N43–N57. - PMC - PubMed

Publication types