Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installing the DST Tools

Table of Contents
minLevel2

Preliminaries

You must have these build tools available on the system.

...

  • LCIO
    • trunk or the last release should work fine
  • ROOT
    • tested with 5.34/11 but any version greater than this should work
    • will not work with ROOT 6 releases!
    Generalized Broken Lines
    • tag for 1.16.2 is used

If you want to build the documentation then this is also required.

...

Code Block
languagebash
titleSetup SLAC Build Environment
ssh rhel6-64
scl enable devtoolset-2 bash
gcc --version

You should see the following gcc version now.

...

This should set ROOTSYS to point at your ROOT installation.

...

Code Block
languagebash
cd workdir
svn checkout http://svnsrv.desy.de/public/GeneralBrokenLines/tags/V01-16-02 GeneralBrokenLines
cd GeneralBrokenLines/cpp
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../.. ..
make install
cd ../..
export GBL_DIR=$PWD

Getting the Source Code

Cloning the Repository from Github

...

Now you may build the project locally in the usual way.

 Building the Project

Before the project is built, the following environment variables need to be set.

...

Then the project should be built as follows.

Code Block
languagebash
themeEclipselanguagebash
cd hps-dst/ 
mkdir build; cd build
cmake ../
make

...