You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With sessions initialization model (section 11.3 of MPI 4 standard)
MPI may be initialized and finalized any number of times.
This patch refactors code that was assuming a one shot init/finalize
sequence for initializing Open MPI and its MCA param space
The underlying problem with the replaced code was that an app call MPI_Session_finalize
and if there are no more instances active, the MCA param space is
destroyed. So if one does not build Open MPI to use dynamically load frameworks,
and are using static variables in a way that assumes the MCA param
space is always preserved if a static variable is set to some value,
then things break if a subsequent MPI_Session_init is invoked.
Related to open-mpi#12869
Signed-off-by: Howard Pritchard <[email protected]>
0 commit comments