Parallel Computing: Lecture 8

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.

Reading assignment

  1. Chapter 4, NCSA p690 documentation, especially on compiling and running MPI programs.
  2. MPI 1.1 standard, section on collective communication.

Exercises and review questions


Last modified: 1 Feb 2007