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 7.  Configuring the Eight Nodes

This chapter discusses how to configure the eight or sixteen nodes in your Pi supercomputer. The process involves editing the fstab, rc.local, and hosts files. Additionally, you will be instructed on how to format the slave SD cards using the SD formatter for Windows applications and how to copy the slave1 SD card image, using the win32 Disk Imager application, to the remaining formatted slave SD cards.

In this chapter, you will learn:

  • How to edit the fstab file on the slave1 node to set up an automatic mount command

  • How to edit the boot up script rc.local file on the slave1 node for automatically mounting the export drive MPI code folder

  • How to edit the hosts file on the master node and slave1 node to reflect, temporarily, the IP address and hostnames of the remaining six or fourteen slave nodes

  • How to use the SD formatter for Windows applications to format the remaining slave SD cards

  • How to use the win32 Disk Imager to copy the image of the Slave1...