- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe the reason is that my C++ compiler version is old. I update the C++ compiler and the error disappears.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need more hints, it may default to CXX=g++ if you don't specify use of icpc.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page