Skip to content

Fix bug where Python interpreter exit status is consumed by ORBIT_MPI_Finalize hook. Add ORBIT_MPI_Gather/ORBIT_MPI_Allgather - #144

Open
woodtp wants to merge 2 commits into
PyORBIT-Collaboration:mainfrom
woodtp:orbit-mpi-gather-operations
Open

woodtp wants to merge 2 commits into
PyORBIT-Collaboration:mainfrom
woodtp:orbit-mpi-gather-operations

Conversation

@woodtp

@woodtp woodtp commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

#119 was growing in scope, so I split off the work in orbit_mpi into its own PR.

  1. Fixes a bug where ORBIT_MPI_Finalize called at Py_AtExit would not propagate the exit status of the interpreter, and so would always return a successful exit code. This meant that running pytest with MPI would always "succeed" even if tests fail.
  2. Introduce ORBIT_MPI_Gather and ORBIT_MPI_Allgather compatibility shims.

@woodtp
woodtp requested review from azukov and shishlo September 8, 2026 18:56
@woodtp woodtp self-assigned this Sep 8, 2026
@woodtp woodtp added bug Something isn't working enhancement New feature or request labels Sep 8, 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.

1 participant