#! /bin/bash # This script automatically install openmpi-1.8.5 in the directory /share/apps # execute this script as root # gcc compilers are to be used mkdir /share/apps/configrepo cd /share/apps/configrepo wget http://www2.fizik.usm.my/configrepo/howto/openmpi/openmpi-1.8.5.tar.gz tar -zxvf openmpi-1.8.5.tar.gz cd openmpi-1.8.5 ./configure --prefix=/share/apps/openmpi-1.8.5/gcc --disable-dlopen make make install