Skip to content
Genie Jhang edited this page Aug 13, 2014 · 4 revisions

All installation is done in Scientific Linux 6.1

  1. Installation of some packages for GEANT4

    • Newly configured system might need some external packages. Ask server manager to install the packages below.
      • expat-devel
      • libXpm-devel
      • libXmu-devel
      • libXft-devel
      • libGLU-devel
  2. Installation of FairSoft (dec13 OpenGL use patched)

    • Download FairSoft dec13p1 OpenGL use patched version.

    • Unarchive it.

      tar -xzf dec13p1_pOpenGL.tar.gz
      
    • Go into the unarchived directory.

      cd FairSoft-dec13p1_pOpenGL
      
    • Inside the unarchived folder, there’s configure.sh file in it. Run it.

      ./configure.sh
      
    • Then, it shows a menu to choose the environment of machine you’re using. Below are the options I selected.

      • 1 -> Enter [ 1) GCC (Linux, Solaris and Mac OSX) ]
      • 3 -> Enter [ 3) Optimize ]
      • 2 -> Enter [ 2) Internet ]
      • /ENTER/YOUR/INSTALLATION/DIRECTORY -> Enter [ Installation directory ]
      • 2 -> Enter [ 2) Yes ]
    • Adding the following lines in ~/.bashrc will automatically load all that needed.

      export SIMPATH=/TYPE/YOUR/INSTALLATION/DIRECTORY
      export PATH=$PATH:$SIMPATH/bin
      export MANPATH=$MANPATH:$SIMPATH/share
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMPATH/lib
      source $SIMPATH/bin/thisroot.sh
      
  3. Installation of SpiRITROOT ( beta-v0.1 )

    • Download SpiRITROOT beta-v0.1

    • Unarchive it.

      tar -xzf SPiRITROOT-beta-v0.1.tar.gz
      
    • Make a build directory inside SpiRITROOT directory.

      cd SPiRITROOT-beta-v0.1
      mkdir build
      
    • Go into the build directory and run cmake.

      cd build
      cmake ../
      
    • After done configuration with cmake, type make.

      make
      
    • After compile process is done, some directions will appear. Follow that directions.

Clone this wiki locally