MPI Information



MPI Exercises
22 September 2008

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

  1. mpi_stubs, "stub" versions of the MPI libraries that allow you to compile on systems that don't actually support MPI.
  2. hello, the MPI version of the "Hello, World!" program.
  3. quad, a program which estimates an integral using quadrature.
  4. prime, a program which sums the primes between 2 and N.
  5. 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.
  6. 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?


You can go up one level to the ACS2_2008 page.


Last revised on 06 October 2011