# \#petsc

**URL:** https://precice.discourse.group/tag/petsc/42.md

[Latest](https://precice.discourse.group/latest.md) · [Categories](https://precice.discourse.group/categories.md) · [Tags](https://precice.discourse.group/tags.md)

---

## [CMake isn't picking up on the correct PETSc version](https://precice.discourse.group/t/cmake-isnt-picking-up-on-the-correct-petsc-version/1921)

<div class="topic-metadata">

**Author:** [@Abbas\_Ballout](https://precice.discourse.group/u/Abbas_Ballout)\
**Replies:** 9\
**Last updated:** [May 14, 2024, 7:51pm UTC](https://precice.discourse.group/t/cmake-isnt-picking-up-on-the-correct-petsc-version/1921 "2024-05-14T19:51:29Z")

</div>

I am compiling from source. preCICE version: master branch Operating system: “Ubuntu 20.04” Installation method: from source and using cmake Dependency versions: PETSc from master I run cmake with PETSc feature on and…

---

## [Several challenges during the coupling process of integrating my CFD (use PETSC) code with OpenFOAM](https://precice.discourse.group/t/several-challenges-during-the-coupling-process-of-integrating-my-cfd-use-petsc-code-with-openfoam/1761)

<div class="topic-metadata">

**Author:** [@WangZW928](https://precice.discourse.group/u/WangZW928)\
**Replies:** 5\
**Last updated:** [February 24, 2024, 8:04am UTC](https://precice.discourse.group/t/several-challenges-during-the-coupling-process-of-integrating-my-cfd-use-petsc-code-with-openfoam/1761 "2024-02-24T08:04:51Z")

</div>

precice-config.xml (2.1 KB) I am attempting to modify my CFD code and implement coupling through the OpenFOAM adapter. I have attached snippets of my code, along with the function documentation and the PRECICE configura…

---

## [PETSc error when compiling preCICE from source](https://precice.discourse.group/t/petsc-error-when-compiling-precice-from-source/1015)

<div class="topic-metadata">

**Author:** [@Stan](https://precice.discourse.group/u/Stan)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 12:40pm UTC](https://precice.discourse.group/t/petsc-error-when-compiling-precice-from-source/1015 "2022-04-05T12:40:52Z")

</div>

Hi all, I’m trying to compile preCICE 2.3.0 from source on a large server (Ubuntu 20.04). I’ve installed the dependencies by using: sudo apt install build-essential cmake libeigen3-dev libxml2-dev libboost-all-dev petsc…

---

## [Cannot run OpenFOAM in parallel when using RBF Mapping](https://precice.discourse.group/t/cannot-run-openfoam-in-parallel-when-using-rbf-mapping/785)

<div class="topic-metadata">

**Author:** [@Andres](https://precice.discourse.group/u/Andres)\
**Replies:** 2\
**Last updated:** [November 5, 2021, 8:54am UTC](https://precice.discourse.group/t/cannot-run-openfoam-in-parallel-when-using-rbf-mapping/785 "2021-11-05T08:54:23Z")

</div>

Hey everyone, I’m having trouble running OpenFOAM in parallel. Specifically, I cannot run, in parallel, any cases with the RBF mapping option. I get a segmentation violation error before it even communicates with partne…

---

## [Error in petsc header files](https://precice.discourse.group/t/error-in-petsc-header-files/727)

<div class="topic-metadata">

**Author:** [@kursatyurt](https://precice.discourse.group/u/kursatyurt)\
**Replies:** 6\
**Last updated:** [September 20, 2021, 10:24am UTC](https://precice.discourse.group/t/error-in-petsc-header-files/727 "2021-09-20T10:24:39Z")

</div>

Hello everybody we are facing a problem when installing preCICE from the source. Every dependency is compiled from the source. Our system is preCICE version 2.2.0 Operating system Ubuntu 16 All from source code Boost …

---

## [CMake does not find PETSc reloaded](https://precice.discourse.group/t/cmake-does-not-find-petsc-reloaded/430)

<div class="topic-metadata">

**Author:** [@DavidSCN](https://precice.discourse.group/u/DavidSCN)\
**Replies:** 5\
**Last updated:** [March 10, 2021, 11:33am UTC](https://precice.discourse.group/t/cmake-does-not-find-petsc-reloaded/430 "2021-03-10T11:33:56Z")

</div>

Hi there, I think it’s worth sharing this since it took me quiet some time and installing petsc from source is a bit of a challenge. Maybe we can link this post in the original thread. I had exactly the same issue as d…

---

## [CMake does not find PETSc](https://precice.discourse.group/t/cmake-does-not-find-petsc/84)

<div class="topic-metadata">

**Author:** [@HDY](https://precice.discourse.group/u/HDY)\
**Replies:** 30\
**Last updated:** [March 16, 2020, 7:16pm UTC](https://precice.discourse.group/t/cmake-does-not-find-petsc/84 "2020-03-16T19:16:14Z")

</div>

(Discussion moved from Cannot find -lpthreads, as it starts a new topic) (Edit by moderators: discussion continued with a solution here: See more about this here: CMake does not find PETSc reloaded) Thanks! The problem…
