[MPIWG Fortran] MPI_SIZEOF: Errata required (was: Another MPI_SIZEOF question)

William Gropp wgropp at illinois.edu
Fri Jun 13 23:31:39 CDT 2014


But the advice to users that follows it specifically describes what happens when an array, rather than a scalar, is passed, and this advice appears at the time of the original definition, in MPI 2.0.  From that, it is clear that the *intent* of the Forum was to permit arrays to be passed to MPI_SIZEOF; otherwise, this text would never have been written.

So I'll agree that the interface hasn't changed - it has *always* permitted an array as an argument.

Bill

William Gropp
Director, Parallel Computing Institute
Thomas M. Siebel Chair in Computer Science
University of Illinois Urbana-Champaign





On Jun 13, 2014, at 10:32 AM, Rolf Rabenseifner wrote:

> Back to MPI_SIZEOF in mpif.h:
> 
> A few clarifications:
> 
> 1) The interface of Argument x was not changed between 
>   MPI-2.0, 2.1, 2.2 and MPI-3.0:
>   It is always "<type> x" for mpif.h, i.e., without a dimension.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20140614/c771dcdf/attachment-0001.html>


More information about the mpiwg-fortran mailing list