# \#mpi

**URL:** https://precice.discourse.group/tag/mpi/4.md

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

---

## [preCICE not loading on Ubuntu 26.04](https://precice.discourse.group/t/precice-not-loading-on-ubuntu-26-04/3007)

<div class="topic-metadata">

**Author:** [@Makis](https://precice.discourse.group/u/Makis)\
**Replies:** 1\
**Last updated:** [October 4, 2026, 4:51pm UTC](https://precice.discourse.group/t/precice-not-loading-on-ubuntu-26-04/3007 "2026-10-04T16:51:31Z")

</div>

I recently faced the following issue on two different installations of Ubuntu 26.04, which should also affect newer versions. I am documenting here until we find a better place: preCICE does not load. Any run.sh script …

---

## [Data mapping with MPI and duplicated vertices](https://precice.discourse.group/t/data-mapping-with-mpi-and-duplicated-vertices/2969)

<div class="topic-metadata">

**Author:** [@friva](https://precice.discourse.group/u/friva)\
**Replies:** 3\
**Last updated:** [July 15, 2026, 2:49pm UTC](https://precice.discourse.group/t/data-mapping-with-mpi-and-duplicated-vertices/2969 "2026-07-15T14:49:16Z")

</div>

Hi, I’m working on developing a preCICE adapter for coupling two different parallel fluid codes in 3D. I’m using fortran with MPI for domain decomposition. I’d like to use the linear-cell-interpolation mapping method of …

---

## [Heterogeneous jobs with MPI and PBS scheduler](https://precice.discourse.group/t/heterogeneous-jobs-with-mpi-and-pbs-scheduler/2723)

<div class="topic-metadata">

**Author:** [@steffenger](https://precice.discourse.group/u/steffenger)\
**Replies:** 3\
**Last updated:** [February 21, 2026, 8:59am UTC](https://precice.discourse.group/t/heterogeneous-jobs-with-mpi-and-pbs-scheduler/2723 "2026-02-21T08:59:46Z")

</div>

I was wondering, if its possible to start a heterogeneous job with preCICE on one node with the PBS job scheduler. I think the only way to avoid double allocation with PBS is using only one mpirun command and split it, b…

---

## [Slow data transfer in precice setup](https://precice.discourse.group/t/slow-data-transfer-in-precice-setup/2677)

<div class="topic-metadata">

**Author:** [@alebherz](https://precice.discourse.group/u/alebherz)\
**Replies:** 8\
**Last updated:** [December 3, 2025, 8:24am UTC](https://precice.discourse.group/t/slow-data-transfer-in-precice-setup/2677 "2025-12-03T08:24:11Z")

</div>

Hello preCICE-community! I am working on coupling our inhouse particle solver (XPS) with OpenFOAM using volumetric coupling. I use the OpenFOAM adapter with openmpi (4 ranks) and domain decomposition on the fluid side -…

---

## [ERROR using intra-comm:sockets in one participant](https://precice.discourse.group/t/error-using-intra-comm-sockets-in-one-participant/2633)

<div class="topic-metadata">

**Author:** [@alicezanella](https://precice.discourse.group/u/alicezanella)\
**Replies:** 1\
**Last updated:** [October 10, 2025, 11:58am UTC](https://precice.discourse.group/t/error-using-intra-comm-sockets-in-one-participant/2633 "2025-10-10T11:58:49Z")

</div>

Hello everyone, I have a rather daunting problem in establishing communication between my two solvers, namely OpenFOAM and a FEM commercial solver, while running on a cluster. I am currently using preCICE v2.5.0 and Op…

---

## [Highlights of the new preCICE release v3.3](https://precice.discourse.group/t/highlights-of-the-new-precice-release-v3-3/2636)

<div class="topic-metadata">

**Author:** [@uekerman](https://precice.discourse.group/u/uekerman)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 3:52pm UTC](https://precice.discourse.group/t/highlights-of-the-new-precice-release-v3-3/2636 "2025-10-09T15:52:04Z")

</div>

Summary: With preCICE v3.3.0, we focused on improving clarity, portability, and tooling. The new release brings clearer coupling-state output and more helpful error messages. Tooling has been reworked significantly and i…

---

## [Running OpenFOAM with preCICE on multiple nodes](https://precice.discourse.group/t/running-openfoam-with-precice-on-multiple-nodes/2562)

<div class="topic-metadata">

**Author:** [@alicezanella](https://precice.discourse.group/u/alicezanella)\
**Replies:** 0\
**Last updated:** [July 16, 2025, 9:30am UTC](https://precice.discourse.group/t/running-openfoam-with-precice-on-multiple-nodes/2562 "2025-07-16T09:30:50Z")

</div>

Hi everyone, I’m having a bit of trouble with running OpenFOAM with preCICE on multiple nodes. The simulation gets stuck at: —\[preciceAdapter\] Loaded the OpenFOAM-preCICE adapter - v1.2.3. —\[preciceAdapter\] Reading …

---

## [A problem with using m2n:mpi: Your application has invoked an MPI function that is not supported in this environment](https://precice.discourse.group/t/a-problem-with-using-m2n-your-application-has-invoked-an-mpi-function-that-is-not-supported-in-this-environment/2251)

<div class="topic-metadata">

**Author:** [@Cascade1001](https://precice.discourse.group/u/Cascade1001)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 7:13pm UTC](https://precice.discourse.group/t/a-problem-with-using-m2n-your-application-has-invoked-an-mpi-function-that-is-not-supported-in-this-environment/2251 "2025-03-21T19:13:10Z")

</div>

Hello, I am trying to use the m2n:mpi in precice-config.xml, but ran into some problems: I ran this case with multi-node parallell computing. I am using the Precice-2.4, and I’m wondering whether this problem could b…

---

## [preCICE and mingw packages](https://precice.discourse.group/t/precice-and-mingw-packages/382)

<div class="topic-metadata">

**Author:** [@rafal](https://precice.discourse.group/u/rafal)\
**Replies:** 12\
**Last updated:** [January 3, 2025, 9:32am UTC](https://precice.discourse.group/t/precice-and-mingw-packages/382 "2025-01-03T09:32:30Z")

</div>

Hi, I recently I added the preCICE package to the mingw (msys) environment: Is it worth adding an MPI compilation flag (mingw currently has msmpi)?: -DPRECICE\_MPICommunication=ON

---

## [Can we start two preCICE processes in the same program?](https://precice.discourse.group/t/can-we-start-two-precice-processes-in-the-same-program/2254)

<div class="topic-metadata">

**Author:** [@zhaoxiyan](https://precice.discourse.group/u/zhaoxiyan)\
**Replies:** 3\
**Last updated:** [December 11, 2024, 1:37pm UTC](https://precice.discourse.group/t/can-we-start-two-precice-processes-in-the-same-program/2254 "2024-12-11T13:37:52Z")

</div>

I need to do the coupling of two programs, in the transient calculation, I need to calculate the steady state to convergence, and then do the transient calculation on the basis of the steady state. I try to set up a preC…

---

## [MPI runs: Sharing all ranks between two solvers](https://precice.discourse.group/t/mpi-runs-sharing-all-ranks-between-two-solvers/2195)

<div class="topic-metadata">

**Author:** [@Guillaume](https://precice.discourse.group/u/Guillaume)\
**Replies:** 3\
**Last updated:** [November 4, 2024, 4:19pm UTC](https://precice.discourse.group/t/mpi-runs-sharing-all-ranks-between-two-solvers/2195 "2024-11-04T16:19:09Z")

</div>

Hello everyone, I am using preCICE to couple 2 fluid solvers using a serial explicit coupling scheme: when one solver performs its iterations, the other one is at idle. Eventually, I want to run massively parallel simul…

---

## [Confusion that Quickstart (deb package) can not find MPI?](https://precice.discourse.group/t/confusion-that-quickstart-deb-package-can-not-find-mpi/2114)

<div class="topic-metadata">

**Author:** [@Pinqing](https://precice.discourse.group/u/Pinqing)\
**Replies:** 6\
**Last updated:** [September 17, 2024, 8:35am UTC](https://precice.discourse.group/t/confusion-that-quickstart-deb-package-can-not-find-mpi/2114 "2024-09-17T08:35:33Z")

</div>

Quickstart should be the easiest installation method, but I’m stuck at the very first step (embarrassed). I haven’t found this issue on the forum, so I hope to seek guidance and help. preCICE v2.3.0 Ubuntu 20.04.5 LTS …

---

## [Questions on MPI support](https://precice.discourse.group/t/questions-on-mpi-support/1924)

<div class="topic-metadata">

**Author:** [@hongwuw](https://precice.discourse.group/u/hongwuw)\
**Replies:** 16\
**Last updated:** [May 23, 2024, 10:15am UTC](https://precice.discourse.group/t/questions-on-mpi-support/1924 "2024-05-23T10:15:19Z")

</div>

In your manual, you said that MPI\_COMM\_WORLD is the communicator if no custom is provided. Does precice really use MPI\_COMM\_WORLD or do a MPI\_Comm\_dup on MPI\_COMM\_WORLD? If precice does duplicate, it doesn’t matter a c…

---

## [Solver hangs when MPI is running simultaneously](https://precice.discourse.group/t/solver-hangs-when-mpi-is-running-simultaneously/1865)

<div class="topic-metadata">

**Author:** [@fan\_wu](https://precice.discourse.group/u/fan_wu)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 12:13pm UTC](https://precice.discourse.group/t/solver-hangs-when-mpi-is-running-simultaneously/1865 "2024-05-06T12:13:29Z")

</div>

Dear developers, When my program is coupled with dealii, when one uses mpi and one doesn’t, it can be calculated without any problem. But when I use mpi at the same time, it hangs. Also I tested multiple nodes also not…

---

## [Issue with the m2n communication dummy test](https://precice.discourse.group/t/issue-with-the-m2n-communication-dummy-test/1722)

<div class="topic-metadata">

**Author:** [@hyy15](https://precice.discourse.group/u/hyy15)\
**Replies:** 3\
**Last updated:** [January 4, 2024, 12:06pm UTC](https://precice.discourse.group/t/issue-with-the-m2n-communication-dummy-test/1722 "2024-01-04T12:06:46Z")

</div>

Hello everyone, I have correctly configured and installed precice and mpich according to the documentation, and passed all ctests. When trying to run the m2n test case in precice-2.5.0/tools/testing/communication\_dummies…

---

## [Issue with solver dummy](https://precice.discourse.group/t/issue-with-solver-dummy/1259)

<div class="topic-metadata">

**Author:** [@nish-ant](https://precice.discourse.group/u/nish-ant)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 9:26am UTC](https://precice.discourse.group/t/issue-with-solver-dummy/1259 "2023-01-04T09:26:06Z")

</div>

I am trying to execute a solver dummy which runs in serial configuration: python3 ./solverdummy-python-parallel.py ../precice-config-parallel.xml SolverOne &\> log.runOne & python3 ./solverdummy-python-parallel.py ../pre…

---

## [Ctest failure for preCICE](https://precice.discourse.group/t/ctest-failure-for-precice/851)

<div class="topic-metadata">

**Author:** [@mishal49](https://precice.discourse.group/u/mishal49)\
**Replies:** 14\
**Last updated:** [May 16, 2022, 12:38pm UTC](https://precice.discourse.group/t/ctest-failure-for-precice/851 "2022-05-16T12:38:32Z")

</div>

Hello I am trying to install preCICE on my windows computer using Ubuntu 20.04.3 LTS When I try to run ctest after building preCICE, I get the following which shows that some of the tests failed. Test project /home/…

---

## [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…

---

## [Running preCICE on a Cluster](https://precice.discourse.group/t/running-precice-on-a-cluster/669)

<div class="topic-metadata">

**Author:** [@alicezanella](https://precice.discourse.group/u/alicezanella)\
**Replies:** 17\
**Last updated:** [August 28, 2021, 2:30pm UTC](https://precice.discourse.group/t/running-precice-on-a-cluster/669 "2021-08-28T14:30:55Z")

</div>

Hello, I am running FSI simulations on a cluster. I use slurm to manage parallel jobs on the nodes. I noticed that I can’t run the coupled simulation if I select more than one node and the two partecipants (SU2 and MBDy…

---

## [Tests after make install fail](https://precice.discourse.group/t/tests-after-make-install-fail/606)

<div class="topic-metadata">

**Author:** [@alicezanella](https://precice.discourse.group/u/alicezanella)\
**Replies:** 8\
**Last updated:** [May 26, 2021, 2:27pm UTC](https://precice.discourse.group/t/tests-after-make-install-fail/606 "2021-05-26T14:27:39Z")

</div>

Hi, I’m trying to install preCICE on a server. I installed everything from source. make and make install do not report errors. Then I do ctest and it seems that all the tests fail. Here I’ve attached the log. precice…

---

## [Simulation stuck at advance for both solvers](https://precice.discourse.group/t/simulation-stuck-at-advance-for-both-solvers/555)

<div class="topic-metadata">

**Author:** [@Beini\_Ma](https://precice.discourse.group/u/Beini_Ma)\
**Replies:** 29\
**Last updated:** [May 4, 2021, 3:54pm UTC](https://precice.discourse.group/t/simulation-stuck-at-advance-for-both-solvers/555 "2021-05-04T15:54:20Z")

</div>

Hello everyone! I have recently migrated my coupling from preCICE version 1.6.1 to 2.2.0 I’m using the Python bindings and my two coupled solvers are the CSD solver CAMRAD II (which runs on a single process) and the CFD…

---

## [Python sover: multiple MPI initializations](https://precice.discourse.group/t/python-sover-multiple-mpi-initializations/493)

<div class="topic-metadata">

**Author:** [@nikki](https://precice.discourse.group/u/nikki)\
**Replies:** 5\
**Last updated:** [March 1, 2021, 5:32pm UTC](https://precice.discourse.group/t/python-sover-multiple-mpi-initializations/493 "2021-03-01T17:32:10Z")

</div>

Hello, I have successfully installed the preCICE adapter for coupling OpenFOAM models to each other, as well as the Python bindings to connect two Python solvers to one another, but have run into issues when attempting …

---

## [Test fails for mapping RBF during installation](https://precice.discourse.group/t/test-fails-for-mapping-rbf-during-installation/198)

<div class="topic-metadata">

**Author:** [@Alphaoo1](https://precice.discourse.group/u/Alphaoo1)\
**Replies:** 4\
**Last updated:** [April 9, 2020, 2:32pm UTC](https://precice.discourse.group/t/test-fails-for-mapping-rbf-during-installation/198 "2020-04-09T14:32:31Z")

</div>

Hello, I am Prasad ADHAV. I am new to preCICE. I want to perform coupled simulation using multiple solvers (OpenFOAM, CalculiX, XDEM). I followed the instructions on preCICE wiki as best as I could. At Step 4, when I…

---

## [How can I use preCICE with a non-default MPI implementation?](https://precice.discourse.group/t/how-can-i-use-precice-with-a-non-default-mpi-implementation/35)

<div class="topic-metadata">

**Author:** [@gilbertolem](https://precice.discourse.group/u/gilbertolem)\
**Replies:** 2\
**Last updated:** [October 24, 2019, 2:28pm UTC](https://precice.discourse.group/t/how-can-i-use-precice-with-a-non-default-mpi-implementation/35 "2019-10-24T14:28:22Z")

</div>

When I build preCICE, it uses the default MPI implementation. How could I use e.g. MPICH?
