Installing MPI for Python
The Message Passing Interface (MPI) (see http://en.wikipedia.org/wiki/Message_Passing_Interface) is a standard protocol developed by experts to work on a broad assortment of distributed machines. Originally, in the nineties, MPI was used to write programs in Fortran and C. MPI is independent of hardware and programming languages. MPI functions include the send and receive operations, MapReduce functionality, and synchronization. MPI has point-to-point functions involving two processors, and operations involving all processors. MPI has bindings for several programming languages, including Python. Download MPI from http://www.open-mpi.org/software/ompi/. MPI 2.0.2 was installed and used at the time of writing; we can check on the website whether there is a newer version available. Installing MPI can take a while (nearly 30 minutes). The following are the commands involved, assuming that we install it in the /usr/local
directory:
$ ./configure --prefix=/usr/local ...