Lesson 12

Date: 4/16/2014
High Performance Computing (part I)
Linux for Engineering and IT applications


OpenMPI installation

  • Login to clmaster VM:
    virsh console clmaster
    

  • On clmaster, download Open MPI source code openmpi-1.8.tar.gz and configure.sh
    Uncompress openmpi-1.8.tar.gz in your home directory on the desktop and compile it
    wget http://linuxcourse.rutgers.edu/lessons/HPC_1/download/openmpi-1.8.tar.gz
    wget http://linuxcourse.rutgers.edu/lessons/HPC_1/download/configure.sh
    tar -zxvf openmpi-1.8.tar.gz
    cp configure.sh openmpi-1.8
    cd openmpi-1.8
    chmod 755 configure.sh
    apt-get install g++ libc6-dev make
    ./configure.sh
    make 
    make install
    


  • Add the following lines in the beginning of mpiuser's .bashrc file, /NFS/home/mpiuser/.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