Skip to content

test Open MPI and matching mpi4py on Linux and macOS - #75

Merged
saidctb merged 11 commits into
mainfrom
codex/openmpi-linux-macos-mpi4py
Sep 27, 2026
Merged

saidctb merged 11 commits into
mainfrom
codex/openmpi-linux-macos-mpi4py

Conversation

@saidctb

@saidctb saidctb commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
prik/printers/c.py 92.85% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

saidctb and others added 10 commits September 27, 2026 05:44
A generated module looked every attribute up through its own getattro,
which compared the name with each module variable before falling back to
the ordinary module lookup, so each module.function(...) call paid about
100 ns before the call started. Module variables are now get/set
descriptors on the module's heap type, which CPython finds through the
type's attribute cache, and functions resolve as on a plain module. The
read-only and deletion messages are unchanged.

The Open MPI tutorial's comparison is re-measured with its benchmark
script: Get_rank through the generated API drops from 245 to 164 ns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… APIs

The tutorial now opens with what PRIK produces from Open MPI's sources,
names the generated extension the wrapped API and prik_mpi.py the Python
API, links and downloads every file it uses, and condenses its walkthrough
into seven steps. The benchmark binds each callable and fixes buffer
placement before timing, and its backends are named wrapped, python, and
mpi4py in the script, the integration test, and the results table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@saidctb
saidctb merged commit db29b90 into main Sep 27, 2026
8 checks passed
@saidctb
saidctb deleted the codex/openmpi-linux-macos-mpi4py branch September 27, 2026 10:55
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