[MPI3 Fortran] Specify IN/OUT/INOUT in MPI spec?
alexander.supalov at intel.com
Thu May 28 12:39:02 CDT 2009
Note that count size matter in particular is being addressed in another proposal that is currently C-centric. See MPI ticket #117, most likely targeted to MPI-3 now.
From: mpi3-fortran-bounces at lists.mpi-forum.org [mailto:mpi3-fortran-bounces at lists.mpi-forum.org] On Behalf Of Bill Long
Sent: Thursday, May 28, 2009 7:34 PM
To: MPI-3 Fortran working group
Subject: Re: [MPI3 Fortran] Specify IN/OUT/INOUT in MPI spec?
Lionel, Steve wrote:
> That's fine - I was just doing this for a formatting example. I agree that different named constants for KIND values makes sense here. I'd take a lead from the C binding to see if it had different typedefs for the integer kinds.
I think the C binding could use some improvements first before following
their lead. It is pretty out of date. For example...
> Please, no! If we are going to use KIND, let it be done properly. There
> needs to be a set of KINDs, because you have at least three different uses
> of integers there.
> I would tend to split them into counts (i.e. COUNT), handles (i.e. DATATYPE
> and COMM) and smallish integers (i.e. DEST, TAG and IERROR). But another
> division might be better.
I agree. The idea of using int for a buffer size is incompatible with
arrays > 4GB. It should be size_t instead. Some sort of rework, along
the lines Nick suggests, should be done for both the C and Fortran
bindings. In the end they should match.
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
mpi3-fortran mailing list
mpi3-fortran at lists.mpi-forum.org
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