# OpenFoam Allwmake not working on Fedora 37

**URL:** <https://precice.discourse.group/t/openfoam-allwmake-not-working-on-fedora-37/1303>\
**Category:** Official adapters and tutorials\
**Tags:** openfoam, adapters\
**Created:** [February 13, 2023, 6:15pm UTC](https://precice.discourse.group/t/openfoam-allwmake-not-working-on-fedora-37/1303 "2023-02-13T18:15:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LegendDog6](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@LegendDog6](https://precice.discourse.group/u/LegendDog6)\
**Post date:** [February 13, 2023, 6:15pm UTC](https://precice.discourse.group/t/openfoam-allwmake-not-working-on-fedora-37/1303/1 "2023-02-13T18:15:19Z")

</div>

[wmake.log](https://precice.discourse.group/uploads/short-url/25KoOxVsATTeGjuLhbR9KbExRqz.log) (46 Bytes)  
[ldd.log](https://precice.discourse.group/uploads/short-url/uht6oKCB5lO1086Zlsgi0zAS6tA.log) (134 Bytes)  
[Allwmake.log](https://precice.discourse.group/uploads/short-url/hKY2M5wX9WF0RMm6mn8KquK6pDP.log) (1.1 KB)

Attached are my log files, I cannot get the OpenFOAM adapter to work properly. I have to run:

''export PKG\_CONFIG\_PATH=/home/chadw/software/precice/lib64/pkgconfig/:${PKG\_CONFIG\_PATH}"

in the terminal just to get that far, otherwise I get

“pkg-config configuration file ‘libprecice.pc’ was not found in the PKG\_CONFIG\_PATH.  
Check the preCICE documentation page ‘Linking to preCICE’ for more details, or proceed if you know what you are doing.”

Running the quickstart tutorial results in OpenFOAM running the fluid sim and solid-cpp perpetually  
“—[precice] Setting up primary communication to coupling partner/s”

---

<div class="post-metadata">

**Author:** ![fsimonis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fsimonis/32/6_2.png) [@fsimonis](https://precice.discourse.group/u/fsimonis)\
**Post date:** [May 31, 2023, 8:03pm UTC](https://precice.discourse.group/t/openfoam-allwmake-not-working-on-fedora-37/1303/2 "2023-05-31T20:03:53Z")

</div>

Sorry for the late reply.

Make sure to check in order:

- the path `/home/chadw/software/precice/lib64/pkgconfig` should contain the file `libprecice.pc`.
- running `pkg-config --cflags libprecice` should display some flags.

> [@LegendDog6](#):
>
> Running the quickstart tutorial results in OpenFOAM running the fluid sim and solid-cpp perpetually  
> “—[precice] Setting up primary communication to coupling partner/s”

You probably have some stale communication files lying around. Try finding and removing the `precice-run` directory.
