Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MarlinFastJet package cannot be built in Key4hep environment #690

Open
tmadlener opened this issue Dec 17, 2024 · 0 comments
Open

MarlinFastJet package cannot be built in Key4hep environment #690

tmadlener opened this issue Dec 17, 2024 · 0 comments

Comments

@tmadlener
Copy link
Contributor

Just ran into this with @madbaron. For some reason MarlinFastJet cannot be built when sourcing the generated setup script but seems to build fine when done via spack. The reason is that apparently the includes for the fastjet contribs are not properly propagated.

To reproduce:

source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
git clone https://github.com/iLCSoft/MarlinFastJet
cd MarlinFastJet
cmake -B build -S . -DCMAKE_CXX_STANDARD=20
cmake --build build

which will lead to

[ 25%] Building CXX object CMakeFiles/MarlinFastJet.dir/src/FastJetClustering.cc.o
[ 50%] Building CXX object CMakeFiles/MarlinFastJet.dir/src/FastJetProcessor.cpp.o
In file included from /afs/desy.de/user/m/madlener/private/work/tmp/MarlinFastJet/src/FastJetProcessor.cpp:10:
/afs/desy.de/user/m/madlener/private/work/tmp/MarlinFastJet/./include/FastJetUtil.h:48:10: fatal error: fastjet/contrib/ValenciaPlugin.hh: No such file or directory
   48 | #include <fastjet/contrib/ValenciaPlugin.hh>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

It's currently not clear to me if this is a spack problem, a fastjet problem, a pkg-config problem in cmake, or simply just something that needs to be solved in MarlinFastJet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant