acts-project / acts

Experiment-independent toolkit for (charged) particle track reconstruction in (high energy) physics experiments implemented in modern C++
https://acts.readthedocs.io
Mozilla Public License 2.0
102 stars 165 forks source link

LCG compatibility #2054

Open paulgessinger opened 1 year ago

paulgessinger commented 1 year ago

Our LCG compatibility doesn't look all that great right now. We currently fail all of our clang builds with compiler crashes and gcc12 seems to throw some diagnostic against memory issues on some boost code that we use:

LCG ver. CentOS 7 CentOS 8 ALMA9
101 ✅ gcc10
✅ gcc11
🔴 clang12
✅ gcc11
102b 🔴 gcc8
✅ gcc11
🔴 clang12
✅ gcc11 ✅ gcc11
103 ✅ gcc11
🔴 gcc12
🔴 clang12
🔴 clang15
✅ gcc11
🔴 gcc12
doloresgarcia commented 1 year ago

Hi @paulgessinger, I seem to be having problems with 101, gcc11, CentOs 7 as well. This happens when I build the repository using the set up command: source CI/setup_cvmfs_lcg.sh and cmake -B build -S . -DACTS_BUILD_EXAMPLES=ON -DACTS_BUILD_EXAMPLES_PYTHON_BINDINGS=ON -DACTS_BUILD_ODD=ON -DACTS_BUILD_EXAMPLES_DD4HEP=ON I get the following error: CMake Error at CMakeLists.txt:289 (find_package): Could not find a configuration file for package "DD4hep" that is compatible with requested version "1.21". The following configuration files were considered but not accepted: /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/cmake/DD4hepConfig.cmake, version: 1.18

paulgessinger commented 1 year ago

Hey @doloresgarcia. The problem you observe specifically is that the DD4hep version in LCG 101 is unfortunately not high enough for recent versions of ACTS, we do indeed need DD4hep 1.21 and up.

Is it possible for you to switch to LCG 103, which I believe has a higher DD4hep version?

doloresgarcia commented 1 year ago

Thank you @paulgessinger, that solves the issue!

github-actions[bot] commented 1 year ago

This issue/PR has been automatically marked as stale because it has not had recent activity. The stale label will be removed if any interaction occurs.

paulgessinger commented 1 year ago

Still on the list

github-actions[bot] commented 1 year ago

This issue/PR has been automatically marked as stale because it has not had recent activity. The stale label will be removed if any interaction occurs.

owtscharenko commented 11 months ago

setting up on lxplus with source CI/setup_cvmfs_lcg.sh I get the same error regarding DD4hep. Is it possible to change the setup script in order to get the most recent LCG release with a higher DD4hep version? It compiles with LCG 103

github-actions[bot] commented 2 months ago

This issue/PR has been automatically marked as stale because it has not had recent activity. The stale label will be removed if any interaction occurs.