Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v5.0.x] btl/usnic: move btl_usnic_lock initialization #12366

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

lrbison
Copy link
Contributor

@lrbison lrbison commented Feb 24, 2024

Previously it was in component_init, but after
#12057 I noticed MPI finalize would find an uninitialized object and segfault. This change moves the initialization to component_open, so that component_close() can rely on the opal object initialization having been completed.

Signed-off-by: Luke Robison lrbison@amazon.com
(cherry picked from commit 5ff314c)

-- Backport of #12355

Previously it was in component_init, but after
open-mpi#12057 I noticed MPI finalize
would find an uninitialized object and segfault.  This change moves
the initialization to component_open, so that component_close() can
rely on the opal object initialization having been completed.

Signed-off-by: Luke Robison <lrbison@amazon.com>
(cherry picked from commit 5ff314c)
@github-actions github-actions bot added this to the v5.0.3 milestone Feb 24, 2024
@wenduwan wenduwan merged commit 72aceec into open-mpi:v5.0.x Feb 25, 2024
10 checks passed
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.

3 participants