Szczegóły ebooka

Build Supercomputers with Raspberry Pi 3

Build Supercomputers with Raspberry Pi 3

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

About This Book

  • Carlos R. Morrison from NASA will teach you to build a supercomputer with Raspberry Pi 3
  • Deepen your understanding of setting up host nodes, configuring networks, and automating mountable drives
  • Learn various math, physics, and engineering applications to solve complex problems

Who This Book Is For

This book targets hobbyists and enthusiasts who want to explore building supercomputers with microcomputers. Researchers will also find this book useful. Prior programming knowledge is necessary; knowledge of supercomputers is not.

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

In Detail

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.

Style and approach

A progressive guide that will start off with serial coding and MPI concepts, moving towards configuring a complete supercluster, and solving real world problems

  • Build Supercomputers with Raspberry Pi 3
    • Build Supercomputers with Raspberry Pi 3
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Why subscribe?
    • Customer Feedback
    • Dedication
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Downloading the color images of this book
        • Errata
        • Piracy
        • Questions
    • 1. Getting Started with Supercomputing
      • Von Neumann architecture
      • Flynns classical taxonomy
      • Historical perspective
        • Serial computing technique
        • Parallel computing technique
      • The need for greater processing speed
      • Additional analytical perspective
      • Sources for reference
      • Summary
    • 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
    • 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
    • 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
    • 5. Creating a Common User for All Nodes
      • Adding a new user for all nodes
      • ID key generation
      • ID key transfer
      • Summary
    • 6. Creating a Mountable Drive on the Master Node
      • Summary
    • 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
    • 8. Testing the Super Cluster
      • Wielding the -H command
      • Pi2 supercomputing
      • Pi3 supercomputing
      • Creating bash files
      • Using unrestrained MPI code logic
      • Summary
    • 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
    • 10. Real-World Physics Application
      • MPI concurrent wave equation and code
        • Drawing graphs
      • Summary
    • 11. Real-World Engineering Application
      • MPI Fourier series sawtooth signal
      • Summary
    • A. Appendix
      • Definitions