PacktLib: Raspberry Pi Super Cluster

Raspberry Pi Super Cluster

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Clusters, Parallel Computing, and Raspberry Pi – A Brief Background

A very short history of parallel computing

Raspberry Pi and parallel computing

Summary

Setting Up your Raspberry Pi Software and Hardware for Parallel Computing

Setting up our work environment

Future expansion and a scalable setup

Completing the initial setup

Using an SD card as our Raspberry Pi's storage device

BerryBoot version 2

Starting up the Raspberry Pi

Wrapping up

Summary

Parallel Computing – MPI on the Raspberry Pi

MPI – Message Passing Interface

MPI implementations – MPICH and OpenMPI

Creating an environment and downloading MPICH

Writing an MPI-based application

Summary

Hadoop – Distributed Applications on the Raspberry Pi

A brief introduction to Apache Hadoop

Installing Java

Installing Apache Hadoop

Summary

MapReduce Applications with Hadoop and Java

MapReduce

MapReduce in Hadoop

The WordCount MapReduce program

Testing our application

Summary

Calculate Pi with Hadoop and MPI

Monte Carlo simulators

A Hadoop application to calculate Pi

Pi with C language and MPI

Summary

Going Further

Booting from an external USB HDD

Building a Lego enclosure

Experimenting with MPI and Fortran

Power for multiple devices

Summary

Appendix

Appendix

Appendix

Appendix

Index