Error when configure MPICH2

Error when configure MPICH2

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!

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Maybe the reason is that my C++ compiler version is old. I update the C++ compiler and the error disappears.

If you need more hints, it may default to CXX=g++ if you don't specify use of icpc.

Leave a Comment

Please sign in to add a comment. Not a member? Join today