Skip to content

Add cross-language MPI interop tests and update README#4

Merged
shinaoka merged 1 commit intomainfrom
add-interop-tests
Feb 6, 2026
Merged

Add cross-language MPI interop tests and update README#4
shinaoka merged 1 commit intomainfrom
add-interop-tests

Conversation

@shinaoka
Copy link
Copy Markdown
Member

@shinaoka shinaoka commented Feb 6, 2026

Summary

  • README updates: Add experimental/POC status, upstream merge goal, Julia/Python motivation, interop test section
  • Interop tests: MPMD-based tests where Rust, Python (mpi4py), and Julia (MPI.jl) share MPI_COMM_WORLD under a single mpiexec
  • CI workflow: .github/workflows/interop.yml runs tests with MPICH and OpenMPI on Ubuntu

Test structure

Test Description
Test 1 Rust-only (2 ranks) - baseline
Test 2 Rust + Python MPMD (2 ranks)
Test 3 Rust + Julia MPMD (2 ranks)
Test 4 Rust + Python + Julia MPMD (3 ranks)

All tests broadcast value 42 from rank 0 and verify on all ranks. Tests gracefully skip when Python/Julia deps are not installed.

Test plan

  • Rust-only test passes locally
  • cargo build --example interop_test succeeds
  • Script gracefully skips missing Python/Julia
  • CI passes with mpi4py and MPI.jl

Generated with Claude Code

- Add experimental/POC status, upstream merge goal, and Julia/Python
  motivation to README
- Add MPMD-based interop tests: Rust + mpi4py + MPI.jl sharing
  MPI_COMM_WORLD under a single mpiexec
- Add CI workflow for interop tests (.github/workflows/interop.yml)
- Tests gracefully skip when Python/Julia deps are not installed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shinaoka shinaoka merged commit 9356574 into main Feb 6, 2026
8 of 10 checks passed
@shinaoka shinaoka deleted the add-interop-tests branch February 6, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant