Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Prototypes for Fortran MPI_ commands using 64-bit indexing
From: Jim Parker (jimparker96313_at_[hidden])
Date: 2013-12-11 11:19:05

  Per George's recommendation, I found the following definition of

#define ompi_fortran_integer_t long long

My application is working fine with the MPI_STATUS_IGNORE flag set


On Tue, Nov 12, 2013 at 3:42 AM, George Bosilca <bosilca_at_[hidden]> wrote:

> On Nov 12, 2013, at 00:38 , Jeff Squyres (jsquyres) <jsquyres_at_[hidden]>
> wrote:
> > 2. In the 64 bit case, you'll have a difficult time extracting the MPI
> status values from the 8-byte INTEGERs in the status array in Fortran
> (because the first 2 of 3 each really be 2 4-byte integers).
> My understanding is that in Fortran explicitly types variables will retain
> their expected size. Thus, instead of declaring
> one should go for
> This should make it work right now. However, it is a non-standard
> solution, and we should fix the status handling internally in Open MPI.
> Looking at the code I think that correctly detecting the type of our
> ompi_fortran_integer_t during configure (which should be a breeze if the
> correct flags are passed) should solve all issues here as we are protecting
> the status conversion between C and Fortran.
> Jim, can you go in the include directory on your Open MPI installation and
> grep for the definition of ompi_fortran_integer_t please.
> George.
> _______________________________________________
> users mailing list
> users_at_[hidden]