# \#python

**URL:** https://precice.discourse.group/tag/python/13.md?match_all_tags=true&page=1&tags%5B%5D=python

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

**Page:** 2

---

## [Loose coupling (synchronisation after time window) with pypreCICE](https://precice.discourse.group/t/loose-coupling-synchronisation-after-time-window-with-pyprecice/599)

<div class="topic-metadata">

**Author:** [@JulianSchl](https://precice.discourse.group/u/JulianSchl)\
**Replies:** 6\
**Last updated:** [May 19, 2021, 10:50am UTC](https://precice.discourse.group/t/loose-coupling-synchronisation-after-time-window-with-pyprecice/599 "2021-05-19T10:50:39Z")

</div>

Hi, I am wondering wether there is a guide to realize a loose coupling with the python interface pypreCICE . With loose coupling I mean the autonomous iteration of the solvers for every time window. After the compleat…

---

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

---

## [isCouplingOngoing error](https://precice.discourse.group/t/iscouplingongoing-error/507)

<div class="topic-metadata">

**Author:** [@alicezanella](https://precice.discourse.group/u/alicezanella)\
**Replies:** 7\
**Last updated:** [March 8, 2021, 3:08pm UTC](https://precice.discourse.group/t/iscouplingongoing-error/507 "2021-03-08T15:08:05Z")

</div>

Hello everyone, I’m still a preCICE beginner and I cannot understand what could cause this error. The simulation starts regularly and goes on until the max-time value is reached. I even tried to input a bigger max-time …

---

## [Python bindings error solver-dummy](https://precice.discourse.group/t/python-bindings-error-solver-dummy/502)

<div class="topic-metadata">

**Author:** [@alicezanella](https://precice.discourse.group/u/alicezanella)\
**Replies:** 11\
**Last updated:** [March 6, 2021, 8:07am UTC](https://precice.discourse.group/t/python-bindings-error-solver-dummy/502 "2021-03-06T08:07:05Z")

</div>

Hello, I installed correctly preCICE 2.2.0 on Ubuntu 20.4 and tried many adapter tutorials. Everything works fine. Now I needed to use the python-bindings to connect to my mbdyn adapter which works with Python and I’m f…

---

## [Configuration.xml file format for preCICE communication between python script and OpenFOAM](https://precice.discourse.group/t/configuration-xml-file-format-for-precice-communication-between-python-script-and-openfoam/496)

<div class="topic-metadata">

**Author:** [@nikki](https://precice.discourse.group/u/nikki)\
**Replies:** 8\
**Last updated:** [March 2, 2021, 9:18am UTC](https://precice.discourse.group/t/configuration-xml-file-format-for-precice-communication-between-python-script-and-openfoam/496 "2021-03-02T09:18:45Z")

</div>

Hello, I thought I had properly set up my configuration xml file for communication between two meshes, but I have run into a cryptic error when attempting to run a coupled analysis. The first error I encountered was th…

---

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

---

## [Pyprecice on Python 3.8: undefined symbol when importing cyprecice](https://precice.discourse.group/t/pyprecice-on-python-3-8-undefined-symbol-when-importing-cyprecice/492)

<div class="topic-metadata">

**Author:** [@nikki](https://precice.discourse.group/u/nikki)\
**Replies:** 2\
**Last updated:** [March 1, 2021, 9:29am UTC](https://precice.discourse.group/t/pyprecice-on-python-3-8-undefined-symbol-when-importing-cyprecice/492 "2021-03-01T09:29:33Z")

</div>

Hello, I was able to install the preCICE library by means of spack (works like a charm coupling two instances of OpenFOAM) but I have run into some errors when attempting to use python with preCICE. I am trying to inst…

---

## [Problems with installing pyprecice on MacOS](https://precice.discourse.group/t/problems-with-installing-pyprecice-on-macos/484)

<div class="topic-metadata">

**Author:** [@Thomas\_Weinhart](https://precice.discourse.group/u/Thomas_Weinhart)\
**Replies:** 7\
**Last updated:** [February 25, 2021, 11:53am UTC](https://precice.discourse.group/t/problems-with-installing-pyprecice-on-macos/484 "2021-02-25T11:53:09Z")

</div>

I am following the precice tutorial, and got an error I cannot resolve: When I “import precice” in python, I get the following error: ~/Downloads/part1/skeleton/generator$ python3 generator.py Traceback (most recent …

---

## [Cannot find -lprecice and precice/SolverInterface.hpp](https://precice.discourse.group/t/cannot-find-lprecice-and-precice-solverinterface-hpp/384)

<div class="topic-metadata">

**Author:** [@jun\_leng](https://precice.discourse.group/u/jun_leng)\
**Replies:** 6\
**Last updated:** [November 10, 2020, 12:51pm UTC](https://precice.discourse.group/t/cannot-find-lprecice-and-precice-solverinterface-hpp/384 "2020-11-10T12:51:04Z")

</div>

Hi everyone, I met a problem when I built python\_future binding using: \[lengjun@localhost python\_future\]$ python setup.py install --user I had added related environmental variables already in my ~/.bashrc as follows…

---

## [Concurrent installation of Python bindings](https://precice.discourse.group/t/concurrent-installation-of-python-bindings/230)

<div class="topic-metadata">

**Author:** [@ajaust](https://precice.discourse.group/u/ajaust)\
**Replies:** 3\
**Last updated:** [April 30, 2020, 9:23am UTC](https://precice.discourse.group/t/concurrent-installation-of-python-bindings/230 "2020-04-30T09:23:08Z")

</div>

Hi, I usually have different versions of preCICE installed on my system. For each release (I normally keep the last 2-3 releases) of preCICE I have normally have a Release and Debug build and a version with own changes …

---

## [Porting python adapter to preCICE 2](https://precice.discourse.group/t/porting-python-adapter-to-precice-2/173)

<div class="topic-metadata">

**Author:** [@Claudio](https://precice.discourse.group/u/Claudio)\
**Replies:** 1\
**Last updated:** [March 11, 2020, 1:20pm UTC](https://precice.discourse.group/t/porting-python-adapter-to-precice-2/173 "2020-03-11T13:20:36Z")

</div>

Hi, I am trying to port my python adapter to precice 2, and I am following the guide here: https://github.com/precice/python-bindings/blob/develop/docs/MigrationGuide.md afaik, in the new python bindings, data like int…

---

## [Installation of Python bindings on Cray](https://precice.discourse.group/t/installation-of-python-bindings-on-cray/149)

<div class="topic-metadata">

**Author:** [@mnucci32](https://precice.discourse.group/u/mnucci32)\
**Replies:** 4\
**Last updated:** [February 9, 2020, 6:02pm UTC](https://precice.discourse.group/t/installation-of-python-bindings-on-cray/149 "2020-02-09T18:02:52Z")

</div>

I have successfully installed preCICE and its python bindings on Ubuntu a couple of times. I now need to do the same on a Cray system. I’m not root on the Cray system, so everything needs to be installed in my $HOME dire…

---

## [preCICE, Python 2, and CentOS 7](https://precice.discourse.group/t/precice-python-2-and-centos-7/139)

<div class="topic-metadata">

**Author:** [@jun\_leng](https://precice.discourse.group/u/jun_leng)\
**Replies:** 2\
**Last updated:** [January 24, 2020, 3:13pm UTC](https://precice.discourse.group/t/precice-python-2-and-centos-7/139 "2020-01-24T15:13:03Z")

</div>

Hi, everyone, I have used preCICE with Python2 succefully on Ubuntu18 and finished relevant computation. However, it failed when I installed the Python API on Centos7 of the high performance computing system. The er…

---

## [Python interface with Spack](https://precice.discourse.group/t/python-interface-with-spack/86)

<div class="topic-metadata">

**Author:** [@mfolkersma](https://precice.discourse.group/u/mfolkersma)\
**Replies:** 1\
**Last updated:** [November 11, 2019, 3:27pm UTC](https://precice.discourse.group/t/python-interface-with-spack/86 "2019-11-11T15:27:30Z")

</div>

Hi, I installed preCICE on a cluster using Spack with python=True flag. How can I import the preCICE interface in Python? Folders src/precice/bindings/python\_future/ and src/precice/bindings/python/ do not contain any P…

[Previous page](https://precice.discourse.group/tag/python/13.md?match_all_tags=true&tags%5B%5D=python)
