# OpenFOAM-v7 adapter installtion problems

**URL:** <https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353>\
**Category:** Official adapters and tutorials\
**Tags:** openfoam, adapters\
**Created:** [April 6, 2023, 10:24am UTC](https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353 "2023-04-06T10:24:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fuxpaul](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@fuxpaul](https://precice.discourse.group/u/fuxpaul)\
**Post date:** [April 6, 2023, 10:24am UTC](https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353/1 "2023-04-06T10:24:32Z")

</div>

Dear preCICE community,

i searched the forums for similar problems but could not find any solution to my problem. Iam using Ubuntu 22.04 and did install the newest preCICE version 2.5.0 from source. Everything worked fine (all the tests succeeded) and i tried installing the openfoam-adapter 1.2.0 for OpenFOAM-v7 (also installed from source) and ran into installation problems (see attached log files).

[Allwmake.log](https://precice.discourse.group/uploads/short-url/pFEqy6s2g3pwnb7aWONgndEbdCx.log) (949 Bytes)  
[wmake.log](https://precice.discourse.group/uploads/short-url/sdOgMBgrMxBIekfv1TrbRQFoAR5.log) (21.6 KB)

I think one problem might be the empty output of --[precice] pkg-config --cflags libprecice. Or does that simply mean the path is already known by the system? I did add all the precice installations paths to my bashrc. Iam probably missing something trivial and any held is appreciated.

Best regards

Paul

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [April 6, 2023, 12:06pm UTC](https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353/2 "2023-04-06T12:06:45Z")

</div>

The compilation fails before trying to link to preCICE. Is this trying to build the OpenFOAM7 branch / archive?

---

<div class="post-metadata">

**Author:** ![fuxpaul](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@fuxpaul](https://precice.discourse.group/u/fuxpaul)\
**Post date:** [April 6, 2023, 12:19pm UTC](https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353/3 "2023-04-06T12:19:43Z")

</div>

Thank you for your fast reply. Iam not exactly sure what you mean by this? Iam almost certain that this builds the OpenFOAMv7 branch master. Is there anyway to check?

---

<div class="post-metadata">

**Author:** ![fuxpaul](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@fuxpaul](https://precice.discourse.group/u/fuxpaul)\
**Post date:** [April 6, 2023, 12:25pm UTC](https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353/4 "2023-04-06T12:25:03Z")

</div>

Ahh I see. I used the wrong adapter. It is working fine now. Sorry for the stupid mistake and thank you for your help!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [April 9, 2023, 12:25pm UTC](https://precice.discourse.group/t/openfoam-v7-adapter-installtion-problems/1353/5 "2023-04-09T12:25:11Z")

</div>

Closed on April 9, 2023, 12:25pm UTC

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