Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Error when configure MPICH2

jglee
Beginner
274 Views

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!

0 Kudos
2 Replies
jglee
Beginner
274 Views
Maybe the reason is that my C++ compiler version is old. I update the C++ compiler and the error disappears.
0 Kudos
TimP
Honored Contributor III
274 Views
If you need more hints, it may default to CXX=g++ if you don't specify use of icpc.
0 Kudos
Reply