Book Image

Building a BeagleBone Black Super Cluster

By : Andreas J Reichel
Book Image

Building a BeagleBone Black Super Cluster

By: Andreas J Reichel

Overview of this book

Table of Contents (14 chapters)
Building a BeagleBone Black Super Cluster
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
References
Index

Installing and configuring OpenMPI


The following subsection will guide you through the process of downloading and configuring the OpenMPI package in Ubuntu. It will also provide you with basic programming examples in order to create simple cluster applications and make you understand the basic usage and functioning of the MPI standard interface.

Downloading and installing OpenMPI packages

Thankfully, OpenMPI is regarded as a standard package under Ubuntu Linux. You can download a precompiled version with the following command:

sudo apt-get install openmpi1.5-bin openmpi1.5-doc libopenmpi1.5-dev

Keep in mind that this has to be done on every single node. You can also execute commands using the ssh command from your master node.

For the following tutorial, let's assume that you have the following network setup:

  • 192.168.0.16: This is your master node with the name gatekeeper

  • 192.168.0.17: This is your first slave node with the name beowulf1

  • 192.168.0.18: This is your second slave node with the...