Geant4.9.0 installation

32bit environments

Debian Sarge gcc335-13

CLHEP-2.0.3.1

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

Geant4.9.0

  • download of source code (as rootmgr): geant4.9.0.p01.tar.gz (Unix tar)
    • store at: /usr/local/pub/debian3.1/gcc335-13/sim
    • tar -zxvf geant4.9.0.p01.tar.gz

data files

  • G4NDL version 3.11 (neutron data files)
  • G4EMLOW version 4.3 (low electromagnetic processes)
  • PhotonEvaporation version 2.0 (photon evaporation) see geant4.8.1
  • G4RadioactiveDecay version 3.2 (radioactive decay hadronic processes)

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: ??? ==> NO !!!
  • Wired: /usr/local/pub/debian3.1/gcc335-13/sim/graphics/Wired3

setup and configuration of Geant4.9.0

  • /usr/local/bin/gsisimlogin:
    • for compiler gcc335-13 add:
g4.9.0 ) . $ROOTSIM/config/g4.9.0.gsiconf.sh
                 ;;
  • create and edit g4.9.0.gsiconf.sh
  • create softlink: ln -s geant4.9.0.p01 geant4.9.0
  • gsisimlogin g4.9.0
  • $G4INSTALL/Configure -build (multiple machines: n, cp headers: y, build shared, static, global, granular, use global, debug, UI sessions: yes, XAW in /usr/X11R6, XM in /usr, VIS driver: yes, OpenGLX, OpenGLXM, Dawn, OIX: no, Raytracer, VRML, OGLHOME: /usr/X11R6, G3TOG4, ZLIB, AIDA: no
Press [Enter] to start installation or use a shell escape to edit config.sh:

Can't find config.sh.
Can't find config.sh.

solution ?!
source /usr/local/pub/debian3.1/gcc335-13/sim/geant4.9.0/.config/bin/Linux-g++/config.sh
cd $G4INSTALL/source
gmake

tests

  • N01: ok
  • N02: ok

Debian Etch gcc411-21 (32bit)

CLHEP-2.0.3.1

  • get tar ball from Debian3.1 environment and untar
  • cd /usr/local/pub/debian4.0/i686/gcc411-21/sim/CLHEP/2.0.3.1/CLHEP
  • ./configure --prefix=/usr/local/pub/debian4.0/i686/gcc411-21/sim/CLHEP/2.0.3.1/
  • make, make check, make install

Visualisation Packages

Dawn

  • get code
>pwd
/usr/local/pub/debian4.0/i686/gcc411-21/sim/graphics/dawn
> cp /usr/local/pub/debian3.0/gcc323-00/sim/graphics/dawn_3_88a.taz .
> tar -zxvf dawn_3_88a.taz
  • compile
> cd dawn_3_88a 
> make clean
> make guiclean
> ./configure_min (g++, -O2, wish, /usr/local/pub/debian4.0/i686/gcc411-21/sim/graphics/dawn/dawn_3_88a/bin)
> make
> mkdir bin
> make install
  • test
> cd PRIM_DATA
> ../bin/dawn primitives2.prim
* Set ALLOWTOPICCHANGE = KilianSchwarz

David

  • David version 1_36a
    • cd /usr/local/pub/debian4.0/i686/gcc411-21/sim/graphics/david
    • cp /usr/local/pub/debian3.0/gcc323-00/sim/graphics/david/david_1_36a.taz .
    • tar -zxvf david_1_36a.taz
    • cd david_1_36a
    • make -f Makefile.GNU_g++
    • check with ls -F david, if a binary has been created
    • do the tests in README.html ==> ok
    • edit Makefile
# INSTALL_DIR = /usr/local/bin
INSTALL_DIR = /usr/local/pub/debian4.0/i686/gcc411-21/sim/graphics/david/david_1_36a/bin
    • mkdir /usr/local/pub/debian4.0/i686/gcc411-21/sim/graphics/david/david_1_36a/bin
    • make install

OpenGL

  • should be provided by Debian in /usr

OpenInventor

  • not used

Wired (now HepRapp)

setup and configuration of Geant4.9.0

  • /usr/local/bin/gsisimlogin
    • for compiler gcc411-21 add:
 export ROOTSIMNEW=/d/alice01/alisoft/debian4.0/$(uname -m)/gcc411-21/sim
g4.9.0 ) . $ROOTSIMNEW/config/g4.9.0.gsiconf.sh
         ;;   
  • edit and create g4.9.0.gsiconf.sh
  • get code: as alisoft
  • compile
    • . gsisimlogin g4.9.0
    • ln -s ln -s geant4.9.0.p02 geant4.9.0
    • $G4INSTALL/Configure -build
      • build shared libs, too
      • build static
      • build global
      • build granular
      • use global
      • debug mode
Press [Enter] to start installation or use a shell escape to edit config.sh:

Can't find config.sh.
Can't find config.sh.
Can't find config.sh.

  • solution
source /d/alice01/alisoft/debian4.0/i686/gcc411-21/sim/geant4.9.0/.config/bin/Linux-g++/config.sh
cd $G4INSTALL/source
gmake

test

  • N01: ok
  • N02: ok

Debian Etch gcc411-21 (64bit)

CLHEP

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

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

OpenGL

  • should be provided by Debian in /usr

OpenInventor

  • not used

Wired (now HepRapp)

  • /usr/local/pub/debian4.0/gcc411-21/sim/graphics/Wired3

setup and configuration of Geant4.9.0

  • /usr/local/bin/gsisimlogin
    • create
/d/alice01/alisoft/debian4.0/x86_64/gcc411-21/sim
  • edit and create g4.9.0.gsiconf.sh
  • get code: as rootmgr
  • compile
    • . gsisimlogin g4.9.0
    • ln -s ln -s geant4.9.0.p02 geant4.9.0
    • $G4INSTALL/Configure -build
      • build shared libs, too
      • build static
      • build global
      • build granular
      • use global
      • debug mode
Press [Enter] to start installation or use a shell escape to edit config.sh:

Can't find config.sh.
Can't find config.sh.
Can't find config.sh.

  • solution
$G4INSTALL/Configure -build -f $G4INSTALL/.config/bin/Linux-g++/config.sh

test

  • N01: ok
  • N02: ok

-- KilianSchwarz - 12 Nov 2007
Topic revision: r20 - 2008-11-10, 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)