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 ?