PRIME_MPI
Parallel Computation of Integral Estimate


PRIME_MPI is a Python script which counts prime numbers between N_LO and N_HI 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 GNU LGPL license.

Languages:

PRIME_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_SERIAL, a PYTHON script which counts primes between N_LO and N_HI, and is intended as a starting point for parallelization exercises.

QUAD_MPI, a PYTHON script which estimates an integral using the MPI parallel programming environment, under MPI4PY.

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.

Reference:

Source Code:

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


Last revised on 28 October 2012.