Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] configure question
From: Greg Watson (g.watson_at_[hidden])
Date: 2010-02-17 10:29:35

The problem seems to be that on SL, gfortran defaults to 32-bit binaries while gcc defaults to 64-bit. If I set FFLAGS=-m64 then configure finishes. Of course, I have no idea if a Fortran MPI program will actually *work*, but at least OMPI builds. That's all that matters isn't it? :-).


On Feb 17, 2010, at 2:01 AM, Ralf Wildenhues wrote:

> Hello Greg,
> * Greg Watson wrote on Tue, Feb 16, 2010 at 07:03:30PM CET:
>> When I run configure under Snow Leopard (this is OMPI 1.3.4), I get the following:
>> checking if C and Fortran 77 are link compatible... no
>> **********************************************************************
>> It appears that your Fortran 77 compiler is unable to link against
>> object files created by your C compiler. This typically indicates
>> one of a few possibilities:
>> - A conflict between CFLAGS and FFLAGS
>> - A problem with your compiler installation(s)
>> - Different default build options between compilers (e.g., C
>> building for 32 bit and Fortran building for 64 bit)
>> - Incompatible compilers
>> Such problems can usually be solved by picking compatible compilers
>> and/or CFLAGS and FFLAGS. More information (including exactly what
>> command was given to the compilers and what error resulted when the
>> commands were executed) is available in the config.log file in this
>> directory.
>> **********************************************************************
>> configure: error: C and Fortran 77 compilers are not link compatible. Can not continue.
>> Anyone know of the top of their head what these options would be, or even if it is possible?
> Well, did you take a look at the corresponding bits in the config.log
> file? Can you post them?
> Thanks,
> Ralf
> _______________________________________________
> devel mailing list
> devel_at_[hidden]