~/talk

Parallelism the Old Way: Using MPI in Python with mpi4py

Talkat PyData London 2022 · 2022-06-17..06-19· [machine-learning]
links:none on file
slides:none on file

Demonstrates using MPI4Py for real Python parallelism: shows blocking send/recv, how small messages get copied but larger ones hit a ~32KB buffering cutoff and can deadlock, and how non-blocking send/receive with an explicit byte-buffer avoids that. Builds a task farm and grid-decomposition Game of Life: task-farm tests claim ~5× speedup on 8 processes (3.1× on 4), and a 20-core Mac Studio run drops a test suite to about 10 seconds.

AI-written summary · about

  1. 0:00Introduction to MPI
  2. 4:46Understanding parallelism
  3. 5:03Architectures and models
  4. 7:25Parallel computing types
  5. 12:57MIMD and MPI basics
  6. 16:18Distributed memory systems
  7. 20:00MPI history and concepts
  8. 25:40Programming with MPI
  9. 30:16Blocking communication
  10. 43:53Deadlock and non-blocking
  11. 59:15Advanced MPI techniques
  12. 1:10:30Data and task parallelism
  13. 1:20:52Grid decomposition example
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.