-
Notifications
You must be signed in to change notification settings - Fork 932
Open opal frameworks in opal_init not ompi_mpi_init #938
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
Conversation
The allocator, rcache, and mpool frameworks were moved down to opal some time ago. The framework open calls should have been moved as well. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
The mca_mpool_base_init function did nothing other than set a few static variables. These variables are not used ever. If mpool components wish to know that threads are in use they can use opal_using_threads (). Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
cf17cf4 to
6f30ccb
Compare
|
@jsquyres I just noticed something. ompi_mpi_init/finalize use opal_init/finalize_util and not the full opal_init/finalize. Do you know if there is a reason for that? Seems like a bug to me. We are getting lucky because orte does use opal_init/finalize. |
opal_init is responsible for loading frameworks that will be used by the ompi layer. Many of these frameworks are not loaded by opal_init_util. Before this commit things were working because orte_init does use opal_init. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
|
Generally looks ok to me. @bosilca, can you confirm? I'm trying to remember if there's a reason that the OMPI layer uses That being said, perhaps that's a false assumption, anyway: the RTE may not be ORTE. Hence, we should probably fully initialize OPAL, anyway. |
|
|
I don't see why we need to force the opening of all OPAL components from the beginning. I left the allocator, mpool, rcache and btl up in purpose in the OMPI layer as it was the first place where they were needed. Do we now have a reason to open everything down in OPAL? |
|
i will close this. i plan to move the mpool open down to opal (since the mpool has changed quite a bit) but will leave the others where they are. |
…bs-usnic-by-default v1.10: verbs_usnic: do not build by default
The allocator, rcache, and mpool frameworks were moved down to opal
some time ago. The framework open calls should have been moved as
well.
Signed-off-by: Nathan Hjelm hjelmn@lanl.gov