Skip to content

Building ACTS for LDMX on CENTOS SLAC

pbutti edited this page Sep 1, 2020 · 15 revisions

Building ACTS should be straightforward after setting up ldmx environment scripts. 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