MPI Information



MPI Exercises
23 October 2012

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.
  6. search, a program which searches for a solution to an integer equation.


Last revised on 22 October 2012