MPI Information
MPI Exercises
22 September 2008
The exercises require access to source codes, which
are available here:
-
mpi_stubs,
"stub" versions of the MPI libraries that allow you to compile
on systems that don't actually support MPI.
-
hello,
the MPI version of the "Hello, World!" program.
-
quad,
a program which estimates an integral using quadrature.
-
prime,
a program which sums the primes between 2 and N.
-
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.
-
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