Re: [MPIWG Fortran] MPI_SIZEOF: Errata required (was: Another MPI_SIZEOF question)
Bill, Yes, you are right, I oversaw the advice to users; my apologies. Rolf ----- Original Message -----
From: "William Gropp" <[email protected]> To: "MPI-WG Fortran working group" <[email protected]> Sent: Saturday, June 14, 2014 6:31:39 AM Subject: Re: [MPIWG Fortran] MPI_SIZEOF: Errata required (was: Another MPI_SIZEOF question)
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.
_______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
-- Dr. Rolf Rabenseifner . . . . . . . . . .. email [email protected] High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530 University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832 Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner Nobelstr. 19, D-70550 Stuttgart, Germany . . . . (Office: Room 1.307)
participants (1)
-
Rolf Rabenseifner