Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Configure MPI_ADDRESS_KIND and MPI_OFFSET_KIND (OSX 10.6; gcc, g95, openmpi-1.4.5.)
From: Anthony Rollett (rollett_at_[hidden])
Date: 2012-03-06 05:08:19

Yes, I can, and I did use gfortran, and that fixed the problem. No need to edit mpif-config.h. Moreover the program of interest compiled quite happily. Thank you very much indeed. Did not realize that g95 was an outdated package. I can only think that I once had a problem with gfortran and tried g95 as a work-around.

On Mar 5, 2012, at 3:09 PM, Jeffrey Squyres wrote:

> 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
> jsquyres_at_[hidden]
> For corporate legal information go to:
> _______________________________________________
> users mailing list
> users_at_[hidden]