NLeSC / esibayes

Optimization and state estimation of dynamic models
Apache License 2.0
2 stars 3 forks source link

MATLAB MEX AND MPI #30

Open lacrymose opened 1 year ago

lacrymose commented 1 year ago

Dear developers, I compiled the matlab mex file which involves mpi operations and when I re-run the mexfunction, it gave The MPI_Init() function was called after MPI_FINALIZE was invoked. This is disallowed by the MPI standard. *** Your MPI job will now abort. 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! I suspect the mpi is still working after MPI_FINALIZE is called in the first run, which causes the above error when MPI_Init() is called in the second run. But I donot know how to solve this problem. I ask a help from you. Thanks in advance!

jspaaks commented 1 year ago

Hi @lacrymose, thanks for the report. Unfortunately, I think it's unlikely that we will be able to look into this, as this software is abandonware.