Demonstrator tracking chain for accelerators.
- gcc should support c++17
- Following table lists the (currently idenfitifed) working combinations of OS and compilers.
OS | gcc | cuda | comment |
---|---|---|---|
Ubuntu 20.04 | 9.3.0 | 11.3 | runs on CI |
Centos 8 | 8.4.1 | 11.3 |
- the
data
directory is a submodule hosted asgit lfs
onhttps://gitlab.cern.ch/acts/traccc-data
Clone the repository and setup up the submodules, this requires git-lfs
for the data from the traccc-data
repository.
git clone [email protected]:acts-project/traccc.git
cd traccc
git submodule update --init
cmake -S . -B <build_directory>
cmake --build <build_directory> <options>
Option | Description |
---|---|
TRACCC_BUILD_CUDA | Build the CUDA sources included in traccc |
TRACCC_BUILD_SYCL | Build the SYCL sources included in traccc |
TRACCC_BUILD_TESTING | Build the (unit) tests of traccc |
TRACCC_USE_SYSTEM_VECMEM | Pick up an existing installation of VecMem from the build environment |
TRACCC_USE_SYSTEM_EIGEN3 | Pick up an existing installation of Eigen3 from the build environment |
TRACCC_USE_SYSTEM_ALGEBRA_PLUGINS | Pick up an existing installation of Algebra Plugins from the build environment |
TRACCC_USE_SYSTEM_DFELIBS | Pick up an existing installation of dfelibs from the build environment |
TRACCC_USE_SYSTEM_DETRAY | Pick up an existing installation of Detray from the build environment |
TRACCC_USE_SYSTEM_ACTS | Pick up an existing installation of Acts from the build environment |
TRACCC_USE_SYSTEM_GOOGLETEST | Pick up an existing installation of GoogleTest from the build environment |
<build_directory>/bin/seq_example tml_detector/trackml-detector.csv tml_pixels/ <number of events>
- Users can generate cuda examples by adding
-DTRACCC_BUILD_CUDA=ON
to cmake options
<build_directory>/bin/seq_example_cuda tml_detector/trackml-detector.csv tml_pixels/ <number of events> <run cpu tracking>