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

Transferring the code


The next step is to transfer your codes from the main PC to the master Pi2 or Pi3, after which you will again compile and run the codes, much like you did earlier. But before we proceed, you need to ascertain the IP address of the master Pi2 or Pi3. Go ahead and enter the ifconfig command, in the Pi terminal window (see the following screenshot):

IP address

Note

The author's Pi2 IP address is 192.168.0.9 (see the second line of the displayed text). The MAC address is b8:27:eb:81:e5:7d (see the first line of the displayed text), and the net mask address is 255.255.255.0. Write down these numbers, as they will be needed later when configuring the Pis and switch.

Your IP address may be similar, possibly except for the last two highlighted numbers depicted earlier. Return to your main PC, and list the contents in the code folder located in the Desktop directory; that is, type and enter ls -la. The list of the folder content is displayed. You can now Secure File Transfer Protocol...