O'Reilly logo

Building a BeagleBone Black Super Cluster by Andreas Josef Reichel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required