Skip to content
New issue

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

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

Already on GitHub? # to your account

Fatal error on lxplus9 with nightlies 2024-09-21 #651

Closed
lopezzot opened this issue Sep 23, 2024 · 5 comments
Closed

Fatal error on lxplus9 with nightlies 2024-09-21 #651

lopezzot opened this issue Sep 23, 2024 · 5 comments

Comments

@lopezzot
Copy link
Member

  • OS version: Red Hat Enterprise Linux 9.4 (Plow)
  • Compiler version: gcc (Spack GCC) 14.2.0

Dear All,

I am experiencing fatal errors using /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh -r 2024-09-21 on lxplus9. Reproducer:

git clone git@github.com:lopezzot/DREndcapTube.git
cd DREndcapTube/
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh
mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=../install/ ..
make install
cd ../install/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/lib
cd ..
ddsim --steeringFile scripts/steer_e-_10GeV_regexSDAction.py

This dumps

Error in <TInterpreter::AutoParse>: Error parsing payload code for class dd4hep::tools::Evaluator with content:

plus a lot of things like

Error in <TClass::LoadClassInfo>: no interpreter information for class dd4hep::tools::Evaluator is available even though it has a TClass initialization routine.
input_line_45:2:18: error: incomplete type 'dd4hep::tools::Evaluator' named in nested name specifier
 &dd4hep::tools::Evaluator::OK;

The same steps but with source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh -r 2024-09-20 work fine instead.

Any help would be great. Thank you.

@tmadlener
Copy link
Contributor

There seems to be a general issue with the last nightly build. See also discussions in #650 an #649

@jmcarcell
Copy link
Member

jmcarcell commented Sep 23, 2024

There is something specifically wrong about lxplus, I don't see any of the problems in the build node and CI also seems to pass in other Key4hep repositories. The issue (I think it's the same for all the affected packages) can be reproduced with:

python -c 'import edm4hep; edm4hep.MCParticle()'

Ok: I think I found it, looking at the stack traces, it's loading some ROOT libraries from /usr/lib64...

@jmcarcell
Copy link
Member

jmcarcell commented Sep 23, 2024

A workaround:

export LD_LIBRARY_PATH=/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2024-09-21/x86_64-almalinux9-gcc14.2.0-opt/root/6.32.04-vms5ij/lib:$LD_LIBRARY_PATH

@lopezzot
Copy link
Member Author

A workaround:

export LD_LIBRARY_PATH=/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2024-09-21/x86_64-almalinux9-gcc14.2.0-opt/root/6.32.04-vms5ij/lib:$LD_LIBRARY_PATH

Indeed this works. Will it be reverted in new nightlies or should I export root this way from now on?

I think we can close this issue. Thank you.

@jmcarcell
Copy link
Member

It should be fixed today; at least I can not reproduce the issue anymore on lxplus.

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

No branches or pull requests

3 participants