Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Configure MPI_ADDRESS_KIND and MPI_OFFSET_KIND (OSX 10.6; gcc, g95, openmpi-1.4.5.)
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-03-05 09:09:32

Can you use gfortran instead? I don't think we've tested with g95 in years (if ever).

Yes, you can manually edit mpif-config.h, if you need to. I'm guessing that OMPI's configure script got the wrong answer from g95, and therefore put in a 0 for those values. I don't know if we want to support that ancient compiler; so upgrading to a new compiler or manually editing mpif-config.h might be your best bet. (but if you manually edit, I hope there's no other as-yet-undiscovered dragons awaiting you around the corner...)

On Mar 3, 2012, at 1:56 PM, Anthony Rollett wrote:

> Greetings - I am able to configure and install 1.4.5 with fortran support. However, when I try to use MPI_ADDRESS_KIND and MPI_OFFSET_KIND, I find that mpif-config.h has these parameters set to 0 (and I get compiler errors). Is there a way to configure and have these be non-zero? Is it safe to manually edit mpif-config.h?! Obviously I can supply more details, but even a hint a two will probably allow me to solve this one.
> Thanks, Tony Rollett.
> PS: I used ./configure --prefix=/Users/Shared/openmpi-1.4.5 CC=gcc F77=g95
> F90=g95 CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64
> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
> _______________________________________________
> users mailing list
> users_at_[hidden]

Jeff Squyres
For corporate legal information go to: