- Open Access
Monte Carlo verification of radiotherapy treatments with CloudMC
Radiation Oncology volume 13, Article number: 99 (2018)
A new implementation has been made on CloudMC, a cloud-based platform presented in a previous work, in order to provide services for radiotherapy treatment verification by means of Monte Carlo in a fast, easy and economical way. A description of the architecture of the application and the new developments implemented is presented together with the results of the tests carried out to validate its performance.
CloudMC has been developed over Microsoft Azure cloud. It is based on a map/reduce implementation for Monte Carlo calculations distribution over a dynamic cluster of virtual machines in order to reduce calculation time. CloudMC has been updated with new methods to read and process the information related to radiotherapy treatment verification: CT image set, treatment plan, structures and dose distribution files in DICOM format. Some tests have been designed in order to determine, for the different tasks, the most suitable type of virtual machines from those available in Azure. Finally, the performance of Monte Carlo verification in CloudMC is studied through three real cases that involve different treatment techniques, linac models and Monte Carlo codes.
Considering computational and economic factors, D1_v2 and G1 virtual machines were selected as the default type for the Worker Roles and the Reducer Role respectively. Calculation times up to 33 min and costs of 16 € were achieved for the verification cases presented when a statistical uncertainty below 2% (2σ) was required. The costs were reduced to 3–6 € when uncertainty requirements are relaxed to 4%.
Advantages like high computational power, scalability, easy access and pay-per-usage model, make Monte Carlo cloud-based solutions, like the one presented in this work, an important step forward to solve the long-lived problem of truly introducing the Monte Carlo algorithms in the daily routine of the radiotherapy planning process.
Monte Carlo (MC) simulations have become the gold standard for dose calculation in radiation therapy treatments since they include the real physical processes involved in the interaction of photons with matter in general and human tissues in particular [1, 2]. Some of the codes most frequently used in the radiation therapy field are, for example, EGSnrc , MCNP , PENELOPE  or GEANT4 . Making use of the named codes, some friendly-user software is often developed. For example, for PENELOPE code, PenEasy, a general-purpose main program , and PRIMO, an application for clinical linacs MC calculations with graphical user interface included , are available.
Regardless of the code used, a huge number of simulated particles is necessary to achieve a precise solution because of the stochastic nature of the MC approach. Therefore, these simulations are often computationally-expensive or time-consuming . A possible approach to handle this is the use of cluster-based parallel computing for speeding up MC simulations . The main barrier to this solution is the high investment needed, as well as associated maintenance, upgrade and staff costs . Such costs make practically unfeasible the use of MC simulations in a routine clinical basis.
Another proposed way to address the MC computational cost is the use of the graphics processing unit (GPU), whose architecture seems suitable for parallel computations since it comprises thousands of processing units on a single chip [12,13,14]. However, the size of the memory of this kind of devices is very limited compared to CPU-based implementations. This, together with other issues, makes their performance worse than what it could be expected as it was shown in a recently published point-counterpoint .
A more economically efficient approach is the use of the Cloud, which essentially consists of a set of computing resources offered through internet as a pay-per-usage service . In a Cloud Computing environment it is easy to create a virtual cluster with the capability of distributing any tasks onto the multiple computing nodes, which makes parallel computation available. Using such an approach, there is no need for initial investment since the facilities are already built and their maintenance is assumed by the owning companies. Instead, the whole outlay is about the costs of the resources actually used. Furthermore, applications can be scalable, so their computational resources can change at runtime to match the real needs, while the capacity of a conventional cluster is fixed, so the efficiency might not be optimal . The likelihood of future implementation of the Cloud Computing paradigm in the routine of clinical radiation therapy has been highlighted .
In a previous work , we presented CloudMC, a cloud-based platform developed over Microsoft Azure® cloud. It was originally intended to provide computational power to run MC simulations in a short time. This is accomplished through the distribution of the calculations over a dynamic cluster of virtual machines (VMs) that are provisioned on demand and removed automatically once the simulation is finished.
CloudMC was designed following some basic premises:
Accessibility: As CloudMC is presented as a web application, it is accessible to any user through internet, without the need of installing any software or acquiring any hardware.
Multi-application: It is possible to run different MC programs independently on the MC code in which they are based on.
Non-intrusiveness: There is no need of modifying the code or the MC programs in order to be executed on this platform.
Elasticity: The computational resources are not fixed, the user is able to select the number of computational nodes in which the calculations will be distributed.
During the last years, new developments have been implemented on CloudMC to include the service of MC verification of radiotherapy (RT) treatments and to improve its efficiency. This developments are presented in this work, together with a study of the performance of CloudMC for MC verification service.
CloudMC architecture is shown in Fig. 1. From the software architectural point of view, CloudMC follows a classical n-layered architecture, making wide use of dependency injection across the different layers in order to loose coupling. This means that the software is composed by several autonomous modules, allowing an easier testing and evolution of the whole system.
On the center of this architecture, there is an Entities layer , where key domain concepts are defined as plain C# classes. Figure 2 is a diagram of the three main entities and their dependencies. The main concept is the MC Model entity, which represents a group of files that can run a MC simulation. Associated to this MC Model, there are several entities that represent the configuration of how to run this MC Model in parallel. Basically, they determine the files and the position, inside of these files, where the input parameters (number of histories, execution time or random seeds and the mobile geometric elements) that have to be modified are located as well as the contents of the output files and their formats.
The second important entity is the RT Case. This entity contains the set of patient specific files that define a RT treatment and an instance of the MC Model that will be used to perform the MC calculations.
The third important entity is the Simulation. A Simulation can represent an execution of either a MC Model or a RT Case. A Simulation is also configured with the number of execution nodes that will be used for the parallelization, and with other parameters like number of histories to simulate. Simulation has a state (Inactive, downloading files, simulating, uploading results and finished) and, in case it is finished, a list of output results and an evaluation.
The following layer is Services. It contains several C# services that coordinates all the steps to create a simulation, to run it in parallel on the computation nodes, and to collect the results once the simulation is finished. Services layer uses the MapReduce module to configure MC Model files for parallelization, based on MC Model instance configuration. MapReduce module contains the cornerstone of the logic of CloudMC, which allows to achieve the parallel execution of different types of Monte Carlo applications (map) and merge their results (reduce).
Furthermore, Services layer uses the Provisioning module to create the compute nodes that will run the simulation. Currently, CloudMC relies on Microsoft Azure. Thus, the Provisioning module communicates with Azure Services Management REST API, a Microsoft Azure interface that relies on HTTP protocol which allows other software systems to consume its services, to request the creation/deletion of the compute nodes.
Finally, the Repositories layer handles the persistence of the entities and assets of CloudMC. Two types of persistency technologies are used; on one hand, there is a document database , specifically MongoDB, that stores entities metadata. On the other hand, all the files corresponding to MC Model, RT Case and Simulation are stored in Microsoft Azure Storage, a cloud object storage for unstructured data.
The new features added to this version of CloudMC are:
○ PlanRT class for reading RT plans in DICOM format exported from a treatment planning system (TPS). It contains methods to transform different types of dynamic beams into a discrete set of static beams that can be calculated by MC simulation.
○ CTimage class for reading the patient CT image set and convert it to PENELOPE (PenVox) or EGS (egsphan) voxelized geometries from a HU / density-material conversion table defined by the user. This conversion has also the possibility to change the size and resolution of the voxelized phantom.
○ RTDose class. It allows to read, modify and write dose distribution files in DICOM format (RTDOSE). The final dose distribution of the MC verification is transformed into this format to facilitate the evaluation with other programs.
○ PlanEval is a set of classes that makes it possible to read dose matrix and structure files in DICOM format (RTDOSE and RTSTRUCT) for treatment evaluation purposes. For instance, calculating dose-volume histograms (DVH).
○ Geometry Mapper is a set of methods that are used to manage the information related to mobile geometric elements (isocenter shifts, gantry, collimator and table angles, MLC and jaws positions, etc.) contained in the MC input files. These files are modified for each verification case with the information read from the corresponding DICOM RT plan. It also has a method to distribute the calculations of the treatment beams over the available computing nodes. Two options are implemented: “Equal” and “MUWeighted”. With the “Equal” option the different beams are distributed in the same number of computing nodes, while with the “MUWeighted” option the beams are distributed in a number of nodes proportional to their weight in terms of relative MU.
○ Reducing binary outputs. In the first versions of CloudMC, the output could only be managed if it was a text file with data in column format. A parametrization for reducing general binary files has been implemented. These files are supposed to have a header, which will not be modified in the reducing process, and the dose distribution data followed by the corresponding uncertainty distribution in single or double precision format.
Azure roles tests
In Azure, a Cloud Service Role is a collection of managed, load-balanced, Platform-as-a-Service VMs that work together to perform common tasks. There are two varieties: Web Role and Worker Role. A Web Role is a Cloud Service role where web applications are implemented. These applications contain the user interface through which the user interacts with and are developed through programming languages / technologies that are supported by Internet Information Services (IIS), such as ASP.NET, PHP, Windows Communication Foundation and Fast CGI. A Worker Role is any VM in Azure that runs applications and services level tasks. They are mainly used to perform supporting background processes along with Web Roles. Worker Roles can only be developed with .NET.
The VMs that support Azure roles can be of different types and sizes . VMs are classified in several series. The ones considered in this work are described below.
A-series: General purpose VMs. Can be deployed on various types of hardware and processors. They were the only type of machines eligible during the early times of Azure.
D-series: Optimized compute. D-series VMs are designed to run applications that demand higher compute power and temporary disk performance. D-series VMs feature a solid-state drive (SSD), faster processors and a higher memory-to-core ratio than A-series.
Dv2 and Dv3-series: Next generation of D-series. Their CPU is about 35% faster than the D-series CPU. They are based on the latest generation 2.4 GHz Intel Xeon® E5–2673 v3 (Haswell) processor and with Intel Turbo Boost Technology 2.0 that can go up to 3.2 GHz.
Ev3-series: Memory intensive VMs. Running on the Intel® Broadwell E5–2673 v4 2.3GHz processor, and the Intel® Haswell 2.4 GHz E5–2673 v3.
G-series: Memory optimized and high memory-to-core ratio VMs that feature Intel® Xeon® processor E5 v3 family.
Inside each series, it is possible to choose between several sizes of VMs, i.e. different amount of cores, RAM, temporary storage, etc. The price-per-hour of a VM depends on its type and size.
Some tests were conducted in order to determine the most suitable type and size for the set of Worker Roles that run the MC simulations in CloudMC and for the role responsible for the reducing tasks, the so called Reducer Role in this paper. For performance benchmarking of the different types and sizes of Worker Roles, a PenEasy  execution corresponding to a 3·105 histories MC simulation of an iodine radioactive seed in a COMS ophthalmic applicator  has been run on a single machine of different type/size each time. The tally files resulting from the PenEasy simulations contain the information of the spent CPU time, which will be used to evaluate the efficiency of the different VM types in executing this task.
The test for the Reducer Role consisted in the execution of a MC simulation of a radiotherapy beam on a patient phantom in 500 Worker Roles. Then, different types of VMs were used to perform the reduce tasks of the output files generated by the Worker Roles. Each Worker Role produces two output files, a 12 MB binary dose distribution file and an 8 MB IAEA PHSP. The time spent on the reduce task and on uploading the final results to the storage for each Reducer type was evaluated.
MC treatment verification in CloudMC
In order to show the performance of the MC treatment verification process on CloudMC, three different cases have been selected corresponding to three different treatments in three different LINAC models and involving the use of three different MC codes. The aim of considering so many variables was to prove that the conclusions are applicable to a wide range of cases. All these cases have the same structure in common. The calculations start from a source phase space file (PHSP), in IAEA format , previously calculated at the plane just before the beam modifiers (jaws and MLC). This source PHSP is used by the MC program that contains the MC model of the linac to generate the secondary PHSPs at the end of the beam modifiers. Finally, these secondary PHSPs are used as source by PenEasy to obtain the dose distribution inside a voxelized geometry built from the CT image set of the patient.
The previous calculation of the source PHSPs has also been performed with CloudMC using the corresponding MC Model for each linac. The generated PHSPs contain more than 5·108 particles and are larger than 15 GB.
Case 1: mArc H&N treatment planned for a Siemens ONCOR® LINAC with the 160-MLC multi-leaf collimator. The MC model uses an in-house developed program  based on the Geant4 code [6, 30, 31]. The mArc [32, 33] technique is the approach to volumetric therapy proposed by Siemens. It consists in a rotational beam divided in small arclets (of 2–4 degrees width), which in our case are 8 degrees apart from each other. While the gantry rotates, the beam is switched on only when the angle position is within the arclets. From the end of one arclet to the beginning of the next one the beam is switched off and the MLC moves to reach the next control point configuration. CloudMC reads the DICOM RT plan and transforms each arclet to a static beam with a gantry angle equal to the arclet central angle and the same MU delivered during the arclet. The voxelized phantom generated had a 2x2x5 mm3 resolution.
Case 2: Static IMRT prostate treatment planned for a Siemens PRIMUS® linac. The MC model used for this linac was developed by Leal et al. [34, 35] using the program BEAMnrc , based on the EGSnrc code . The treatment consists of 25 control points distributed in seven incidences. The calculation voxel size was also 2x2x5 mm3.
Case 3: SBRT lung treatment planned for a Varian Clinac 2300® with 120-MLC. The back-end programs of PRIMO software , version 0.1.5.1307, were used for MC calculations (PenEasyLinac.exe and PenEasy_PRIMO.exe). The treatment consists of nine static beams conformed to the planning target volume (PTV). A smaller voxel size of 2.5 × 2.5 × 2 mm3 was used to match, like in cases 1 and 2, the same calculation grid resolution used in the TPS.
From these three RT cases, several simulations have been run changing the number of histories and the number of Worker Roles to study the feasibility of CloudMC to perform MC verification of RT treatments. The VM type chosen for the Worker Roles was the D1_v2, while a G1 VM was used for Reducer Role. For each case, two simulations were run using different number of histories in order to obtain results with two levels of uncertainty, one below 4% and another below 2% (2σ).
PRIMO implementation in CloudMC
The PRIMO implementation in CloudMC has a special interest, because it allows to simulate in CloudMC all the LINACS modelled in the PRIMO software. In order to understand how it was implemented, we first need to present a brief explanation of PRIMO software. PRIMO is a MC platform that allows for the simulation of a wide variety of Varian and Elekta linacs. It makes use of the physics from PENELOPE code through the main simulation program PenEasy . Dedicated variance reduction techniques have been implemented to reduce computation times. The main program PRIMO.exe contains the graphical interface through which the user configures the simulation as well as analyze the results. This program is also responsible for managing the back-end programs preparing their input, controlling the execution and collecting as well as presenting their results. These programs are PenEasy_PRIMO and PenEasyLinac. PenEasy_PRIMO is a dedicated version of the PenEasy code, while PenEasyLinac is a program that prepares the linac geometry and the input files for PenEasy.
When a PRIMO user launches a simulation, PRIMO transcribes the information defined by the user through the graphical interface into input text files for PenEasyLinac. Then PRIMO calls the execution of PenEasyLinac, which generates the input files for PenEasy_PRIMO. These input files consist of a main PenEasy input file, the material files and the linac geometry modified with the user defined beam configuration. PRIMO calls then the execution of PenEasy_PRIMO that carries out the MC simulation and manages the map/reduce tasks if the user had selected the parallelization in several cores.
PRIMO cannot be implemented as it is in CloudMC because CloudMC only works with programs that have text files as input and this is not the case of PRIMO. However, it is actually the case of its back-end programs. Subsequently, to create the MC model of PRIMO in CloudMC the input files of PenEasyLinac are parametrized for the map tasks. The file PenEasyLinPlus.in contains the information about the number of histories and the initial random seeds while the file PRIMOPEL.in contains the linac model name and the geometric configuration of the beam. The files required to create the MC model in CloudMC are mainly the ones contained in the PenEasyLinac folder, so this folder was uploaded completely into the corresponding container in the Azure Storage system.
Once this MC model of PRIMO is created in CloudMC it is possible to use all the features of the platform like performing MC verification of all sort of RT treatments calculated for any of the linac models contained in PRIMO.
Virtual machine type tests
The results of the Worker and Reducer Roles performance tests in the different types of VMs are shown in Table 1. Information about the VMs specifications is also provided . The outcome considered for the Worker Role test was the CPU time spent on the execution of the PenEasy MC program. CPU times are also presented relative to the A1 (Small) size (Rel. Time column in Table 1). The fastest machine was found to be the G1, but it is also the most expensive. It can be seen that the number of cores is not a factor to take into account for the calculation speed. The most influencing factor is the processor features. As it was previously explained, D-series are compute-optimized machines with faster processors than the A-series. Furthermore, Dv2-series are even faster, as they are based on the latest generation 2.4 GHz Intel Xeon® E5–2673 v3 (Haswell) processor.
The “cost-efficiency” factor, presented in the 8th column of Table 1, is calculated as the product of the time and the cost relative to the A1 machine. The VM type with best cost-efficiency is the D1_v2; this means that a simulation executed on this machine will cost less than the same simulation executed on any other of the machines analyzed.
To evaluate the performance of different types of VMs for the reduce tasks, the time spent by the Reducer Role on merging the simulation output files and uploading the final results to the Storage are presented in the lasts columns of Table 1. Two output files per Worker Role were generated in each simulation, an 8 MB IAEA phase space and a 12 MB dose distribution in binary format. Since the number of Worker Roles was set to 500, it means that the Reducer Role has to download and process 1000 files corresponding to 9.4 GB of data. The size of the reduced files that are finally uploaded to the storage is 3.77 GB. The time that the Reducer Role spends downloading the results of the Workers from the Storage is not considered. That is because the Reducer is already alive when the Workers are running the simulation and it is downloading the results in real time as the Workers are finishing.
VM types with high RAM have a similar performance for the reduce tasks. In order to choose one type as default, other features, like the disk capacity and the cost, need to be taken into account. For example, E-series machines have a good performance, but they have less disk capacity, which may not be enough for some simulations involving very large PHSPs. According to all this, G1 has been chosen as the preferred VM for the Reducer Role.
MC verification cases
The results of the performance of three MC verification cases in CloudMC are presented in Table 2. For each case, two simulations were run. Simulation 1 produces a dose distribution with a 2σ uncertainty of around 4% in the PTV, while for simulation 2, a four times higher number of histories was selected to obtain a lower uncertainty, below 2% in the PTV. The Workers mean time is given with its associated standard deviation. The total simulation time reported corresponds to the interval since the user clicks the run button until the Reducer uploads the final results to the Storage. It includes the time needed to mount the Workers and Reducer cloud services, the start-up time (SUT) of the VMs, the execution tasks performed by the Workers and the processing tasks performed by the Reducer. The time required to upload the patient data to the application was not considered.
From the two values of Workers mean time obtained for each case it is possible to estimate the non-parallelizable time. Non-parallelizable tasks are the ones that cannot be divided and, therefore, have to be done in all the Worker Roles: downloading files from the storage, initializing the MC programs, processing output files and uploading results to Storage. The non-parallelizable time is the main factor responsible for the increase in the cost when more compute nodes are used for parallelization. This time was estimated in 1.5, 1.6 and 3.9 min for the three cases presented respectively. The main reason for case 3 having larger non-parallelizable time is the smaller voxel size used. The CT data set is also larger than the ones in case 1 and 2 because the scan covers a larger anatomical region. This requires the manipulation of large files during all the simulation process and, consequently, it results in an increase of the time of the non-parallelizable tasks. This is also the reason for the larger merging times in the reducer phase.
The calculation speed is not the only feature to consider when choosing the most adequate VM type because the calculation times are reduced in CloudMC mainly by means of the parallelization strategy. The cost per hour is another important factor. The VM with best cost efficiency was shown to be the D1_v2 and, for this reason, it was the default type chosen for the Worker Roles in CloudMC.
When it comes to choosing the VM as the Reducer Role, its cost is not such an important factor because it will only contribute to a small proportion of the total cost of the simulation. The cost of a simulation is calculated from the usage time of every VM (Web Role, Worker Roles and Reduccer Role) and their cost per hour. Therefore, the main contribution to the simulation cost will come from the Worker Roles when a large number of them is selected. For all these reasons, having short reducing times was prioritized and the G1 is the default size for the Reducer Role in CloudMC.
One of the steps that increases the most the time of a simulation in CloudMC is the Worker Roles SUT. When a Worker Roles service is created in Azure, VMs have to be created over physical hardware and the operating system needs to be initialized. This may take some minutes. In Table 2 the SUT of the first and last Worker Roles is presented. It seems that there is no correlation between the number of Workers and the SUT of the first one or the time interval between the first and the last Worker initialized. The SUT contribution to the total simulation time might be removed if the Worker Roles service was already created before starting the simulation, but it would increase the final cost considerably.
The costs associated to MC verifications like those presented above have a strong dependency on several factors like the efficiency of the MC engine, the uncertainty level desired, the features of the VMs used, etc. It is important to point out that, since the release of the first commercial clouds, important upgrades have been made to provide more types of VMs optimized to perform different tasks, at the same time that the costs have been decreasing more and more. For example, at the time we published our previous work  in 2013, a little variety of VMs sizes was available and their cost was almost double as of today.
The results presented for the MC verification cases should not be understood as a comparison of the efficiency between different codes. There are many factors that influence the calculation times, like the simulation parameters (cutoff energies, variance reduction techniques…), the dimensions and voxel size of the patient voxelized phantom, etc. A more detailed study of the effect of these factors on the total simulation time could be done in order to minimize times and costs, but it is beyond the purpose of this work. Therefore, the aim of using different MC codes was not to make a comparison between them, but to show the flexibility of CloudMC.
In contrast to other initiatives that developed a highly integrated solution pursuing near real-time MC calculations in a TPS , CloudMC has been designed as a flexible platform independent of any commercial planning software that, at the same time, allows for the possibility of experimenting with different MC engines independently of the code they are based on.
Regarding the implementation of PRIMO in CloudMC, a new version of the PRIMO (version 0.3.1) has been recently released that incorporates new features and substantial changes like, for example, the possibility of using the fast MC code DPM  as the backend program to run the simulations. The implementation of the new PRIMO version in CloudMC has not been addressed yet, but it is part of our project roadmap.
Following the path started in our previous work , the MC verification of RT treatments has been implemented in CloudMC. MC cloud-based solutions like the one presented here overcome the main drawbacks historically associated to the use of MC algorithms in clinical routine, as they take the main advantages from Cloud Computing technology, which are high computational power, scalability of the computational resources, easy access and pay-per-usage model. The results achieved prove Cloud Computing technology to be one of the most promising solutions to solve finally the long-lived problem of truly introducing the MC algorithms in the daily routine of the RT planning process.
Planning target volume
Treatment planning system
Lovelock DM, Chui CS, Mohan R. A Monte Carlo model of photon beams used in radiation therapy. Med Phys. 1995;22(9):1387–94.
Chetty IJ, Curran B, Cygler JE, DeMarco JJ, Ezzell G, Faddegon BA, et al. Issues associated with clinical implementation of Monte Carlo-based photon and electron external beam treatment planning. Med Phys. 2007;34(12):4818–53.
Kawrakow I. Accurate condensed history Monte Carlo simulation of electron transport. I. EGSnrc, the new EGS4 version. Med Phys. 2000;27(3):485–98.
C.J. Werner (editor). MCNP Users Manual - Code Version 6.2. LA-UR-17-29981. 2017. Available from: https://laws.lanl.gov/vhosts/mcnp.lanl.gov/pdf_files/la-ur-17-29981.pdf. Accessed 23 Mar 2018.
Baró J, Sempau J, Fernández-Varea JM, Salvat F. PENELOPE: an algorithm for Monte Carlo simulation of the penetration and energy loss of electrons and positrons in matter. Nucl Instrum Methods Phys Res Sect B Beam Interact Mater At. 1995;100(1):31–46.
Agostinelli S, Allison J, Amako K, Apostolakis J, Araujo H, Arce P, et al. Geant4—a simulation toolkit. Nucl Instrum Methods Phys Res Sect Accel Spectrometers Detect Assoc Equip. 2003;506(3):250–303.
Sempau J, Badal A, Brualla LA. PENELOPE-based system for the automated Monte Carlo simulation of clinacs and voxelized geometries-application to far-from-axis fields. Med Phys. 2011;38(11):5887–95.
Rodriguez M, Sempau J, Brualla L. PRIMO: a graphical environment for the Monte Carlo simulation of Varian and Elekta linacs. Strahlenther Onkol. 2013;189(10):881–6.
Oelkfe U, Scholz C. Dose calculation algorithms. In: New Technologies in Radiation Oncology. Berlin, Heidelberg: Springer; 2006. p. 187–96. (Medical Radiology). Available from: https://link.springer.com/chapter/10.1007/3-540-29999-8_15. Accessed 23 Mar 2018.
Love P, Spezi E, Lewis G, Smith C, Morton E, Munro D. Parallel processing of radiotherapy Monte Carlo simulations on a remote Beowulf cluster. In: The use of computers in radiation therapy. Berlin, Heidelberg: Springer; 2000. p. 409–10. Available from: https://link.springer.com/chapter/10.1007/978-3-642-59758-9_155. Accessed 23 Mar 2018.
Keyes RW, Romano C, Arnold D, Luan S. Radiation therapy calculations using an on-demand virtual cluster via cloud. Computing. 2010;12 Available from: https://arxiv.org/abs/1009.5282. Accessed 27 Mar 2018
Hissoiny S, J E Raaijmakers A, Ozell B, Després P, W Raaymakers B. Fast dose calculation in magnetic fields with GPUMCD. Phys Med Biol. 2011;56:5119–29.
Jia X, Gu X, Jiang Graves Y, Folkerts M, Jiang S. GPU-based fast Monte Carlo simulation for radiotherapy dose calculation. Phys Med Biol. 2011;56:7017–31.
Jia X, Ziegenhein P, Jiang SB. GPU-based high-performance computing for radiation therapy. Phys Med Biol. 2014;59(4):R151.
Jia X, George Xu X, Orton CG. Point/Counterpoint. GPU technology is the hope for near real-time Monte Carlo dose calculations. Med Phys. 2015;42(4):1474–6.
Foster I, Zhao Y, Raicu I, Cloud Computing LS. Grid computing 360-degree compared. In: 2008 grid computing environments workshop; 2008. p. 1–10.
Wang H, Ma Y, Pratx G, Xing L. Toward real-time Monte Carlo simulation using a commercial cloud computing infrastructure. Phys Med Biol. 2011;56(17):N175–81.
Moore KL, Kagadis GC, McNutt TR, Moiseenko V, Mutic S. Vision 20/20: automation and advanced computing in clinical radiation oncology: automation and advanced computing in clinical radiation oncology. Med Phys. 2013;41(1):010901.
Miras H, Jiménez R, Miras C, Gomà C. CloudMC: a cloud computing application for Monte Carlo simulation. Phys Med Biol. 2013;58(8):N125.
Rick-Anderson. Razor syntax reference for ASP.NET Core. Available from: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor. Accessed 23 Apr 2018.
Bill Wagner. Introduction to the C# Language and the. NET Framework. Available from: https://docs.microsoft.com/en-us/dotnet/csharp/getting-started/introduction-to-the-csharp-language-and-the-net-framework. Accessed 23 Apr 2018.
Krill P. Microsoft open-sources entity framework. InfoWorld 2012. Available from: https://www.infoworld.com/article/2617690/microsoft-net/microsoft-open-sources-entity-framework.html. Accessed 23 Mar 2018.
Document Databases. MongoDB. Available from: https://www.mongodb.com/document-databases. Accessed 23 Apr 2018.
Cardan R. Evil-DICOM: a C# DICOM library. 2018. Available from: https://github.com/rexcardan/Evil-DICOM. Accessed 20 Mar 2018.
DICOM Standard. Available from: http://www.dicomstandard.org/. Accessed 22 Mar 2018.
Pricing - Cloud Services | Microsoft Azure. Available from: https://azure.microsoft.com/en-us/pricing/details/cloud-services/. Accessed 20 Mar 2018.
Miras H, Terrón JA, Lallena AM. Monte Carlo simulation of COMS ophthalmic applicators loaded with Bebig I25.S16 seeds and comparison with planning system predictions. Phys Med. 2013;29(6):670–6.
Capote R, Jeraj R, Ma CM, Rogers DWO, Sanchez-Doblado F, Sempau J, et al. Phase-space database for external beam radiotherapy. Vienna: International Nuclear Data Committee; 2005. Available from: http://inis.iaea.org/Search/search.aspx?orig_q=RN:37073778. Accessed 23 Mar 2018.
Perales Á, Cortés-Giraldo MA, Miras H, Arráns R, Gallardo MI. Dosimetric impact assessment using a general algorithm in geant4 simulations for a complex-shaped multileaf collimator. Phys Med. 2017;41:39–45.
Allison J, Amako K, Apostolakis J, Araujo H, Dubois PA, Asai M, et al. Geant4 developments and applications. IEEE Trans Nucl Sci. 2006;53(1):270–8.
Allison J, Amako K, Apostolakis J, Arce P, Asai M, Aso T, et al. Recent developments in Geant4. Nucl Instrum Methods Phys Res Sect Accel Spectrometers Detect Assoc Equip. 2016;835:186–225.
Salter BJ, Sarkar V, Wang B, Shukla H, Szegedi M, Rassiah-Szegedi P. Rotational IMRT delivery using a digital linear accelerator in very high dose rate ‘burst mode’. Phys Med Biol. 2011;56(7):1931.
Dzierma Y, Nuesken F, Licht N, Ruebe C. A novel implementation of mARC treatment for non-dedicated planning systems using converted IMRT plans. Radiat Oncol. 2013;8:193.
Leal A, Sánchez-Doblado F, Arráns R, Roselló J, Pavón EC, Lagares JI. Routine IMRT verification by means of an automated Monte Carlo simulation system. Int J Radiat Oncol Biol Phys. 2003;56(1):58–68.
Pavón EC, Sánchez-Doblado F, Leal A, Capote R, Lagares JI, Perucha M, et al. Total skin electron therapy treatment verification: Monte Carlo simulation and beam characteristics of large non-standard electron fields. Phys Med Biol. 2003;48(17):2783.
Rogers DWO, Faddegon BA, Ding GX, Ma C-M, We J, Mackie TR. BEAM: a Monte Carlo code to simulate radiotherapy treatment units. Med Phys. 1998;22(5):503–24.
Ziegenhein P, Kozin IN, Kamerling CP, Oelfke U. Towards real-time photon Monte Carlo dose calculation in the cloud. Phys Med Biol. 2017;62(11):4375.
Sempau J, Wilderman SJ, Bielajew AF. DPM, a fast, accurate Monte Carlo code optimized for photon and electron radiotherapy treatment planning dose calculations. Phys Med Biol. 2000;45(8):2263.
We thank Carles Gomà for his help revising the English of this manuscript.
This work was supported by Fundación Progreso y Salud (PI-0261-2014 FPS 2014) and Consejería de Salud de la Junta de Andalucía (PIN-0215-2017) funding programs.
Availability of data and materials
The main data generated in this work is software code. Actually, the project is still under ongoing developments and it is not open source. When a release version of CloudMC is available, it will be accessible at http://cloudmontecarlo.cloudapp.net. For more information, please contact the corresponding author.
Ethics approval and consent to participate
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Miras, H., Jiménez, R., Perales, Á. et al. Monte Carlo verification of radiotherapy treatments with CloudMC. Radiat Oncol 13, 99 (2018) doi:10.1186/s13014-018-1051-9
- Cloud computing
- Monte Carlo