Geant4.8.3 Installation

Debian Sarge gcc335-13 (32bit)

CLHEP-2.0.3.1

  • CLHEPDIR=/usr/local/pub/debian3.1/gcc335-13/sim/CLHEP/2.0.3.1

Geant4.8.3

  • download of sourcecode (as rootmgr)
    • store at: /usr/local/pub/debian3.1/gcc335-13/sim
  • tar -zxvf geant4.8.3.p01.tar.gz
  • data files:
    • G4NDL (Neutron data files) version3.1 (see geant4,8.2)
    • G4EMLOW4.2 (low energy electromagnetic) (see geant4.8.2)
    • RadiativeDecay
    • PhotonEvaporation (version 2.0) (see geant 4.8.1)
    • RadioactiveDecay (version 3.1) (see geant4.8.2)

visualisation packages

  • /usr/local/pub/debian3.1/gcc335-13/sim/graphics/dawn_3_88a
  • /usr/local/pub/debian3.1/gcc335-13/sim/graphics/david/david_1_36a
  • OpenGL: Debian
  • Open Inventor: not used:
  • Wired: /usr/local/pub/debian3.1/gcc335-13/sim/graphics/Wired3

setup and configuration of Geant4.8.3

  • /usr/local/bin/gsisimlogin:
    • for compiler gcc335-13 add:
 g4.8.3 ) . $ROOTSIM/config/g4.8.3.gsiconf.sh
                   ;;
  • edit and create g4.8.3.gsiconf.sh
  • . gsisimlogin g4.8.3
  • $G4INSTALL/Configure -build
    • build shared libs, too
    • build static
    • build global
    • build granular
    • use global
    • debug mode
/usr/local/pub/debian3.1/gcc335-13/sim/geant4.8.3/.config/bin/Linux-g++/config.sh

test

  • N01:
    • /misc/kschwarz/GEANT4/examples/gcc335-13/geant4.8.3
    • cp -rp /usr/local/pub/debian3.1/gcc335-13/sim/geant4.8.3/examples/novice/N01 N01
    • cp -rp /usr/local/pub/debian3.1/gcc335-13/sim/geant4.8.3/examples/novice/N02 N02
    • cd N01
    • gmake clean/gmake
    /usr/lib/libfontconfig.so.1: undefined reference to `FT_Load_Sfnt_Table'
/usr/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property'
collect2: ld returned 1 exit status
gmake: *** [/misc/kschwarz/bin/Linux-g++/exampleN01] Error 1

    • fixed in GNUmakefile:
LDFLAGS+=-L/usr/lib -lfreetype    
    • /misc/kschwarz/bin/Linux-g++/exampleN01

  • N02: see above:

Debian Etch gcc411-21 (64bit)

CLHEP-2.0.3.1

  • CLHEPDIR=/usr/local/pub/debian4.0/gcc411-21/sim/CLHEP/2.0.3.1/

Geant4.8.3

  • download of sourcecode (as rootmgr)
    • store at: /usr/local/pub/debian4.0/gcc411-21/sim
  • tar -zxvf geant4.8.3.p01.tar.gz
  • ln -s geant4.8.3.p01 geant4.8.3
  • data files - 32bit versions:
    • G4NDL (Neutron data files) version3.1 (see geant4,8.2)
    • G4EMLOW4.2 (low energy electromagnetic) (see geant4.8.2)
    • PhotonEvaporation (version 2.0) (see geant 4.8.1)
    • RadioactiveDecay (version 3.1) (see geant4.8.2)

visualisation packages

  • Dawn: /usr/local/pub/debian4.0/gcc411-21/sim/graphics/dawn_3_88a
  • David: /usr/local/pub/debian4.0/gcc411-21/sim/graphics/david/david_1_36a/david
  • OpenGL: Debian
  • Open Inventor: not used:
  • Wired: /usr/local/pub/debian4.0/gcc411-21/sim/graphics/Wired3

Setup and configuration of Geant4.8.3

  • /usr/local/bin/gsisimlogin
    • for compiler gcc411-21 add:
                 g4.8.3 ) . $ROOTSIM/config/g4.8.3.gsiconf.sh
                   ;;   

  • cd $G4INSTAL, ./Configure -build
    • chose debug, build shared, static, compound, granular, use granular
    • use XAW and XM, found in /usr

test

  • N01
    • /misc/kschwarz/GEANT4/examples/gcc411-21/g4.8.3
    • . gsisimlogin g4.8.3
    • cp -rp /usr/local/pub/debian4.0/gcc411-21/sim/geant4.8.3/examples/novice/N01 N01
    • gmake clean/gmake
    • /misc/kschwarz/bin/Linux-g++/exampleN01

  • N02
    • cp -rp /usr/local/pub/debian4.0/gcc411-21/sim/geant4.8.3/examples/novice/N02 N02
    • cd N02
    • see above

administration

-- KilianSchwarz - 26 Oct 2007
Topic revision: r10 - 2007-11-12, KilianSchwarz
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)