How it works
- The package includes two programs, GB_SOW and GB_REAP.
- GB_SOW includes all technical features of GamBet. The program may be installed on any number of 32 or 64 bit computers without a license requirement. GB_REAP is installed on a master 64-bit computer with a GamBet license.
- The user sets up and tests a GamBet run using the standard programs. Then, identical sets of the required input files (GamBet control script, mesh definition, electric or magnetic field files,...) are distributed to the worker computers.
- GB_SOW is launched on each worker computer, either from a window or from the command line. Multiple instances of GB_SOW may run on multiprocessor machines.
- The GB_SOW run produces a single binary file with a unique identifying name that contains all information from the GamBet calculation (escape particles, dose, statistics,...). The user moves output files from the worker computers to a data folder on the master computer.
- GB_REAP identifies all binary input files in the specified directory and combines them to produce GamBet output files in standard format. These files may be analyzed with GBView2, GBView3 or GenDist. Escape particles are combined in a single escape file with appropriate weightings. Information on statistics and dose distribution is averaged.
In the procedure, the user's only role is to transfer files to and from the worker computers. This leaves complete flexibility for configuring the distributed network and automating file transfers. Despite its simplicity, the GDE concept has several advantages:
- Calculations are independent and need not be synchronized.
- There is no overhead for parallel processing. Five quad-core computers can reduce the time to generate a required number of showers by a factor of 20.
- If one machine fails during the computation, data from the other computers is still valid and useful.
- It is easy to improve the accuracy of a calculation by adding more showers without starting from scratch. The user simply creates more worker-computer files. They are added to the master folder and the total collection is recombined with GB_REAP.
- Communication between computers is solely through file transfers. Therefore, it is easy to carry out extended calculations at any locations via a company network or the Internet.
|