Download Open MPI source code
Uncompress openmpi-1.4.1.tar.gz in your home directory on the desktop and compile it
tar -zxvf openmpi-1.4.1.tar.gz
cp configure.sh openmpi-1.4.1
chmod 755 configure.sh
apt-get install g++ libc6-dev
Copy the installation onto the node
tar -cvf openmpi.tar openmpi
scp openmpi.tar node01:/usr/local
Uncompress OpenMPI on the node in directory /usr/local.
tar -xvf openmpi.tar
A user, who runs MPI, should be able to SSH between the desktop and the node
without password and have the home directory located on the NFS shared system.
If you have done the NFS exercises, you should have several user accounts
with home directories on the NFS file system.
Otherwise, set the node as NFS server and the desktop as NFS client (see lesson 6), export
the file system, for example /home/NFS, on the node. Mount it onto
the desktop. Create a user account, for example mary with home directory on the NFS file system
and set SSH public/private key authentication with empty passphrase (see lesson 3).
Add the following lines in the beginning of the user's .bashrc
of the user who will run MPI: