-
Notifications
You must be signed in to change notification settings - Fork 864
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
in-place MPI_Alltoallw crashes #9329
Comments
Thanks for the report! There is indeed a bug and I will post a fix shortly |
The temporary buffer must be shifted by the true_extent on a per type basis (since the various datatypes might have different true_extent). Thanks Heiko Bauke for reporting this. Refs. open-mpi#9329 Signed-off-by: Gilles Gouaillardet <[email protected]>
@rabauke meanwhile, you can manually download and apply the patch at https://github.com/open-mpi/ompi/pull/9330.patch |
I can confirm that |
Fix merged to master; awaiting PR for v5.0.x. |
The temporary buffer must be shifted by the true_extent on a per type basis (since the various datatypes might have different true_extent). Thanks Heiko Bauke for reporting this. Refs. open-mpi#9329 Signed-off-by: Gilles Gouaillardet <[email protected]>
The temporary buffer must be shifted by the true_extent on a per type basis (since the various datatypes might have different true_extent). Thanks Heiko Bauke for reporting this. Refs. open-mpi#9329 Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit 0041ce8)
Oh, what a pity! |
The temporary buffer must be shifted by the true_extent on a per type basis (since the various datatypes might have different true_extent). Thanks Heiko Bauke for reporting this. Refs. open-mpi#9329 Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit 0041ce8) Signed-off-by: Brian Barrett <[email protected]>
Fix merged to v5.0.x in #9493 Closing. |
The temporary buffer must be shifted by the true_extent on a per type basis (since the various datatypes might have different true_extent). Thanks Heiko Bauke for reporting this. Refs. open-mpi#9329 Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit 0041ce8) Signed-off-by: Brian Barrett <[email protected]> (cherry picked from commit 8ff0a09)
Background information
What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)
OpenMPI 4.1.1
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
Downloaded sources from https://www.open-mpi.org/software/ompi/v4.1/ and compiled with
on Ubuntu 20.04 x64.
If you are building/installing from a git clone, please copy-n-paste the output from
git submodule status
.Please describe the system on which you are running
Details of the problem
The in-place variant of
MPI_Alltoallw
crashes as demonstrated by the following test programThe above program essentially implements a standard in-place
MPI_Alltoall
and is not particularly useful. It is just for demonstration purposes. Running the program withyields
The text was updated successfully, but these errors were encountered: