SEARCH_MPI is a Python script 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.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
SEARCH_MPI is available in a C version and a C++ 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 primes between N_LO and N_HI, using the MPI parallel programming environment, under MPI4PY.
QUAD_MPI, a Python script which estimates an integral, using the MPI parallel programming environment, under MPI4PY.
SEARCH_SERIAL, a Python script which searches integers between A and B for a value J such that F(J) = C, intended as a starting point for parallelization exercises.
You can go up one level to the PYTHON source codes.