Skip to content

memchecker: fix some problems with arg checking #13174

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 1 commit into from
Apr 1, 2025

Conversation

hppritcha
Copy link
Member

The code which is conditionally compiled when Open MPI is configured with the --enable-memchecker had some bugs. In particular the ompi_datatype_type_extent function was being invoked for some rooted collectives for ranks where the datatype being checked doesn't have to be defined. Also in certain cases the wrong datatype (send,recv) was not being correctly checked.

These problems only show up when using the --enable-memchecker config option.

The code which is conditionally compiled when Open MPI is configured with the
--enable-memchecker had some bugs.  In particular the ompi_datatype_type_extent
function was being invoked for some rooted collectives for ranks where the
datatype being checked doesn't have to be defined.  Also in certain cases
the wrong datatype (send,recv) was not being correctly checked.

These problems only show up when using the --enable-memchecker config option.

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha hppritcha removed the request for review from devreal April 1, 2025 20:58
@hppritcha hppritcha merged commit 3a5f714 into open-mpi:main Apr 1, 2025
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.

2 participants