QUAD_MPI is a Python script which estimates an integral with multiple MPI processes, using MPI4PY for parallel execution.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
QUAD_MPI is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a Python version.
HELLO_MPI, a Python script which prints out "Hello, world!" using the MPI parallel programming environment, under MPI4PY.
PRIME_MPI, a Python script which counts the number of primes between 1 and N, using MPI for parallel execution.
QUAD_SERIAL, a Python script which approximates an integral using a quadrature rule, and is intended as a starting point for parallelization exercises.
SEARCH_MPI, a Python script which searches integers between A and B for a value J such that F(J) = C, using MPI and MPI4PY for parallel execution.
You can go up one level to the PYTHON source codes.