I was configuring MPICH2 using "./configure FC=ifort F90=ifort CC=icc", some errors occur:
checking for gcc... icc
checking for C compiler default output file name...
configure: error: in `/hptc_cluster/software/mpich2-1.2.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
I'm sure the C++ compiler has been installed correctly, and the environmental variable is also correctly set. How to solve the problem? Thanks!