Lecture 8

Learning objectives

After this class, you should be able to:

  1. Explain the concept of a communicator in MPI.
  2. Explain how MPI matches messages.
  3. Explain the semantics of MPI_Send and MPI_Recv.
  4. Compile and run MPI programs.
  5. Write simple MPI prorgams using MPI_Init, MPI_Comm_rank, MPI_Comm_size, MPI_Send, MPI_Recv, and MPI_Finalize.

Reading assignment

  1. Lecture 8 slides.
  2. Lecture 8 example codes.
  3. Section 3.1.

Exercises and review questions


Last modified: 26 Sep 2017