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