Lecture 4

Learning objectives

After this class, you should be able to:

  1. Explain the message passing programming model using MPI for communication.
  2. Given a problem, write parallel code to solve it, and evaluate the performance of your code, using the following MPI functions: (i) MPI_Init, (ii) MPI_Comm_rank, (iii) MPI_Comm_size, (iv) MPI_Reduce, (v) MPI_Finalize, (vi) MPI_Barrier, (vii) MPI_Wtime, and (viii) MPI_Wtick, (viii) MPI_Send, (ix) MPI_Recv, (x) MPI_ISend, (xi) MPI_IRecv, and (xii) MPI_Wait.

Reading assignment

  1. MPI tutorial at: https://computing.llnl.gov/tutorials/mpi.
  2. A chapter on MPI: http://www.mcs.anl.gov/~itf/dbpp/text/node94.html.
  3. Reference -- MPI specifications: http://www.mcs.anl.gov/research/projects/mpi.

Exercises and review questions


Last modified: 14 Jan 2010