Geant4 9.3 installation on lheppc83 EXO server

From LHEP Wiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The newest version of EXOSoftware uses Geant4.3.9.p01. This Geant4 version has been installed on lheppc83 and tested with the EXOAnalysis module. The following steps has been performed:

  • Install CLHEP version 2.0.4.5
  • Download the source files from http://geant4.cern.ch/
  • Unpack the package in /opt/geant4
  • Download the following data files
G4ABLA.3.0.tar.gz
G4EMLOW.6.9.tar.gz
G4NDL.3.13.tar.gz
G4RadioactiveDecay.3.2.tar.gz
PhotonEvaporation.2.0.tar.gz
RealSurface.1.0.tar.gz

and unpack them in /opt/geant4/v4.9.3.p01/data

  • Make sure all G4 environment variables are unset
  • In the install directory, do the initial build using the configure script
./Configure -build

The script will lead you through the installation process. During this process, make sure you select this non-default option

Do you want to copy all Geant4 headers in one directory? [y]

This will copy all header files in /opt/geant4/v4.9.3.p01/include

  • Run the configure script without any option
./Configure

This will generate the environment setup script env.sh which you can source (e.g. in .bashrc) to set up environment variables.

  • Install Geant4 by typing
./Configure -install

This will install libraries and necessary source code in lib/geant4, include/geant4