Skip to content
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

PCU_Switch_Comm requires valid MPI communicator #1

Closed
rettenbs opened this issue Oct 27, 2017 · 0 comments · Fixed by #68
Closed

PCU_Switch_Comm requires valid MPI communicator #1

rettenbs opened this issue Oct 27, 2017 · 0 comments · Fixed by #68

Comments

@rettenbs
Copy link
Collaborator

We cannot use MPI_UNDEFINED here because PCU requires a valid communicator:

MPI_Comm_split(MPI_COMM_WORLD, (nLocalPart > 0 ? 0 : MPI_UNDEFINED), 0, &commIO);

Replacing MPI_UNDEFINED with 1 should do the trick.

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 a pull request may close this issue.

1 participant