Lesson 12

Date: 4/23/2009
Computational clusters
Linux for Engineering and IT applications


OpenMPI installation

  • Download Open MPI source code openmpi-1.3.1.tar.gz and configure.sh
    Uncompress openmpi-1.3.1.tar.gz in your home directory on the desktop and compile it
    tar -zxvf openmpi-1.3.1.tar.gz
    cp configure.sh openmpi-1.3.1
    cd openmpi-1.3.1
    chmod 755 configure.sh
    apt-get install g++ libc6-dev
    ./configure.sh
    make 
    make install
    

  • Copy the installation onto the node
    cd /usr/local
    tar -cvf openmpi.tar openmpi
    scp openmpi.tar  node01:/usr/local 
    

  • Uncompress OpenMPI on the node in directory /usr/local.
    cd /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. We should have several users with Kerberos accounts, for example, user mary, who can SSH without password from the desktop to the node.

  • Add the following lines in the beginning of the user's .bashrc
    export PATH=/usr/local/openmpi/bin:$PATH
    export LD_LIBRARY_PATH=/usr/local/openmpi/lib:$LD_LIBRARY_PATH
    




  • Take me to the Course Website