[mpich-discuss] MPICH2 1.3.2 build using Intel Fortran, Gcc

Anthony Chan chan at mcs.anl.gov
Fri Jun 24 09:25:21 CDT 2011


Hi John,

The config.log indicates that your ifort refuses to link with object file
produced by your version of gcc 4.5.  Listed below is the steps of the
failed test:

configure:8742: checking whether Fortran 77 and C objects are compatible
configure:8772: gcc -c    -O2 conftestc.c 1>&5
configure:8775: $? = 0
configure:8794: ifort -c   -O2 conftestf.f 1>&5
configure:8797: $? = 0
configure:8808: ifort   -O2 -o conftest conftestf.o conftestc.o   >&5
IPO link: can not find "("
ifort: error: problem during multi-file optimization compilation (code 1)

I think gcc 4.5 is a much newer version of gcc than the ifort 9 can handle.
Do you have icc that comes with your version of ifort ?

A.Chan


----- Original Message -----
> hello,
> 
> Having a problem building MPICH2 1.3.2 on 32bit Fedora 3 Linux
> 
> configure: error: **** Incompatible Fortran and C Object File Types!
> ****
> F77 Object File Type produced by "ifort -O2" is : : ELF 32-bit LSB
> relocatable, Intel 80386, version 1 (GNU/Linux), not stripped.
> C Object File Type produced by "gcc -O2" is : : ELF 32-bit LSB
> relocatable, Intel 80386, version 1 (SYSV), not stripped.
> 
> 
> Intel Fortran is 9.0.025, GCC is 4.5.1
> 
> Attached are the files you require,
> 
> Thanks,
> 
> John
> 
> 
> From: John Smith (Installations Co-ordinator)
> 
> CHAM Ltd, 40 High Street, Wimbledon, London SW19 5AU
> 
> Tel: +44-208-947-7651 Fax: +44-208-879-3497
> 
> Web: http://www.cham.co.uk
> 
> Email: js at cham.co.uk
> 
> Click: www.cham.co.uk/DOCS/cham_news_winter0809.pdf for the latest
> news from CHAM
> 
> 
> 
> _______________________________________________
> 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