# Problem finding HEED\_DATABASE

**URL:** <https://root-forum.cern.ch/t/problem-finding-heed-database/62717>\
**Category:** Garfield++\
**Created:** [January 21, 2025, 2:50pm UTC](https://root-forum.cern.ch/t/problem-finding-heed-database/62717 "2025-01-21T14:50:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burkhard](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/a5b964/32.png) [@Burkhard](https://root-forum.cern.ch/u/Burkhard)\
**Post date:** [January 21, 2025, 2:50pm UTC](https://root-forum.cern.ch/t/problem-finding-heed-database/62717/1 "2025-01-21T14:50:31Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [January 21, 2025, 3:40pm UTC](https://root-forum.cern.ch/t/problem-finding-heed-database/62717/2 "2025-01-21T15:40:39Z")

</div>

Dear @Burkhard

As far as I know you should also source the `setupGarfield.sh` file, non only the `setup.sh`as 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

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [January 21, 2025, 4:36pm UTC](https://root-forum.cern.ch/t/problem-finding-heed-database/62717/3 "2025-01-21T16:36:28Z")

</div>

Indeed.

---

<div class="post-metadata">

**Author:** ![Burkhard](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/a5b964/32.png) [@Burkhard](https://root-forum.cern.ch/u/Burkhard)\
**Post date:** [January 22, 2025, 11:19am UTC](https://root-forum.cern.ch/t/problem-finding-heed-database/62717/4 "2025-01-22T11:19:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 5, 2025, 11:19am UTC](https://root-forum.cern.ch/t/problem-finding-heed-database/62717/5 "2025-02-05T11:19:25Z")

</div>

Closed on February 5, 2025, 11:19am UTC

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