I have recently installed Ubuntu 14.04 64bit and tried to compile MPICH from the source using Intel Compilers 2013. At the beginning of compilation I use this command to configure MPICH:
./configure CC=icc CXX=icpc F77=ifort FC=ifort -prefix=/home/user/mpich-install
and I get this error after a while:
.
.
checking whether <iostream> available... no
checking how to run the C++ preprocessor... icpc -E
checking iostream.h usability... no
checking iostream.h presence... no
checking for iostream.h... no
configure: error: C++ compiler icpc has neither iostream nor iostream.h.
configure: error: ./configure failed for test/mpiI also tried compiling MPICH with GCC and it worked fine!
Any idea?