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 5. Creating a Common User for All Nodes

Operating your supercomputer should be an effortless and pleasurable experience as you wield its massive power to crunch through difficult problems. Therefore, to facilitate this ease of use, we must create a common user for all nodes. This common user ties all the nodes together in one fell swoop, allowing you and the nodes to seamlessly communicate among themselves.

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

  • Create a new user for the master node

  • Create a password for the new user on the master node

  • Create a new user for the slave1 node

  • Create a password for the new user on the slave1 node

  • Generate a special key on the master node for sshing effortlessly between the nodes in the supercomputer without using a password

  • Copy the special key from the master node to the slave1 node

  • Edit the .bashrc file on the master node to facilitate seamless special key access to all the nodes

  • Use the which command