search_mpi


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

For the particular example considered here, the solution will be F(1,674,924,981) = 45.

Licensing:

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

Languages:

search_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 primes between n_lo and n_hi, using the mpi parallel programming environment, under mpi4py.

quad_mpi, a python code which estimates an integral, using the mpi parallel programming environment, under mpi4py.

search_serial, a python code which searches integers between a and b for a value j such that f(j) = c, intended as a starting point for parallelization exercises.

Reference:

Source Code:


Last revised on 30 October 2012.