# Simulation get stuck when running in parallel

**URL:** <https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790>\
**Category:** Official adapters and tutorials\
**Tags:** openfoam, adapters, calculix\
**Created:** [November 4, 2021, 8:48pm UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790 "2021-11-04T20:48:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiangli](https://avatars.discourse-cdn.com/v4/letter/x/e56c9b/32.png) [@xiangli](https://precice.discourse.group/u/xiangli)\
**Post date:** [November 4, 2021, 8:48pm UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790/1 "2021-11-04T20:48:04Z")

</div>

Hi there,

I’m currently using calculix-openfoam adapter. When I run openfoam in parallel, it get stuck when the processors are more than 72. There’s no error message, and the job is not stoped.

The last message in the log is :  
precice —[precice] Setting up slaves communication to coupling partner/s

and no further information was recorded.  
What is the probable reason for this?

Thanks

---

<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 5, 2021, 7:46am UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790/2 "2021-11-05T07:46:01Z")

</div>

Hi @xiangli,

have you already tried deleting the `precice-run` directory between runs?

> [@Help! The participants are not finding each other!](https://precice.discourse.group/t/help-the-participants-are-not-finding-each-other/646):
>
> A possible situation, without an error: one or both/multiple participants display the message Setting up master communication to coupling partner/s and nothing happens, even though this step should complete instantaneously.

---

<div class="post-metadata">

**Author:** ![xiangli](https://avatars.discourse-cdn.com/v4/letter/x/e56c9b/32.png) [@xiangli](https://precice.discourse.group/u/xiangli)\
**Post date:** [November 5, 2021, 9:36pm UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790/3 "2021-11-05T21:36:11Z")

</div>

Hi Makis,

Many thanks for your help, I’ve solved this problem!

---

<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, 2021, 9:59am UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790/4 "2021-11-07T09:59:15Z")

</div>

Thanks for following up! How did you solve it?

---

<div class="post-metadata">

**Author:** ![xiangli](https://avatars.discourse-cdn.com/v4/letter/x/e56c9b/32.png) [@xiangli](https://precice.discourse.group/u/xiangli)\
**Post date:** [November 8, 2021, 11:48am UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790/5 "2021-11-08T11:48:56Z")

</div>

Hi Makis,

I removed the precice-run file as you said 😀

---

<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:** [November 11, 2021, 11:49am UTC](https://precice.discourse.group/t/simulation-get-stuck-when-running-in-parallel/790/6 "2021-11-11T11:49:49Z")

</div>

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