Skip to content

MATLAB MEX AND MPI  #3

@lacrymose

Description

@lacrymose

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions