geant4

About

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 two main reference papers for Geant4 are published in Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303, and IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278.

Versions and Availability

Module Names for geant4 on qb2
Machine Version Module Name
None Available N/A N/A
▶ **FIX-ME** FAQ?

Usage

On SuperMike, softenv defines some variables which point at the library home directory. Use soft-dbq to determine it's name, then use it to add a link option to your build. You may see something like this (the output has been edited for brevity):

$ soft-dbq +geant4-4.10.00.p02-gcc-4.4.6
......
The following files will be sourced:
  /usr/local/packages/cern/geant-4.10.00.p02/bin/geant4.[csh|sh]
The following environment changes will be made:
  CLHEP_INCLUDE = /usr/local/packages/cern/geant-4.10.00.p02/include
  GEANT4_HOME = /usr/local/packages/cern/geant-4.10.00.p02
  LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}:/usr/local/packages/cern/geant-4.10.00.p02/lib64
  PATH = ${PATH}:/usr/local/packages/cern/geant-4.10.00.p02/bin
......
    

Source the geant4.[csh|sh] file before using it.

$source /usr/local/packages/cern/geant-4.10.00.p02/bin/geant4.[csh|sh]
    

On QB-2, module defines the variables. Use module show to show the names.

$ module show geant4
......
prepend-path	 PATH /usr/local/packages/cern/geant4-10.00.p02/bin 
prepend-path	 LD_LIBRARY_PATH /usr/local/packages/cern/geant4-10.00.p02/lib 
......
    

Source the geant4.[csh|sh] file before using it.

$source /usr/local/packages/cern/geant4-10.00.p02/lib/bin/geant4.[csh|sh]
    

Resources

Last modified: June 15 2015 13:17:47.