# preCICE v2.5 gives no SolverInterface files in include folder

**URL:** <https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562>\
**Category:** Installing preCICE\
**Created:** [September 10, 2023, 8:53am UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562 "2023-09-10T08:53:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smjo1021](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/smjo1021/32/2412_2.png) [@smjo1021](https://precice.discourse.group/u/smjo1021)\
**Post date:** [September 10, 2023, 8:53am UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/1 "2023-09-10T08:53:17Z")

</div>

Please describe your system, and especially:

- preCICE version: v.2.5.0
- Operating system or platform: Ubuntu 20.04.4
- Installation method: building with CMake
- Dependency versions: gcc-13.2.0 / Boost-1.83.0 / Eigen-3.4.0 / libxml2-2.9.13 / openmpi-4.1.5 / CMake-3.27.4

Description on the problem:  
There is no error in the installation procedure. However, with preCICE v2.5.0, I get no “SolverInterface.hpp, SolverInterfaceC.h, SolverInterfaceFortran.hpp” files, which are required by my solver relying on preCICE.

Previously, I was using preCICE v2.4.0 and it gave me those files. However, v2.5.0 is giving the files that look something similar (e.g., "preciceC.h, preciceFortran.hpp, precice.hpp), but not the “SolverInterface” files described in the above paragraph.

Is this something expected throughout the update from v2.4 to v2.5? Or there might be some mistakes that I made during the installation of v2.5?

Thank you for considering your support.

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [September 10, 2023, 4:08pm UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/2 "2023-09-10T16:08:49Z")

</div>

Hi @smjo1021

How did you install preCICE? Did you do a source installation?

---

<div class="post-metadata">

**Author:** ![smjo1021](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/smjo1021/32/2412_2.png) [@smjo1021](https://precice.discourse.group/u/smjo1021)\
**Post date:** [September 10, 2023, 9:28pm UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/3 "2023-09-10T21:28:27Z")

</div>

The master repository was git cloned then installed.  
Should it be installed using tar-ball?

---

<div class="post-metadata">

**Author:** ![smjo1021](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/smjo1021/32/2412_2.png) [@smjo1021](https://precice.discourse.group/u/smjo1021)\
**Post date:** [September 11, 2023, 1:31am UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/4 "2023-09-11T01:31:29Z")

</div>

I tried re-installation by downloading the source tar file, and now I can see the SolverInterface files that I was looking for.

As a follow-up question: I was wondering why this does happen.

---

<div class="post-metadata">

**Author:** ![IshaanDesai](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ishaandesai/32/1048_2.png) [@IshaanDesai](https://precice.discourse.group/u/IshaanDesai)\
**Post date:** [September 11, 2023, 6:17pm UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/5 "2023-09-11T18:17:10Z")

</div>

If you are doing a source installation, you have to do `make install` after `make` for the file copying to happen. `make install` will copy the files to the install prefix configured in CMake. If you did not configure an install prefix, the files will be copied to the default user path: `/usr/lib`.

---

<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:** [October 2, 2023, 6:22pm UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/6 "2023-10-02T18:22:25Z")

</div>

> [@smjo1021](#):
>
> Previously, I was using preCICE v2.4.0 and it gave me those files. However, v2.5.0 is giving the files that look something similar (e.g., "preciceC.h, preciceFortran.hpp, precice.hpp), but not the “SolverInterface” files described in the above paragraph.

The `precice.hpp`, `preciceC.h`, … are the new names for these files, coming up in preCICE v3 (still unreleased). You probably accidentally downloaded the `develop` branch, which is the one you see on the landing page of the repository on GitHub.

I would suggest cleaning-up before building v2.5.0 again in that case. But good that you already solved it! 🙂

---

<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:** [October 5, 2023, 6:22pm UTC](https://precice.discourse.group/t/precice-v2-5-gives-no-solverinterface-files-in-include-folder/1562/7 "2023-10-05T18:22:36Z")

</div>

Closed on October 5, 2023, 6:22pm UTC

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