Examples in MPI/Fortran

- Example-1
- Brief description:
This program calculates the value of pi, using numerical
integration with parallel processing. The user selects the number of
points of integration. By selecting more points you get more accurate
results at the expense of additional computation.
- The source code is here.
- Example-2
- Brief description:
Implementation of Fast Fourier Transforms (FFT).
- The source code: is here.
- Example-3
- Brief description:
Implementation of the two concepts of gather and
scatter with MPI.
- The source code of the gather and the scatter.
- Example-4
- Brief description:
This program finds the force on each of a set of particles
interacting via a long-range 1/r**2 force law.
The number of processes must be even, and the total number of
points must be exactly divisible by the number of processes.
- The source code can be obtained from here.
- Example-5
- Brief description:
There are a number of examples from the book "Using MPI" by
Gropp, Lusk and Skjellum.
- The source code is available
here
- Example-6
- Brief description:
David Walker of ORNL has an Nbody example as well as a
2D Laplace SOR Solver both implemented in MPI. The SOR solver
solves Laplace's equation on a two-dimensional rectangle
using the successive over-relaxation method with red/black
ordering. The number of particles per processor in each direction must
be even.
- The source code for the
N-body and the
SOR
solver source code. Also there is a Fortran code to solve a
2D
Laplace equation using Jacobi iteration.
- Example-7
- Brief description:
A list of examples on Redistribution of Block Cyclic Data
Distributions described in a paper by the same title by Walker and
Otto. The code is self-checking and averages results over several
calls to a redistribution routine. The output file gives the average
time for a call, together with the standard deviation, minimum and
maximum times.
- The source code is available from this
page.
Also there is a simple
integration example.
Saleh Elmohamed
Last modified: Sun Feb 22 04:18:26 EST 1998