Geant 4
Overview
Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
The following version is installed on the CSF:
- Geant4 10.5
Restrictions on use
This is not open source software. It does have a license which you should read. GEANT4 is available to all CSF3 users. Please note, there is no access to the source code on CSF3.
Set up procedure
To access the toolkit please load one of the appropriate modulefile:
module load apps/intel-17.0/geant4/10.5
NOTE we now recommend loading module files in your job script rather than on the login node.
Using the Toolkit
Compile your GEANT4 Application
Create your build directory:
mkdir ~/scratch/my_application_build cd ~/scratch/my_application_build
Compile your code with
cmake -DGeant4_DIR=$GEANT4DIR ~/path/to/my_application_source make
The executable will be created.
Please do not run your Geant4 application on the login node. Jobs should be submitted to the compute nodes via batch or qrsh for an interactive session.
Run
Serial batch job submission
If your application is interactive, for example, if it produces graphical output, please use qrsh to login to a compute node for an interactive session:
qrsh -l short -cwd bash module load apps/intel-17.0/geant4/10.5 ~/path/to/my_application
If your application isn’t interactive, please submit jobs via batch:
#! /bin/bash --login #$ -cwd module load apps/intel-17.0/geant4/10/5 ~/path/to/my_application
Parallel batch job submission
Geant4 is not suitable for parallel jobs.
Further info
- Documentation: Geant4 Website
- Tutorials/examples are available in
$GEANT4DIR/hare/Geant4-10.5.0/examples/
- Neutron data available in
$G4NEUTRONHPDATA
- Low energy electromagnetic data available in
$G4LEDATA
- Photon evaporation data available in
$G4LEVELGAMMADATA
- Radioactive decay data available in
$G4RADIOACTIVEDATA
- Neutron data available in
$G4NEUTRONHPDATA
- Particle cross-sections on natural composition of elements Data available in
$G4PARTICLEXSDATA
- Shell ionisation cross-sections data available in
$G4PIIDATA
- Optical surface reflection data available in
$G4REALSURFACEDATA
- Evaluated cross-sections in SAID data-base available in
$G4SAIDXSDATA=
- Nuclear shell effects in INCL/ABLA hadronic mode data available in
$G4ABLADATA
- Proton and neutron density profiles in INCL available in
$G4INCLDATA
- Nuclides properties available in
$G4ENSDFSTATEDATA
Updates
None.