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

Adding a new user for all nodes

We now proceed to implement the task components outlined earlier. First, we will add a new user to the pi home directory that will have the same user ID for all pi nodes at once. So, go ahead and list the current content of the home directory: enter ls -la /home at the $ prompt; see the following screenshot:

Adding a new user for all nodes

You see that it contains only the pi user. Now enter sudo useradd -m -u 1960 alpha. The parameter -m specifies the home directory, -u is the argument for a new user ID, 1960 is your new user ID (or any integer you desire), and the name alpha (or any name you desire) is what you want to associate with the user ID 1960. Now check to see whether the alpha, or the username you chose, was added to the home directory. List the contents as you did earlier; see the following screenshot:

Adding a new user for all nodes

You see that the alpha user was indeed added to the pi home directory. This is great! The next thing you want to do is create a password for this newly created alpha user...

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