[MPI3 Fortran] Deprecate mpif.h?

Supalov, Alexander alexander.supalov at intel.com
Tue Mar 9 12:42:16 CST 2010

Thanks. I'd be very interested in seeing the descriptor document.

The memcpy is not difficult. Making it fast all the time is. :)

-----Original Message-----
From: mpi3-fortran-bounces at lists.mpi-forum.org [mailto:mpi3-fortran-bounces at lists.mpi-forum.org] On Behalf Of Craig Rasmussen
Sent: Tuesday, March 09, 2010 7:30 PM
To: MPI-3 Fortran working group
Subject: Re: [MPI3 Fortran] Deprecate mpif.h?

On Mar 9, 2010, at 10:52 AM, Supalov, Alexander wrote:

> Hi,
> Thanks. Any MPI implementation probably has a noncontig-to-contig  
> copy already; also, there's probably a few trickier functions in the  
> MPI than the memcpy; I'd suggest we let the implementors do the  
> right thing here.

Good.  I didn't expect that the copy would be all that difficult and  
could probably make use of existing software.

> What is interesting to learn is what kind of representation will be  
> chosen for the array descriptors, and whether it will be more or  
> less standard across different compilers.

Yes, the descriptor seen from C will be standard across compilers.   
The design is currently open but I can send you a document that will  
give you the flavor of where we are heading.

> If it won't, I'll be interested in seeing an estimate how easy it  
> will be to support several Fortran compilers at once. Note that  
> compilers are often changing their conventions (see GNU, for one),  
> which adds an extra dimension to this already complicated matter.

It is likely that GNU will just adopt the interoperability header to  
make their life simpler.  This means they won't have to copy to/from  
different descriptors that cross BIND(C) interfaces.

> Finally, if an array section is passed, and its array descriptor is  
> available, what will the MPI datatype argument do there? It looks  
> almost superfluous to me in the new Fortran binding, at least in  
> this case.

I've been assuming that array sections would only be used for  
primitive MPI_Types.  The case of array sections and user-defined  
types makes my head spin.  I'll have to think about it further.


mpi3-fortran mailing list
mpi3-fortran at lists.mpi-forum.org
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the mpiwg-fortran mailing list