In this chapter, we learned how to configure the eight or sixteen nodes in your Pi supercomputer. We accomplished this task by initially editing the fstab
file on the slave1 node to set up an automatic mount command, and then edit the hosts
files on the master and slave nodes to reflect their temporary IP address. Next, we used the SD formatter for the Windows applications, to format the slave SD cards, and then the win32 Disk Imager application, to copy the slave1 image to the remaining formatted slave SD cards. We edited/updated the hosts
file to reflect the actual IP addresses of the networked master and slaves, and edited the interfaces
file on the super cluster nodes. Finally, we updated the MAC and IP address on the network switch for the remaining slave nodes. We will discuss testing the super cluster in Chapter 8, Testing the Super Cluster.
Build Supercomputers with Raspberry Pi 3
By :
Build Supercomputers with Raspberry Pi 3
By:
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
Free Chapter
Getting Started with Supercomputing
One Node Supercomputing
Preparing the Initial Two Nodes
Static IP Address and Hosts File Setup
Creating a Common User for All Nodes
Creating a Mountable Drive on the Master Node
Configuring the Eight Nodes
Testing the Super Cluster
Real-World Math Application
Real-World Physics Application
Real-World Engineering Application
Appendix
Customer Reviews