Book Image

Build Supercomputers with Raspberry Pi 3

By : Carlos R. Morrison
Book Image

Build Supercomputers with Raspberry Pi 3

By: Carlos R. Morrison

Overview of this book

Author Carlos R. Morrison (Staff Scientist, NASA) will empower the uninitiated reader to quickly assemble and operate a Pi3 supercomputer in the shortest possible time. The lifeblood of a supercomputer, the MPI code, is introduced early, and sample MPI code provides additional practice opportunities for you to test the effectiveness of your creation. You will learn how to configure various nodes and switches so that they can effectively communicate with each other. By the end of this book, you will have successfully built a supercomputer and the various applications related to it.
Table of Contents (20 chapters)
Build Supercomputers with Raspberry Pi 3
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
6
Creating a Mountable Drive on the Master Node

Project overview


For this project, you will perform the following steps:

  1. You will initially configure a Pi2 or Pi3 (one-node), four-core supercomputer.

  2. You will then command (using OpenMPI) all four cores to simultaneously solve the simple  equations discussed previously.
  3. You will then proceed to assemble a two-node Pi2 or Pi3, 8-core supercomputer, which you will configure to operate in parallel with each other, and again, run said  programs using all eight cores.
  4. Finally, you will construct an eight-node Pi2 or Pi3, 32- or 64-core supercomputer, which you will then command to rapidly crunch and smash through substantial equations (see equations in the Appendix ). Some of these equations require as few as two iterations, while others require hundreds or thousands, and millions of iterations to produce an excellent approximate  value. You will, indeed, be delighted at observing the gradual reduction in processing time, as you successively bring online increasing numbers of cores (1 to 32 or...