Skip to content

Conversation

@aravindksg
Copy link
Contributor

PR #5450 addresses MPI_IN_PLACE processing for basic collective algorithms.
But in conjunction with that, we need to check for MPI_IN_PLACE in tuned paths
as well before calling ompi_datatype_type_size() as otherwise we segfault.

MPI spec also stipulates to ignore sendcount and sendtype for Alltoall and
Allgatherv operations. So, extending the check to these algorithms as well.

Signed-off-by: Aravind Gopalakrishnan Aravind.Gopalakrishnan@intel.com

Copy link
Member

@bosilca bosilca left a comment

Choose a reason for hiding this comment

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

I wonder if we can't simply use the receive datatype and the receive count to compute the blocksize.

@aravindksg
Copy link
Contributor Author

Yeah, should be able to use rdtype to compute the block size for the case when MPI_IN_PLACE is specified for sbuf. Shall fix that and update

PR open-mpi#5450 addresses MPI_IN_PLACE processing for basic collective algorithms.
But in conjunction with that, we need to check for MPI_IN_PLACE in tuned paths
as well before calling ompi_datatype_type_size() as otherwise we segfault.

MPI spec also stipulates to ignore sendcount and sendtype for Alltoall and
Allgatherv operations. So, extending the check to these algorithms as well.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
@matcabral matcabral merged commit 2da3170 into open-mpi:master Oct 31, 2018
@aravindksg aravindksg deleted the coll-tuned-fix branch October 31, 2018 18:21
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.

4 participants