precice / matlab-bindings

MATLAB language bindings for preCICE
https://www.precice.org
GNU Lesser General Public License v3.0
5 stars 3 forks source link

MATLAB bindings cause MATLAB to crash, when executed multiple times #28

Open BenjaminRodenberg opened 3 years ago

BenjaminRodenberg commented 3 years ago

I observed this issue in MATLAB R2020b. Relatively easy to reproduce:

  1. Run any example or solverdummy.
  2. After successful execution do the same again
  3. MATLAB crashes.

I got the following error in the terminal that executed MATLAB:

*** The MPI_Comm_rank() function was called after MPI_FINALIZE was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[...:153798] Local abort after MPI_FINALIZE started completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

Is this only happening to me or can somebody reproduce this issue?

BenjaminRodenberg commented 3 years ago

More details on this issue are provided in https://github.com/precice/matlab-bindings#restrictions. There is the upstream issue https://github.com/precice/precice/issues/378 related to this one. We will still keep this issue open for documentation purposes until the problem is solved.