Build Supercomputers with Raspberry Pi 3

A step-by-step guide that will enhance your skills in creating powerful systems to solve complex issues

Build Supercomputers with Raspberry Pi 3

This ebook is included in a Mapt subscription
Carlos R. Morrison

A step-by-step guide that will enhance your skills in creating powerful systems to solve complex issues
$0.00
$31.99
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781787282582
Paperback254 pages

Book Description

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

Chapter 1: Getting Started with Supercomputing
Von Neumann architecture
Flynn's classical taxonomy
Historical perspective
The need for greater processing speed
Additional analytical perspective
Sources for reference
Summary
Chapter 2: One Node Supercomputing
Linux installation
PC processor
Accessing processor technical details
Write/run serial π code
Message passing interface
Summary
Chapter 3: Preparing the Initial Two Nodes
Listing of parts
The Pi2/Pi3 computer
Project overview
Super stack assembly
Preparing the master node
Transferring the code
Preparing the slave node
Summary
Chapter 4: Static IP Address and Hosts File Setup
Configuring static IP address of the master Pi
Configuring a network switch static IP address
Hosts file setup
Summary
Chapter 5: Creating a Common User for All Nodes
Adding a new user for all nodes
ID key generation
ID key transfer
Summary
Chapter 6: Creating a Mountable Drive on the Master Node
Summary
Chapter 7: Configuring the Eight Nodes
Automating mounting of drives
Setting up the host file for all nodes
Formatting the remaining slave SD cards
Copying the slave1 SD card image to the main computer drive
Copying the slave1 image to the remaining slave SD cards
Summary
Chapter 8: Testing the Super Cluster
Wielding the -H command
Pi2 supercomputing
Pi3 supercomputing
Creating bash files
Using unrestrained MPI code logic
Summary
Chapter 9: Real-World Math Application
MPI Taylor series sine(x) function
MPI Taylor series cosine(x) function
MPI Taylor series tan(x) function
MPI Taylor series ln(x) function
Summary
Chapter 10: Real-World Physics Application
MPI concurrent wave equation and code
Summary
Chapter 11: Real-World Engineering Application
MPI Fourier series sawtooth signal
Summary

What You Will Learn

  • Understand the concept of the Message Passing Interface (MPI)
  • Understand node networking.
  • Configure nodes so that they can communicate with each other via the network switch
  • Build a Raspberry Pi3 supercomputer.
  • Test the supercluster
  • Use the supercomputer to calculate MPI π codes.
  • Learn various practical supercomputer applications

Authors

Table of Contents

Chapter 1: Getting Started with Supercomputing
Von Neumann architecture
Flynn's classical taxonomy
Historical perspective
The need for greater processing speed
Additional analytical perspective
Sources for reference
Summary
Chapter 2: One Node Supercomputing
Linux installation
PC processor
Accessing processor technical details
Write/run serial π code
Message passing interface
Summary
Chapter 3: Preparing the Initial Two Nodes
Listing of parts
The Pi2/Pi3 computer
Project overview
Super stack assembly
Preparing the master node
Transferring the code
Preparing the slave node
Summary
Chapter 4: Static IP Address and Hosts File Setup
Configuring static IP address of the master Pi
Configuring a network switch static IP address
Hosts file setup
Summary
Chapter 5: Creating a Common User for All Nodes
Adding a new user for all nodes
ID key generation
ID key transfer
Summary
Chapter 6: Creating a Mountable Drive on the Master Node
Summary
Chapter 7: Configuring the Eight Nodes
Automating mounting of drives
Setting up the host file for all nodes
Formatting the remaining slave SD cards
Copying the slave1 SD card image to the main computer drive
Copying the slave1 image to the remaining slave SD cards
Summary
Chapter 8: Testing the Super Cluster
Wielding the -H command
Pi2 supercomputing
Pi3 supercomputing
Creating bash files
Using unrestrained MPI code logic
Summary
Chapter 9: Real-World Math Application
MPI Taylor series sine(x) function
MPI Taylor series cosine(x) function
MPI Taylor series tan(x) function
MPI Taylor series ln(x) function
Summary
Chapter 10: Real-World Physics Application
MPI concurrent wave equation and code
Summary
Chapter 11: Real-World Engineering Application
MPI Fourier series sawtooth signal
Summary

Book Details

ISBN 139781787282582
Paperback254 pages
Read More

Read More Reviews