MPI Information



MPI Exercises
01 November 2011

The exercises require access to source codes, which are available here:

  1. heat, a program to solve the time dependent heat equation. A pair of MPI_Send and MPI_Recv statements are given, but another pair is missing and you must insert them.
  2. hello, the MPI version of the "Hello, World!" program.
  3. mc, a Monte Carlo quadrature program for multidimensional integrals. Each process will be generating random numbers. Can you make sure each process generates a different set of random numbers?
  4. prime, a program which sums the primes between 2 and N.
  5. quad, a program which estimates an integral using quadrature.


You can go up one level to the ACS2_2011 page.


Last revised on 26 October 2011