Install Geant4

Install CLHEP at cmslpc

cd clhep
wget http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.1.tgz
tar zxvf clhep-2.2.0.1.tgz
mkdir installed
cd 2.2.0.1/
cd CLHEP/
cmake -DCMAKE_INSTALL_PREFIX=/uscmst1b_scratch/lpc1/cmsroc/yumiceva/packages/clhep/installed .
./bootstrap
./configure --prefix=/uscmst1b_scratch/lpc1/cmsroc/yumiceva/packages/clhep/installed
make
make check

Install boost libraries

wget --trust-server-name http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz
tar zxvf boost_1_55_0.tar.gz
cd lpc1/boost/
cd boost_1_55_0
mkdir ../installed
./bootstrap.sh --help
./bootstrap.sh --prefix=/uscmst1b_scratch/lpc1/cmsroc/yumiceva/boost/installed
./b2 install

Install openmotif (not really needed)

mkdir openmotif
cd openmotif/
wget http://motif.ics.com/sites/default/files/openmotif-devel-2.3.2-1.el4_.5.x86_64.rpm
rpm --prefix=/uscmst1b_scratch/lpc1/cmsroc/yumiceva/openmotif/ openmotif-devel-2.3.2-1.el4_.5.x86_64.rpm
mkdir lib
cd lib/
ln -s /usr/lib64/libXm.so.4.0.3 libXm.so

Install geant4

cd geant4.9.6.p03
mkdir geant4.9.6.p03_build
cd geant4.9.6.p03_build/
cmake -DCMAKE_INSTALL_PREFIX=/uscmst1b_scratch/lpc1/cmsroc/yumiceva/packages/geant/geant4.9.6.p03_install ../geant4.9.6.p03
cmake -DGEANT4_USE_SYSTEM_EXPAT=OFF
cmake -DGEANT4_USE_SYSTEM_EXPAT=OFF .
cmake -DGEANT4_INSTALL_DATA=ON .
make -j5
make install

NOTE: This will setup the cmake configuration files but if you want to use makefile themselves to compile code against geant4, we need to disable expat libraries in the common makefiles.

-- FranciscoYumiceva - 17 Jul 2014
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2014-07-17 - FranciscoYumiceva
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback