I'm have compiled mpich-3.0.4 using ifort and icc in ubuntu 12.04 using the following sequence:
export CC=icc
export CXX=icpc
export CPP='icc -E'
export CXXCPP='icpc -E'
export F77=ifort
export FC=ifort
export CFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
export CXXFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
export FFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
./configure --prefix=/usr/local
make
make install
The compilation appears to be OK, but the PROBLEM is It does not build libpmpich.a Only libmpich.a built, but I need both to compile a model.
Can anyone help?