Skip to content

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
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