-
Notifications
You must be signed in to change notification settings - Fork 62
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
fix for -ll:networks none, we will init MPI if it has not been initialized #465
Conversation
If |
OK, I see what's happening. Currently we decide whether we'll be using the MPI communicator at compile time, based on whether Realm was compiled with a network. However, now it's possible that Realm is compiled with a networking backend, but that backend is not loaded at runtime. |
I think the right course of action when no network is given is to activate the pthread-based communicator, not initializing the MPI one. A prerequisite is, as Manolis said, being able to query the chosen network module in a programmable way. |
Is this deprecated by #468? |
Not necessary. With this one. the QA team can start testing, but that one requires more time/work to be merged. |
If
-ll:networks none
is passed, then GASNet will not be initialized, in this case, we will init the MPI explicitly.