Skip to content

Topic/hetero spawn #1385

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

Merged
merged 2 commits into from
Feb 22, 2016
Merged

Conversation

ggouaillardet
Copy link
Contributor

No description provided.

* and OPAL_PMIX_HOSTNAME, and we can live withot them, so initialize
* these values here in case they are not retrieved */
proc->super.proc_flags = OPAL_PROC_NON_LOCAL;
proc->super.proc_hostname = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW: ompi_proc_complete_init_single already initializes these fields to these values, so this isn't really necessary. The only time they won't be initialized is when you call that function with your own process name, and that cannot happen here as we are only looping over processes we previously didn't know about.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !
I will update and commit this on Monday

and accept a proc from a different job
also remove code duplication by using ompi_proc_complete_init_single()

Thanks Siegmar Gross for reporting this issue, and Ralph for the guidance.
@ggouaillardet ggouaillardet merged commit 308bbcb into open-mpi:master Feb 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants