HELLO_MPI is a Python script 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 GNU LGPL license.
HELLO_MPI is available in a C version and a C++ version and a FORTRAN90 version and a Python version.
HELLO, a PYTHON script which prints out "Hello, world!".
PRIME_MPI, a PYTHON script which counts the number of primes between 1 and N, using MPI for parallel execution.
QUAD_MPI, a PYTHON script which approximates an integral using a quadrature rule, and carries out the computation in parallel using MPI.
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.
You can go up one level to the PYTHON source codes.