-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Fix broken Utils::Mpi::gather_buffer()
The function must move the first n_elem of the buffer on rank root to the correct place, otherwise the first n_elem of the buffer on rank 0 will overwrite them, and a hole of size n_elem can be found somewhere in the final buffer. This bug doesn't affect code where root is 0.
- Loading branch information
Showing
2 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters