Skip to content

Conversation

@karasevb
Copy link
Member

Corresponds to #9310

…alue.

Example:
int main(void) {
    int rc = 0;
    shmem_init();
    if (0 == shmem_my_pe())
        rc = 1;
    shmem_finalize();
    return rc;
}

If the user wants to return not-zero status, this leads to
`ompi_mpi_finalize()` won't be called and the program terminates
abnormally.

Signed-off-by: Boris Karasev <[email protected]>
(cherry picked from commit ceb9259)
@gpaulsen gpaulsen self-requested a review August 27, 2021 18:49
@gpaulsen gpaulsen merged commit 14cc189 into open-mpi:v4.0.x Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants