#! /bin/bash # This script install mpich2 in the frontend of a Rocks Linux cluster in /share/apps # Procedure: Run this script as an su. mkdir /share/apps/ins_mpich2 cd /share/apps/ins_mpich2 wget http://www2.fizik.usm.my/configrepo/howto/mpich2/mpich2-1.4.1p1.tar tar -xvf mpich2-1.4.1p1.tar cd mpich2-1.4.1p1 ./configure --prefix=/share/apps/mpich2-install 2>&1 | tee c.txt make 2>&1 | tee m.txt make install 2>&1 | tee mi.txt PATH=/share/apps/mpich2-install/bin:$PATH ; export PATH