search_serial


search_serial, a Python code which searches integers between A and B for a value J such that F(J) = C.

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

This program is intended as a starting point for making a parallel version.

Licensing:

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

Languages:

search_serial is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

fire_serial, a python code which simulates a forest fire over a rectangular array of trees, starting at a single random location. it is intended as a starting point for the development of a parallel version.

prime_serial, a python code which counts the number of primes between 1 and n, intended as a starting point for the creation of a parallel version.

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.

Source Code:


Last revised on 29 October 2012.