MPI_STUBS is a FORTRAN90 library which provides "stub" versions of some MPI routines.
MPI_STUBS is intended to include stubs for the most commonly called MPI routines. Most of the stub routines don't do anything. In a few cases, where it makes sense, they do some simple action or return a value that is appropriate for the serial processing case.
MPI_STUBS can be used as a convenience, when a real MPI implementation is not available, and the user simply wants to test-compile a code. It may also be useful in those occasions when a code has been so carefully written that it will still execute correctly on a single processor.
MPI_STUBS is based on a similar package supplied as part of the LAMMPS program, which allow that program to be compiled, linked and run on a single processor machine, although it is normally intended for parallel execution.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
HEAT_MPI is a FORTRAN90 program which solves the 1D Time Dependent Heat Equation using MPI.
LAMMPS is a FORTRAN77 program which uses MPI for a molecular dynamics simulation. A serial version can be created by linking the program with the MPI_STUBS library.
MPI is an library of message passing routines which enables parallel processing on a variety of machine architectures, and with a varying number of processors.
MPI_INTRODUCTION is a one page introduction to MPI.
MPI_MORE_INFO contains a list of references, web sites, examples and tutorials on MPI.
MPI_STUBS is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version.
PETSC is a scientific programming library for parallel programming, which requires MPI in order to run.
PLTMG_SINGLE is a FORTRAN77 which implements the finite element method, and can be compiled and run with the MPI library.
QUAD_MPI is a FORTRAN90 program which approximates an integral using a quadrature rule, and carries out the computation in parallel using MPI.
RANDOM_MPI, a FORTRAN90 program which demonstrates one way to generate the same sequence of random numbers for both sequential execution and parallel execution under MPI.
SATISFIABILITY_MPI is a FORTRAN90 program which demonstrates, for a particular circuit, an exhaustive search for solutions of the circuit satisfiability problem, using MPI to carry out the calculation in parallel.
BUFFON_LAPLACE is an "embarrassingly parallel" Monte Carlo simulation of the Buffon-Laplace needle dropping process.
HELLO is a simple program that says "Hello, world!".
QUADRATURE is a program that estimates an integral using the random sampling.
You can go up one level to the FORTRAN90 source codes.