You will need the mpich and mpi4py libraries for this chapter.
The mpich library is a portable implementation of MPI. It is free software and is available for various versions of Unix (including Linux and macOS) and Microsoft Windows.
To install mpich, use the installer downloaded from the downloads page (http://www.mpich.org/static/downloads/1.4.1p1/). Moreover, make sure to choose between the 32-bit or 64-bit versions to get the right one for your machine.
The mpi4py Python module provides Python bindings for the MPI (https://www.mpi-forum.org) standard. It is implemented on top of the MPI-1/2/3 specification and exposes an API that is based on the standard MPI-2 C++ bindings.
The installation procedure of mpi4py on a Windows machine is as follows:
C:>pip install mpi4py
Anaconda users...