[mpich-discuss] Fortran/C configuration issue with MPICH2

Pavan Balaji balaji at mcs.anl.gov
Sat Sep 14 22:10:13 CDT 2013


Your gcc is 32-bit and ifort is 64-bit.  They don't work well together.  Install a 64-bit gcc or use a different C compiler (e.g., icc).

 -- Pavan

On Sep 14, 2013, at 8:33 PM, sunyeping wrote:

> Dear all,
>  
>  I am trying to install  mpich2-1.4.1p1 onto my centos 5.9 ssystem. I
> > used the following command:
> >  
> >  ./configure CFLAGS="-fPIC" CXXFLAGS="-fPIC" FFLAGS="-fPIC"
> > --enable-shared--prefix=/opt/mpich2​​
> >  
> > However, I receive error message:
> >  
> > configure: error: ****  Incompatible Fortran and C Object File
> > Types!  ****F77 Object File Type produced by "ifort -fPIC " is : :
> > ERROR: cannot open `' (No such file or directory). C  Object File
> > Type produced by "gcc -fPIC   -O2" is : : ELF 64-bit LSB
> > relocatable, AMD x86-64, version 1 (SYSV), not stripped.What does
> > that mean and how to resolve the problem?
> 
> Institute of Microbiology, Chinese Academy of Sciences
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

--
Pavan Balaji
http://www.mcs.anl.gov/~balaji




More information about the discuss mailing list