[MPIWG Fortran] MPI_STATUS_SIZE: Why only in Fortran?

Jeff Squyres (jsquyres) jsquyres at cisco.com
Tue Sep 8 13:46:09 CDT 2020

On Sep 8, 2020, at 2:15 PM, Rolf Rabenseifner <rabenseifner at hlrs.de<mailto:rabenseifner at hlrs.de>> wrote:

I just updated the header-text in https://github.com/mpi-forum/mpi-issues/issues/306

MPI 3.x: p704:13-xx (still to be done: list with the new C constants after the list for Fortran)
MPI 4.x: p774:13-xx (still to be done: list with the new C constants after the list for Fortran)

Thanks Rolf.  I see you also fixed a copy-n-paste error I had for the MPI-3.x pages; thanks.

Text in the new C table header may be something like (see also my previous email,
but I removed the hint to mpif.h and mpi module, because the Fortran constants
must be provided also in the mpi_f08 module)

Fortran status array size and reserved index values (C only)
(in C only to specify a Fortran status array and indexes into such an array.
The values of Fortran MPI_STATUS_SIZE and C MPI_F_STATUS_SIZE are identical,
whereas the indexes in C are 1 less than in Fortran to reflect that
arrays in Fortran start by default with index 1 whereas in C with index 0)

I don't think we need this text -- these values are explained in the chapter text.  Plus, we don't have such explanation text in other annex A tables.


C type: int

Additionally, I would change the Fortran header in the original table
Status array size and reserved index values (Fortran only)
Status array size and reserved index values (Fortran only)

These two lines are identical... did you mean to make a change on the 2nd line?

Please, do not forget to add also Annex A.1.1 in the list in the changelog.

Changelog: please keep in mind, that for errata (see older erratas),
we also cite the previous standard, to which the change applies,
i.e., additionally

Sections 2.5.4, 18.2.5 and A.1.1 on pages 15, 758 and 771, and
MPI-3.1 Sections 2.5.4, 17.2.5 and A.1.1 on pages 15, 656 and 669.
Defi ne the C constants MPI_F_STATUS_SIZE, MPI_F_SOURCE, MPI_F_TAG, and

Done everything except the title line of both tables in Annex A.

The 4.0 PDF is attached; I'll hold off on the 3.x PDF and updating both PRs until you let me know what you wanted done with those table headings.

Jeff Squyres
jsquyres at cisco.com<mailto:jsquyres at cisco.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20200908/d2b165a7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpi-report.pdf
Type: application/pdf
Size: 3289757 bytes
Desc: mpi-report.pdf
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20200908/d2b165a7/attachment-0001.pdf>

More information about the mpiwg-fortran mailing list