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

Chapter 4. Static IP Address and Hosts File Setup

Some network switches don't allow the connected computers to set their own static IP address if they are using a dynamic configuration, so in that case we should reconfigure the switch and set up the static IP addresses of the nodes in the switch ourselves. Stable operation of the supercomputer requires that the IP address in the Pi nodes and on the switch remain unchanged during normal operation. Otherwise, the nodes will be unable to communicate with each other, thus making the supercomputer's performance less than optimal. This configuration procedure is accompanied by the setup of the hosts file.

In this chapter, you will learn how to do the following:

  • Configure the static IP address of the master and slave1 Pi

  • Configure the static IP address of the network switch

  • Set up the hosts file