Skip to content

Fix copy bug in ORBIT_MPI_Allreduce when USE_MPI == 0. Add support for MPI_IN_PLACE.#123

Open
woodtp wants to merge 3 commits into
PyORBIT-Collaboration:mainfrom
woodtp:feature/mpi-in-place
Open

Fix copy bug in ORBIT_MPI_Allreduce when USE_MPI == 0. Add support for MPI_IN_PLACE.#123
woodtp wants to merge 3 commits into
PyORBIT-Collaboration:mainfrom
woodtp:feature/mpi-in-place

Conversation

@woodtp

@woodtp woodtp commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Fixes #120.

Additionally, all calls from the python wrapper will implicitly pass MPI_IN_PLACE to the first argument of ORBIT_MPI_Allreduce, which means we don't need both a send and a recv buffer anymore.

@woodtp woodtp requested a review from azukov June 17, 2026 21:35
@woodtp woodtp self-assigned this Jun 17, 2026
@woodtp woodtp added bug Something isn't working enhancement New feature or request labels Jun 17, 2026
@woodtp woodtp marked this pull request as ready for review June 18, 2026 16:20
@woodtp woodtp closed this Jun 18, 2026
@woodtp woodtp deleted the feature/mpi-in-place branch June 18, 2026 18:36
@woodtp woodtp restored the feature/mpi-in-place branch June 18, 2026 18:53
@woodtp woodtp reopened this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minor copy bug in ORBIT_MPI_Allreduce when USE_MPI='none'

1 participant