Skip to content

Conversation

@janjust
Copy link
Contributor

@janjust janjust commented Aug 12, 2019

To avoid fully initializing the osc/ucx component for MPI application
that are not using One-Sided functionality, the initialization happens
at the first MPI window creation.

This commit ensures atomicity of global state modifications.

ported from: 6678ac0
Signed-off-by: Artem Polyakov artpol84@gmail.com

@janjust janjust requested a review from artpol84 August 12, 2019 17:29
@artpol84
Copy link
Contributor

artpol84 commented Aug 12, 2019

@brminich, @hoopoepg good catch, thanks!

@janjust I've just revisited what we have in the master and it appears that there is one case that is not properly held there as well:
https://github.com/open-mpi/ompi/blob/master/ompi/mca/osc/ucx/osc_ucx_component.c#L359
Please PR the fix.

To avoid fully initializing the osc/ucx component for MPI application
that are not using One-Sided functionality, the initialization happens
at the first MPI window creation.

This commit ensures atomicity of global state modifications.

ported from: 6678ac0
Signed-off-by: Artem Polyakov <artpol84@gmail.com>

fix alignment, and fix error path
@gpaulsen
Copy link
Member

@brminich Please re-review after @janjust force-pushed.

@hppritcha hppritcha merged commit 7b09c15 into open-mpi:v4.0.x Aug 19, 2019
@janjust janjust deleted the v4.0.x-osc_fix branch March 27, 2025 02:03
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.

7 participants