MPI Information
MPI Exercises
23 October 2012
The exercises require access to source codes, which
are available here:
-
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.
-
hello,
the MPI version of the "Hello, World!" program.
-
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?
-
prime,
a program which sums the primes between 2 and N.
-
quad,
a program which estimates an integral using quadrature.
-
search,
a program which searches for a solution to an integer equation.
Last revised on 22 October 2012