Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

MPICH2 install problem....

mahdi109
Beginner
837 Views
Hi, I am trying to install and compile MPICH2 v1.2 on SLES 11 sp1. When I run the script that comes with MPICH2 to compile it with the Intel Fortran compiler, I get the following error message:

checking whether ifort accepts the FLIBS found by autoconf... yes
checking whether icc links with FLIBS found by autoconf... no
checking for which libraries can be used...
checking whether Fortran 77 and C objects are compatible... no
checking for file... file
configure: error: **** Incompatible Fortran and C Object File Types! ****
F77 Object File Type produced by "ifort -O2" is : : ELF 64-bit LSB relocatable, x86-64, version 1 (GNU/Linux), not stripped.
C Object File Type produced by "icc -m64 " is : : cannot open `' (No such file or directory).

Thanks alot for your help!
0 Kudos
1 Reply
TimP
Honored Contributor III
837 Views
It looks like your problem may be with icc. I don't know at which version icc began to accept -m64 (by ignoring it?). If you have recent versions of ifort and icc, they do need to be the same release version. Many people prefer to build MPI for linux by using ifort and gcc/g++. Someone may have more insight on the HPC forum, if you give more detail, although MPICH isn't often covered there.
0 Kudos
Reply