Installing GEANT4.9.3 Fsim

From New IAC Wiki
Revision as of 19:49, 24 August 2010 by Oborn (talk | contribs) (Created page with '=Install CLHEP 2.0.4.5= create a subdirectory for CLHEP 2.0.4.5 mkdir ~/src/GEANT4/CLHEP/2.0.4.5 cd ~/src/GEANT4/CLHEP/2.0.4.5 using CVS set environmental variable CVSROO...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install CLHEP 2.0.4.5

create a subdirectory for CLHEP 2.0.4.5

mkdir ~/src/GEANT4/CLHEP/2.0.4.5
cd  ~/src/GEANT4/CLHEP/2.0.4.5

using CVS

set environmental variable CVSROOT to

export CVSROOT=:pserver:anonymous@clhep.cvs.cern.ch:/cvs/CLHEP

then checkout version tagged 2.0.4.5

cvs co -r CLHEP_2_0_4_5 CLHEP

run the bootstrap script to setup configuration files

./bootstrap

now run the configuration script with a prefix indicating where you want the libraries stored

./configure --prefix=~/src/GEANT4/CLHEP/2.0.4.5/CLHEP

after configuring type

make
make install

you should have the libraries installed in the subdirectory

bash-3.2$ ls ~/src/GEANT4/CLHEP/2.0.4.5/CLHEP/lib
libCLHEP-2.0.4.5.a                      libCLHEP-Matrix-2.0.4.5.a
libCLHEP-2.0.4.5.dylib                  libCLHEP-Matrix-2.0.4.5.dylib
libCLHEP-Cast-2.0.4.5.a                 libCLHEP-Random-2.0.4.5.a
libCLHEP-Cast-2.0.4.5.dylib             libCLHEP-Random-2.0.4.5.dylib
libCLHEP-Evaluator-2.0.4.5.a            libCLHEP-RandomObjects-2.0.4.5.a
libCLHEP-Evaluator-2.0.4.5.dylib        libCLHEP-RandomObjects-2.0.4.5.dylib
libCLHEP-Exceptions-2.0.4.5.a           libCLHEP-RefCount-2.0.4.5.a
libCLHEP-Exceptions-2.0.4.5.dylib       libCLHEP-RefCount-2.0.4.5.dylib
libCLHEP-GenericFunctions-2.0.4.5.a     libCLHEP-Vector-2.0.4.5.a
libCLHEP-GenericFunctions-2.0.4.5.dylib libCLHEP-Vector-2.0.4.5.dylib
libCLHEP-Geometry-2.0.4.5.a             libCLHEP.a
libCLHEP-Geometry-2.0.4.5.dylib         libCLHEP.dylib

Download GEANT 4.9.3

If its the current version you can download at

http://geant4.cern.ch/support/download.shtml

otherwise check the archives

http://geant4.cern.ch/support/source_archive.shtml