Build Supercomputers with Raspberry Pi 3

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

A step-by-step guide that will enhance your skills in creating powerful systems to solve complex issues. 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. 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 p codes. - Learn various practical supercomputer applications

Author(s): Carlos R. Morrison
Publisher: Packt
Year: 2017

Language: English
Pages: 248

Cover
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: Getting Started with Supercomputing
Von Neumann architecture
Flynn's classical taxonomy
Historical perspective
Serial computing technique
Parallel computing technique
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
Basic MPI code
MPI π code
Critical MPI for loop structure
MPI Euler code
MPI Leibniz code
MPI Nilakantha code
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
Drawing graphs
Summary
Chapter 11: Real-World Engineering Application
MPI Fourier series sawtooth signal
Summary
Appendix
Definitions 
Index