quad_mpi


quad_mpi, a Python code which estimates an integral with multiple MPI processes, using MPI4PY for parallel execution.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

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 code which prints out "Hello, world!" using the MPI parallel programming environment, under MPI4PY.

prime_mpi, a Python code which counts the number of primes between 1 and N, using MPI for parallel execution.

quad_serial, a Python code which approximates an integral using a quadrature rule, and is intended as a starting point for parallelization exercises.

search_mpi, a Python code which searches integers between A and B for a value J such that F(J) = C, using MPI and MPI4PY for parallel execution.

Reference:

Source Code:


Last revised on 27 October 2012.