In this chapter, we learned how to download and install Ubuntu on the main PC. We wrote and ran a simple serial π code on one core of your PC multi-core processor, and then wrote and ran the first MPI code to call on the cores/processes in the multi-core processor in your PC. Armed with this knowledge/technique, we wrote and ran the MPI code version of the simple serial π code, and in the process learned how the for
loop distributes the work/task among the cores in the processor for attaining an ultimate solution. Finally, we employed the MPI coding technique learned to generate the π values from the Euler, Leibniz, and Nilakantha infinite series. In Chapter 3, Preparing the Initial Two Nodes, we will learn how to prepare the initial two nodes of your Pi2 or Pi3 supercomputer.
Build Supercomputers with Raspberry Pi 3
By :
Build Supercomputers with Raspberry Pi 3
By:
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 (20 chapters)
Build Supercomputers with Raspberry Pi 3
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
Free Chapter
Getting Started with Supercomputing
One Node Supercomputing
Preparing the Initial Two Nodes
Static IP Address and Hosts File Setup
Creating a Common User for All Nodes
Creating a Mountable Drive on the Master Node
Configuring the Eight Nodes
Testing the Super Cluster
Real-World Math Application
Real-World Physics Application
Real-World Engineering Application
Appendix
Customer Reviews