[mpich-discuss] Error when compiled mpich2-1.3.1
Anthony Chan
chan at mcs.anl.gov
Tue Dec 7 10:24:42 CST 2010
----- Original Message -----
> hi, everyone
>
> When i compiled the version mpich2-1.3.1:./configure
> -prefix=/gc60/zfliu/jliu/Soft/mpich2131 -with-fc=ifort,
MPICH2 does not take -with-fc configure option, you should use
variables F77 and FC to set Fortran 77 and 90+ compilers respectively.
To see what configure option MPICH2 takes (at least the major options),
do "configure --help".
> the proces stop with error message:configure: error:
> **** Incompatible Fortran and C Object File Types! ****
> F77 Object File Type produced by "ifort -O2" is : : ELF 64-bit LSB
> relocatable, AMD x86-64, version 1 (GNU/Linux), not stripped.
> C Object File Type produced by "gcc -O2" is : : ELF 64-bit LSB
> relocatable, AMD x86-64, version 1 (SYSV), not stripped.
> Version of ifort is 9.0
> Version of MKL is 8.0
These binary formats should be compatible! Something unexpected might
have happened. Can you send us the top level config.log (automatically
generated by configure) and the configure output as seen on your terminal
(i.e. "c.txt" as stated in MPICH2's README). So 2 files, config.log
and c.txt.
A.Chan
>
> can you help me with it , thank you!
>
> Best wishes
> Jane
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list