-
Notifications
You must be signed in to change notification settings - Fork 189
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
Document openmpi symbol loading code #3812
Comments
This was originally inspired by mpi4py (https://github.com/mpi4py/mpi4py/blob/4e3f47b6691c8f5a038e73f84b8d43b03f16627f/src/lib-mpi/compat/openmpi.h). It's needed because OpenMPI |
Thank you, I'll add some comments... |
Fixes #3812. Description of changes: - Cleanup the mpi init code - GIve the python interface shared ownership of the mpi env
According to open-mpi/ompi#3705, this issue was fixed in OpenMPI 3.0.0 and higher. We should thus be able to limit our workaround to older versions. |
It is not needed anymore since open-mpi/ompi#3705. Related: #3812, where we document this trick.
The function
mpi_init
in communication.cpp contains the following code:It needs to be documented what this is doing and why it is needed. Also it is not clear to me that
this is safe in all circumstances, e.g. what happens if the shared has already be loaded before.
The text was updated successfully, but these errors were encountered: