# Errors while running quickstart with OpenFOAMv1706 and preCICEv2211.0

**URL:** <https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641>\
**Category:** Official adapters and tutorials\
**Tags:** openfoam, adapters\
**Created:** [November 3, 2023, 10:43am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641 "2023-11-03T10:43:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fangyw98](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fangyw98/32/1978_2.png) [@fangyw98](https://precice.discourse.group/u/fangyw98)\
**Post date:** [November 3, 2023, 10:43am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/1 "2023-11-03T10:43:46Z")

</div>

Hi,  
I have problems when I running quickstart. OpenFOAM adapter is successfully installed, but there are  
errors when I running run.sh in fluid-foam of quickstart.

My system:

- preCICE: v2.5.0
- Ubuntu 20.04
- Installation method: building preCICE with .deb file, OpenFOAM with Allwmake, adapter with Allwmake
- Dependency versions:  
-compiler gcc-7 g+±7,  
-Boost libboost1.71-dev:amd64,  
-PETSc 3.12.4+dfsg1-1,  
-MPI (Open MPI) 4.0.3

```plaintext
Error: This is an error
--> FOAM FATAL ERROR: 
Error in the preCICE adapter: 
There was a problem while configuring the adapter. See the log for details.
 pointVectorField are
0()

    From function void adapterInfo(std:: __cxx11::string, std::__ cxx11::string)
    in file Utilities.C at line 32.

FOAM exiting

```

---

<div class="post-metadata">

**Author:** ![fangyw98](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fangyw98/32/1978_2.png) [@fangyw98](https://precice.discourse.group/u/fangyw98)\
**Post date:** [November 4, 2023, 3:42am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/2 "2023-11-04T03:42:44Z")

</div>

the same adapter (openfoam-adapter\_v1.2.3\_OpenFOAMv1806) also failed on OpenFOAMv1806 when installing.

```plaintext
In file included from /home/fyw/disk/fyw/Download/OpenFOAM-v1806/src/OpenFOAM/lnInclude/runTimeSelectionTables.H:40:0,
                 from /home/fyw/disk/fyw/Download/OpenFOAM-v1806/src/OpenFOAM/lnInclude/token.H:49,
                 from /home/fyw/disk/fyw/Download/OpenFOAM-v1806/src/OpenFOAM/lnInclude/Istream.H:47,
                 from /home/fyw/disk/fyw/Download/OpenFOAM-v1806/src/OpenFOAM/lnInclude/ISstream.H:39,
                 from /home/fyw/disk/fyw/Download/OpenFOAM-v1806/src/OpenFOAM/lnInclude/IOstreams.H:38,
                 from lnInclude/Utilities.H:40,
                 from lnInclude/CouplingDataUser.H:4,
                 from FSI/ForceBase.H:5,
                 from FSI/Force.H:4,
                 from FSI/Force.C:1:
/home/fyw/disk/fyw/Download/OpenFOAM-v1806/src/OpenFOAM/lnInclude/autoPtr.H:261:14: note: declared here
         void operator=(T* p) = delete;
              ^ ~~~~~~~
make: *** [/home/fyw/disk/fyw/Download/OpenFOAM-v1806/wmake/rules/General/transform:35：Make/linux64GccDPInt32Opt/FSI/Force.o] 错误 1
=== ERROR: Building failed. See wmake.log for more. ===
Possible causes:
- Make sure you are using a compatible version of the adapter for your OpenFOAM version:
  https://www.precice.org/adapter-openfoam-support.html
- Is preCICE discoverable at compile time? Check the content of ADAPTER_PKG_CONFIG_CFLAGS above.
Attach your Allwmake.log and wmake.log when asking for help.

```

---

<div class="post-metadata">

**Author:** ![daxiangxiang](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/daxiangxiang/32/2011_2.png) [@daxiangxiang](https://precice.discourse.group/u/daxiangxiang)\
**Post date:** [November 5, 2023, 9:05am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/3 "2023-11-05T09:05:14Z")

</div>

Hello, yanwei,

According to your log information, the problem seems to be that the **OpenFOAM version** is incompatible.

```plaintext
Possible causes:
- Make sure you are using a compatible version of the adapter for your OpenFOAM version:
  https://www.precice.org/adapter-openfoam-support.html

```

The minimum openfoam version listed on the preCICE website is OpenFOAM V1812([https://precice.org/adapter-openfoam-support.html](https://precice.org/adapter-openfoam-support.html)). I suggest you improve the OpenFOAM version first, which may solve your problem.

Good luck to you.

---

<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:** [November 6, 2023, 2:54pm UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/4 "2023-11-06T14:54:30Z")

</div>

Versions older than v1812 are not tested, so I am not surprised that the adapter does not compile anymore. Since it is difficult for me to test it at the moment, please try previous versions (mainly v1.1.0 and v1.0.0) and let me know which work and which not:

> **[Releases · precice/openfoam-adapter](https://github.com/precice/openfoam-adapter/releases)**
>
> OpenFOAM-preCICE adapter. Contribute to precice/openfoam-adapter development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![fangyw98](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fangyw98/32/1978_2.png) [@fangyw98](https://precice.discourse.group/u/fangyw98)\
**Post date:** [November 7, 2023, 4:25am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/5 "2023-11-07T04:25:07Z")

</div>

Hello, daxiangxiang,

PreCICE v2.5 successfully installed, but the adapter can only work when using CHT module.

I open a new topic for this problem.([OpenFOAM adapter or just preCICE function?](https://precice.discourse.group/t/openfoam-adapter-or-just-precice-function/1648))

Thanks a lot for replying!

---

<div class="post-metadata">

**Author:** ![fangyw98](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fangyw98/32/1978_2.png) [@fangyw98](https://precice.discourse.group/u/fangyw98)\
**Post date:** [November 7, 2023, 7:44am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/6 "2023-11-07T07:44:50Z")

</div>

Hi, Makis,

Adapter v1.2.3 successfully installed with OpenFOAM v1706, and turtorial flow-over-heated-plate with module CHT works well.

I need to couple dsmcFoam with C++ DEM solver now, so I open a new topic here. ([OpenFOAM adapter or just preCICE function?](https://precice.discourse.group/t/openfoam-adapter-or-just-precice-function/1648))

Thanks a lot for replying!

---

<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:** [November 7, 2023, 10:52am UTC](https://precice.discourse.group/t/errors-while-running-quickstart-with-openfoamv1706-and-precicev2211-0/1641/7 "2023-11-07T10:52:15Z")

</div>

I am not sure I understand: v1706 compiles, but v1806 does not?
