Skip to content

Building ACTS for LDMX on CENTOS SLAC

pbutti edited this page Sep 2, 2020 · 15 revisions

Building ACTS should be straightforward after setting up ldmx environment scripts. A custom version can be installed by using:
cmake -DEigen3_DIR=../../eigen/install/ -DLCIO_DIR=/nfs/slac/g/ldmx/software/LCIO/build/ -DCMAKE_INSTALL_PREFIX=../ ../

However ACTS examples relies on a new version of the tbb library with respect to the one installed on SLAC machines. The 2020.3 version of tbb has been installed in ldmx/software and its setup has been added to the ldmx/setup scripts. The procedure that has been followed is reported here:

  • Get the tbb library

cd /nfs/slac/g/ldmx/software
git clone https://github.com/oneapi-src/oneTBB.git tbb

  • Build the library

cd tbb
make -j16

  • Run the script for forming the cmake files and setup the installation location

cd cmake
cmake -DINSTALL_DIR=../ -DSYSTEM_NAME=Linux -DLIB_PATH=../lib/ -DINC_PATH=../include -P tbb_config_installer.cmake

  • Add the tbb location to the setup script for ldmx

export PATH=$SOFTWARE_HOME/tbb/:$PATH

Now should be possible to compile ACTS with the standalone examples

Clone this wiki locally