Skip to content

PyHPC: Rewrite mpi4py lesson with heat stencil.#221

Open
robobryce wants to merge 1 commit into
NVIDIA:event/2026-07-cscs-summer-schoolfrom
robobryce:rewrite/mpi4py-notebooks
Open

PyHPC: Rewrite mpi4py lesson with heat stencil.#221
robobryce wants to merge 1 commit into
NVIDIA:event/2026-07-cscs-summer-schoolfrom
robobryce:rewrite/mpi4py-notebooks

Conversation

@robobryce

Copy link
Copy Markdown

Summary

  • Rewrite the mpi4py notebook as a concept-to-validation lesson with one simple distributed reduction exercise and one advanced 2D heat-equation stencil exercise.
  • Add a paired solution notebook with executed outputs and serial-reference validation.
  • Select a compatible MPICH/CSCS or Open MPI launcher and propagate child-process failures to notebook execution.
  • Update PyHPC notebook links, test documentation, and generated-artifact ignores.
  • Use no profiling tools.

Testing

  • python3 brev/test-notebook-format.py tutorials/pyhpc/notebooks/03__mpi4py.ipynb tutorials/pyhpc/notebooks/solutions/03__mpi4py__SOLUTION.ipynb tutorials/pyhpc/notebooks/syllabi/pyhpc__cupy_mpi4py_jax_cppinterop_kernels__8_hours.ipynb
  • pytest tutorials/pyhpc/test/test_notebooks.py -k 03__mpi4py using an MPICH-built mpi4py environment

Signed-off-by: Bryce Adelstein Lelbach <brycelelbach@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Thank you for your contribution!

This pull request is from a forked repository so GitHub Actions will not be able to run CI. A maintainer will review your changes shortly and manually trigger the CI.

@maintainers Please review this PR when you have a chance and follow the instructions in the CONTRIBUTING.md file to trigger the CI.

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.

2 participants