Installation Guide of DMPSW
Contents Basic tools Installation Guide Software libraries Scientific linux Mac
Basic tools Install basic tools, firstly! Software External library Root echo $ROOTSYS (If print nothing, you need to re-install root) Geant 4 echo $G4LIB_USE_GDML Scons scons External library Boost locate path.hpp Python-devel python-config Install basic tools, firstly!
ccmake yum install ncurses-devel ncurses-libs Download ccmake from http://www.cmake.org/cmake/resources/software.html tar –xzvf cmake-version.tar.gz ./bootstrap make If, ls ./bin has ccmake, succeed make install
Root download from tar -xzvf root.version.tar.gz mkdir root_B http://root.cern.ch/drupal/content/production-version-534 tar -xzvf root.version.tar.gz Suppose generate a new directory named rootX mkdir root_B cd root_B ccmake ../rootX Choose installation options in the out printed table make make install
Geant4 download from tar -xzvf geant4.version.tar.gz mkdir geant_B http://geant4.web.cern.ch/geant4/support/download.shtml tar -xzvf geant4.version.tar.gz Suppose generate a new directory named geantX mkdir geant_B cd geant_B ccmake ../geantX Choose installation options in the out printed table Make sure set USE_GDML on make make install
SCons download from tar -xzvf SCons.version.tar.gz cd sconsXX http://www.scons.org/download.php tar -xzvf SCons.version.tar.gz Suppose generate a new directory named sconsXX cd sconsXX python setup.py install OR: python setup.py install --prefix=$HOME
Install external libraries yum install python-devel Then, python-config is avaliable Download boost: http://www.boost.org/users/download/ tar -xzvf boost.version.tar.gz Install boost: ./bootstrap.sh ./b2 --help ./b2 install --prefix=AnyWhereYouWant --build-type=minimal variant=release
Download DMPSW and install it svn checkout URL_TO_OUR_SVN_TRUNk Installation ./pre-install.(c)sh scons Setup environment source /prefix/bin/thisdmpsw.(c)sh