Parallel Computation of Integral Estimate

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 FORTRAN90 version and a Python version.

Related Data and Programs:

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.


Source Code:

You can go up one level to the PYTHON source codes.

Last revised on 27 October 2012.