Skip to content

Latest commit

 

History

History

mpi

MPI section

Learning objectives

At the end of the MPI section, the student should be able to

  • Explain differences in communicating between processes/threads in a shared memory system vs a distributed memory system
  • Describe deadlocking communication patterns and approaches to avoid deadlocks
  • Contrast blocking and non-blocking communication
  • Write MPI programs in C, C++, or Fortran for:
    • Communicating data between processes
    • Using collective communication calls over a subset of processes
  • Compile and run MPI programs in supercomputers
  • Start exploring some advanced MPI features relevant for their use case

Demo codes

See demos for demo codes referred to in the slides.

Wednesday exercises

Introduction to MPI

Point-to-point communication

MPI programming practices

Collective operations

Thursday exercises

Debugging

Collective reductions

Non-blocking communication

User-defined communicators

Further MPI topics

Bonus