Installing BEAMnrc With EGSnrc on a Linux Cluster

EGSnrc (Electron Gamma Shower) is "a package for the Monte Carlo simulation of coupled electron-photon transport. Its current energy range of applicability is considered to be 1 keV to 10 GeV". The previous instructions for installing it remain the same. EGSnrc has an additional program, BEAMnrc. BEAMnrc "is a general purpose Monte Carlo simulation system for modelling radiotherapy sources which is based on the EGSnrc code system for modelling coupled electron and photon transport".

BEAMnrc requires EGSnrc to be installed. Once this is done download the latest version of BEAMnrc; put the tarballs in a sensible place e.g.,

cd /usr/local/EGSnrc

Ensure that install_beam is executable; chmod u+x install_beam.

Export the EGSnrc environment variables. BEAMnrc will not install without these. Make note of the trailing slash; they are important, sometimes.

export HEN_HOUSE=/home/egsnrc/
export EGS_HOME=/home/egsnrc/
export EGS_CONFIG=/home/egsnrc/specs/x86_64-unknown-linux-gnu-g77.conf

Now you're ready to install BEAMnrc: ./install_beam.

It will complete with the following notification:

The OMEGA/BEAM basic installation is finished.

Every user who wants to use the system must now run the script


This will copy example .module files into 
the user's EGS_HOME/beamnrc/spec_modules directory and compile
DOSXYZnrc on the user's area.

Ensure that you make the files readable.

chmod a+r /home/egsnrc/ -R