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!
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!