# PMIX error in Fenics after multiple successive runs

**URL:** <https://fenicsproject.discourse.group/t/pmix-error-in-fenics-after-multiple-successive-runs/614>\
**Category:** Uncategorized\
**Created:** [April 16, 2019, 4:39pm UTC](https://fenicsproject.discourse.group/t/pmix-error-in-fenics-after-multiple-successive-runs/614 "2019-04-16T16:39:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jviquerat](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/jviquerat/32/169_2.png) [@jviquerat](https://fenicsproject.discourse.group/u/jviquerat)\
**Post date:** [April 16, 2019, 4:39pm UTC](https://fenicsproject.discourse.group/t/pmix-error-in-fenics-after-multiple-successive-runs/614/1 "2019-04-16T16:39:37Z")

</div>

I have a python script running Fenics solver for a Navier-Stokes problem. Everything runs fine. However, this solver script is devoted to be called multiple times (hundreds to thousands) from another python script performing an optimization task.

My problem is that I systematically get this error after 994 calls to the solver :

`PMIX ERROR: OUT-OF-RESOURCE in file src/server/pmix_server_listener.c at line 273`

After that error, the call to the Fenics script remains pending, without a proper crash. From what I hear around me, that might be a bad handling of memory somewhere, probably in MPI (although I do not ask any MPI-related stuff to the Fenics script), that is eventually full and then crashes. Does anybody have an idea about this error ?

---

<div class="post-metadata">

**Author:** ![jviquerat](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/jviquerat/32/169_2.png) [@jviquerat](https://fenicsproject.discourse.group/u/jviquerat)\
**Post date:** [November 6, 2019, 7:45am UTC](https://fenicsproject.discourse.group/t/pmix-error-in-fenics-after-multiple-successive-runs/614/2 "2019-11-06T07:45:41Z")

</div>

FYI : [https://github.com/openpmix/openpmix/issues/1513](https://github.com/openpmix/openpmix/issues/1513)
