Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Build Supercomputers with Raspberry Pi 3
  • Toc
  • feedback
Build Supercomputers with Raspberry Pi 3

Build Supercomputers with Raspberry Pi 3

By : Carlos R. Morrison
4.3 (7)
close
Build Supercomputers with Raspberry Pi 3

Build Supercomputers with Raspberry Pi 3

4.3 (7)
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 (13 chapters)
close
6
6. Creating a Mountable Drive on the Master Node
12
A. Appendix

Setting up the host file for all nodes


Now that the first slave (Slv1) node is set up, you need to update the hosts file on both the master (Mst0) and slave (Slv1) nodes to reflect all the remaining six or sixteen nodes in the super cluster. First, you will copy (using win32 Disk Imager) the image of the Slv1 SD card to your desktop. This image file will then be copied to the other six or fourteen slave SD cards, and then return them to the slave Pis. Finally, you will make additional minor modifications to the data on each card.

So, let's now edit again the hosts file on the master node. Enter exit to return to the pi@Mst0:~$ prompt, and then enter sudo vim/etc/hosts. Add the rest of the IP addresses and host names. Repeat this procedure for the slave (Slv1) node (see highlighted text in the following screenshot):

Do the same for the master node, (see the following screenshot): 

Note that those six additional records are place holders as the IP addresses for the remaining six slave nodes...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete