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)
@awlauria
Copy link
Contributor

Should this go back to v4.0.x as well?

@karasevb
Copy link
Member Author

Should this go back to v4.0.x as well?

Yes, will cherry-pick.

@brminich
Copy link
Member

@jsquyres, ok to merge?

@jsquyres
Copy link
Member

Please properly label and milestone your PRs, otherwise they don't get seen by the release managers.

@jsquyres jsquyres modified the milestones: v4.1.x, v4.1.2 Aug 30, 2021
@jsquyres jsquyres merged commit 1454445 into open-mpi:v4.1.x Aug 30, 2021
@karasevb karasevb deleted the topic/v4.1.x/shmem_finalize branch November 3, 2021 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants