Skip to content

comm: beef up args checking for some comm constructors #12975

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

hppritcha
Copy link
Member

The MPI_Comm_create_from_group and especially the
MPI_Intercomm_create_from_groups functions are recent additions to the standard (MPI 4.0) and users may get confused easily trying to use them.

So better parameter checking is needed.

Related to #12906 where an incorrect code example showed up.

Signed-off-by: Howard Pritchard howardp@lanl.gov
(cherry picked from commit a0486e0)

@github-actions github-actions bot added this to the v5.0.6 milestone Dec 10, 2024
@hppritcha
Copy link
Member Author

I am going to see about cherry-picking #12960 to see if it fixes the mpi4py comm create from group issues first. @janjust

The MPI_Comm_create_from_group and especially the
MPI_Intercomm_create_from_groups functions are recent additions
to the standard (MPI 4.0) and users may get confused easily
trying to use them.

So better parameter checking is needed.

Related to open-mpi#12906 where an incorrect code example showed up.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
(cherry picked from commit a0486e0)
@hppritcha hppritcha force-pushed the better_arg_checks_for_comm_create_from_group_v50x branch from 7493487 to 3796286 Compare December 16, 2024 17:53
@janjust janjust merged commit 1ea41e7 into open-mpi:v5.0.x Dec 16, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants