In the last chapter, we learned how to overclock various models of Raspberry Pi to increase their computational power. In this chapter, we will learn how to write parallel programs with Python and MPI4PY. I prefer Python due to its simplicity, and the code in Python is less scary. We will explore MPI concepts and implement those in Python with MPI4PY.
The MPI concepts we will study and implement are as follows:
MPI rank and processes
Sending and receiving data
Data tagging
Broadcasting data
Scattering and gathering data
Basics of MPI4PY
In the earlier ...