#! /bin/bash name=pgfortran_mpich2-1.3.1_nofast_nemesis ########################### wget http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.3.1/mpich2-1.3.1.tar.gz tar xzvf mpich2-1.3.1.tar.gz \rm mpich2-1.3.1.tar.gz export CC=pgcc export FC=pgfortran export F77=pgfortran export CXX=pgcpp export CFLAGS= #-fast export FCFLAGS= #-fast export FFLAGS= #-fast export CXXFLAGS= #-fast ici=$PWD/$name cd mpich2-1.3.1 ./configure --prefix=$ici --with-device=ch3:nemesis make make install cd .. \rm -rf mpich2-1.3.1