Problem finding HEED_DATABASE

In my institute we switched from centos7 to almalinux 9.5. First I had problems finding some libraries so I switched from source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc9-opt/setup.sh
to source /cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el9-gcc13-opt/setup.sh

Then I had the problem that files that should be included weren’t found, so I put them in with the explicit path, like:
#include </cvmfs/sft.cern.ch/lcg/views/LCG_106/x86_64-el9-gcc13-opt/include/Garfield/ViewSignal.hh>

The next problem I face is that the simulation is not able to retrieve the database path. The error I get is the following:
TrackHeed::Initialise:
Cannot retrieve database path (none of the environment variables HEED_DATABASE, GARFIELD_INSTALL, GARFIELD_HOME is defined).
Cannot proceed.
No Interaction - repeat!
photon at x=0, y=0

Is there somebody out who can help me?

Dear @Burkhard

As far as I know you should also source the setupGarfield.sh file, non only the setup.shas you wrote in your post:

source /cvmfs/sft.cern.ch/lcg/views/dev3/latest/x86_64-el9-gcc13-opt/setup.sh
source /cvmfs/sft.cern.ch/lcg/views/dev3/latest/x86_64-el9-gcc13-opt/share/Garfield/setupGarfield.sh

Please let us know if your problems persist.
Kind regards
Piet

Indeed.

Thank you very much, that worked fine! Problem Solved.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.