I tried to compile the MPICH 3.0.4 with ifort 13.1.1 on scientific linux 6.4 x64 platform. The building steps were as follows:
export CC=icc CXX=icpc CPP='icc -E' CXXCPP='icpc -E' F77=ifort FC=ifort CFLAGS='-O3 -xHost -ip -no-prec-div -static-intel' CXXFLAGS='-O3 -xHost -ip -no-prec-div -static-intel' FFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
configure --prefix=/home/sl/mpich-3.0.4 2>&1 | tee c.log
make 2>&1 | tee m.log
make install 2>&1 | tee mi.log
The terminal reported many warning of pragma during 'make', such like the following:
../src/binding/f77/fdebug.c(22): warning #20: identifier "MPIR_IS_BOTTOM" is undefined
#pragma weak MPIR_IS_BOTTOM = mpir_is_bottom_
The log files were attached. How can I resolve this issue? Thanks in advance.