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 26, 2021 13:29
@janjust janjust merged commit 6955e41 into open-mpi:v5.0.x Aug 26, 2021
@karasevb karasevb deleted the topic/v5.0.x/shmem_finalize branch August 27, 2021 03:00
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.

3 participants