Recent Changes - Search:

Disclaimer

edit SideBar

Install Geant4 and Root

On this page... (hide)

  1. 1. Usage
  2. 2. Build and install RPMs
    1. 2.1 CLHEP and Geant4
    2. 2.2 Root
    3. 2.3 Install on the UIs

1.  Usage

See Using Geant4

2.  Build and install RPMs

This section for admins only

2.1  CLHEP and Geant4

yum remove UJ_clhep UJ_clhep-devel UJ_geant4 UJ_geant4-devel UJ_geant4data

rpmbuild -ba UJ_clhep-2.0.4.2.spec
yum localinstall ~/rpmbuild/RPMS/i686/UJ_clhep-devel-2.0.4.2-0.SL4.UJ.i686.rpm ~/rpmbuild/RPMS/i686/UJ_clhep-2.0.4.2-0.SL4.UJ.i686.rpm 

rpmbuild -ba UJ_geant4.9.2.spec
sudo yum localinstall /nfs/home/sergio/rpmbuild/RPMS/i686/UJ_geant4-9.2.p01-0.SL4.i686.rpm /nfs/home/sergio/rpmbuild/RPMS/i686/UJ_geant4-devel-9.2.p01-0.SL4.i686.rpm

rpmbuild -ba UJ_geant4data.9.2.spec
yum localinstall /nfs/home/sergio/rpmbuild/RPMS/i686/UJ_geant4data-9.2-0.SL4.i686.rpm 

2.2  Root

yum install qt-devel pcre-devel
yum localinstall /nfs/data/config/CERNLIB-2005-0.slc4.i386.rpm 
rpmbuild -ba UJ_root-5.22.00.spec
sudo yum localinstall /nfs/home/sergio/rpmbuild/RPMS/i686/UJ_root-5.22.00-0.SL4.i686.rpm /nfs/home/sergio/rpmbuild/RPMS/i686/UJ_root-lib-5.22.00-0.SL4.i686.rpm

2.3  Install on the UIs

cd ~sergio/rpmbuild/RPMS/i686
sudo yum localinstall -y UJ_clhep-2.0.4.2-0.SL4.UJ.i686.rpm UJ_clhep-devel-2.0.4.2-0.SL4.UJ.i686.rpm \
 UJ_geant4-9.2.p01-0.SL4.i686.rpm  UJ_geant4-devel-9.2.p01-0.SL4.i686.rpm \
 UJ_geant4data-9.2-0.SL4.i686.rpm \
 UJ_root-5.22.00-0.SL4.i686.rpm UJ_root-lib-5.22.00-0.SL4.i686.rpm
Edit - History - Print - Recent Changes - Search
Page last modified on April 11, 2009, at 07:06 PM