Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tutorials/pyhpc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ notebooks/CMakeLists.txt
notebooks/swe_step.cpython-*.so
notebooks/timings.json

# Kernel / asynchrony notebooks (03-05): %%writefile scripts, Nsight
# profiler reports, the downloaded text corpus, and rendered plots.
# Kernel, asynchrony, and MPI notebooks (03-06): %%writefile scripts,
# MPI results, Nsight profiler reports, the downloaded corpus, and plots.
# Patterns are applied at the notebooks/ root and under solutions/, since
# executing the solution notebooks (e.g. in CI) writes the same artifacts there.
notebooks/*.py
Expand All @@ -25,6 +25,10 @@ notebooks/solutions/books__15m.txt
notebooks/test.png
notebooks/solutions/test.png

# MPI notebook (06): verified field saved for the notebook visualization.
notebooks/heat_equation_result.npz
notebooks/solutions/heat_equation_result.npz

# Generated C/C++ from %%writefile cells (nanobind / cffi / cppjit / interop
# exercises). The checked-in tutorial source is re-included below.
notebooks/solutions/*.c
Expand Down
4 changes: 2 additions & 2 deletions tutorials/pyhpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Brev Launchables of this tutorial should use:

## Notebooks

Each exercise notebook that has a paired solution carries `# TODO:` cells with `...` placeholders; the solution fills them in. The intro/reference notebook (07), the synthesis notebook (12), and the mpi4py walkthrough (06) are complete as written and have no separate solution.
Each exercise notebook that has a paired solution carries clearly marked `# TODO:` placeholders; the solution fills them in. The intro/reference notebook (07) and synthesis notebook (12) are complete as written and have no separate solution.

### Fundamentals

Expand All @@ -39,7 +39,7 @@ Each exercise notebook that has a paired solution carries `# TODO:` cells with `

| # | Notebook | Link | Solution |
|---|----------|------|----------|
| 06 | mpi4py | [![](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NVIDIA/accelerated-computing-hub/blob/main/tutorials/pyhpc/notebooks/06__mpi4py.ipynb) | |
| 06 | mpi4py | [![](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NVIDIA/accelerated-computing-hub/blob/main/tutorials/pyhpc/notebooks/06__mpi4py.ipynb) | [![](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/NVIDIA/accelerated-computing-hub/blob/main/tutorials/pyhpc/notebooks/solutions/06__mpi4py__SOLUTION.ipynb) |

### Programming models and interoperability

Expand Down
Loading