Compiling GEANT 4
Maher Quraan
January 26, 2005


  • Setup GEANT4:
    setenv GEANT4_COMMANDS $HOME/e614soft/triumf/geant4
    setup geant4 devel
  • Set mlib and compile the f77 digitization code:
    mlib f77
    cd $G4F77/src make
  • Go to geant4 root directory "..../geant4/devel":
    cd $G4ROOT
  • Execute shell script to set geant4 environment variables:
    source scripts/twist7.0env.csh
  • Compile geant4:
    make clean
    make

  • Last Updated 2005-April-28 by Maher Quraan.