[MPI3 Fortran] Results of San Jose Forum meeting

Rolf Rabenseifner rabenseifner at hlrs.de
Sat Mar 13 01:18:40 CST 2010


Hi,

a short question: If an MPI library implementation declares the
MPI routines as bind C, is then the internal call mechanism
standardized?
Or identical with all C compilers because the handle call by
reference for integers and structurs identical? 

Best regards
Rolf

----- "Aleksandar Donev" <adonev at lbl.gov> wrote:

> Hi,
> 
> > I hope that these citations are correct in relation to the official
> > Fortran 2003 standard.
> Sure, it all is more or less right.
> 
> > Based on this, for use mpi and use mpi3, only one identical
> > backend (written in C) should be necessary.
> OK, fine, but that is not implied by the words you quoted. For
> example, 
> it is perfectly possible (plausible) for an integer and a struct to be
> 
> passed differently (e.g., integer goes in register, the struct on the
> 
> stack), and adding SEQUENCE does nothing to change that. If you are 
> relying on some "backend" (meaning, really, ABI) property, say so, do
> 
> not pretend that the Fortran standard guarantees something it does
> not.
> 
> This is not to say that it will not be possible to still use one
> backend 
> even if the interface says TYPE(MPI_Comm) instead of INTEGER---but
> that 
> is outside the scope of the Fortran standard. One should instead look
> at 
> ABIs and conventions compilers use to pass such arguments around.
> 
> Best,
> Aleks
> _______________________________________________
> mpi3-fortran mailing list
> mpi3-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran

-- 
Dr. Rolf Rabenseifner . . . . . . . . . .. email rabenseifner at hlrs.de
High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530
University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832
Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner
Nobelstr. 19, D-70550 Stuttgart, Germany . (Office: Allmandring 30)



More information about the mpiwg-fortran mailing list