Compiling MPICH-3.2 using GNU

MPICH Installation can be very straight forward. The full documentation can be found here at https://www.mpich.org/static/downloads/3.2/mpich-3.2-installguide.pdf

After untar, go to the src directory

# ./configure --prefix=/usr/local/mpich-3.2 CC=gcc CXX=g++ F77=gfortran FC=gfortran --enable-fast=all,O3
# make -j 16
# make install

-03 turns all optimisation