Re: [MPI3 Fortran] Non-contiguous arrays (was Re: Argument datasizes)
Hi, I don't think taking advanced interface discussion to another list will help that interface in the end. However beautiful the result will be, until it's blessed by the Forum, it'll have fundamental handicap. If that's practicable, it would be better to draw the OOMPI and Boost MPI C++ into the fold and finally drive into the standard something that looks like a good C++ interface for MPI. Same with Fortran. Best regards. Alexander -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Craig Rasmussen Sent: Friday, September 19, 2008 5:25 PM To: MPI-3 Fortran working group Subject: Re: [MPI3 Fortran] Non-contiguous arrays (was Re: Argument datasizes) On Sep 18, 2008, at 11:40 AM, Aleksandar Donev wrote:
On Thursday 18 September 2008 10:28, Iain Bason wrote:
Didn't this come up in another thread? Yes :-) In Fortran, you can use assumed shape arrays to pass these sorts of data without copying. It would be nice if MPI could take advantage of that in order to make life easier for Fortran programmers. It can, after we publish the Interop TR currently being worked on by J3. It would allow for declarations such as:
TYPE(*), DIMENSION(..) :: buffer
which would pass an array descriptor for buffer that can then be parsed even by third-party libraries and a copy avoided. This would, however, as Jeff said, be new *functionality* that we would be adding on top of the base MPI standard. As such, it should probably be in addition or on top of the basic Fortran binding which merely translates the MPI standard.
Jeff Squyres and I also had a long talk about a higher-level MPI API for Fortran. I think this is a good thing to consider and I'm interesting in helping to write a reference implementation. However, it is really outside of the scope of this committee. Our current goal is to provide new Fortran bindings that resolve problems with the current Fortran bindings, but in doing so, don't stray too far off from the MPI spec. However, regarding high-level Fortran interfaces, I'm planning on scheduling a teleconference with Douglas Gregor who in involved with the Boost MPI C++ library. I announce more details when I get it set up. If needs be we can take discussion of this high-level interface to another email group. Cheers, Craig _______________________________________________ mpi3-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran --------------------------------------------------------------------- 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.
participants (1)
-
Supalov, Alexander