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

Summary


In this chapter, we learned how to test your supercomputer by first shutting down the entire cluster by using the shutdown -h now command at each node, and then reenergizing the super cluster to reinitialize the machine. This procedure was then followed by commanding multiple nodes simultaneously to demolish the time needed to solve the π equation. Recall that one core on the master Pi2 node, operating in the restrained mode, and using 300,000 iterations, took 58m2.393s to calculate π, and 6m58.102s using all 32 cores in the eight node cluster, while the Pi3 supercomputer, also operating in the restrained mode, took 39m34.726s to calculate π using one core, and only 5m8.955s using 32 cores, and an insanely 3m51.196s using all 64 cores on the 16 node Pi3 machine. The author leaves it up to the reader to determine the time needed to crunch the value of π using 5 million (5,000,000) iterations, and all 64 cores in the unrestrained Pi3 supercomputer. The result is even more insane than...