hello_mpi, a Python code which prints "Hello, world!" from each MPI process, using MPI4PY for parallel execution.
The computer code and data files described and made available on this web page are distributed under the MIT license
hello_mpi is available in a C version and a C++ version and a FORTRAN90 version and a Python version.
hello, a Python code which prints out "Hello, world!".
prime_mpi, a Python code which counts the number of primes between 1 and N, using MPI for parallel execution.
quad_mpi, a Python code which approximates an integral using a quadrature rule, and carries out the computation in parallel using MPI.
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.