On Jun 12, 2014, at 2:22 PM, Jeff Squyres (jsquyres) <[email protected]> wrote:
On Jun 10, 2014, at 4:55 PM, William Gropp <[email protected]> wrote:
On SIZEOF, the language in the standard for the argument is
a Fortran variable of numeric intrinsic type (choice)
[snip] Thus, I believe that MPI_SIZEOF has the same choice parameter requirements of the communication routines such as MPI_SEND.
Quick question on this: (I don't think any of us disagree -- this language includes both scalars and arrays) Does this include logicals and characters? The language says *numeric* intrinsic type.
The Fortran language is unambiguous on this issue: "Each intrinsic type is classified as a numeric type or a nonnumeric type. The numeric types are integer, real, and complex. The nonnumeric intrinsic types are character and logical." I assumed that is what was meant here. Cheers, Bill
Technically, a character and a logical have numerical values, but that's not how they're generally used.
Bill: do you remember the intent of the word "numeric" here?
-- Jeff Squyres [email protected] For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
Bill Long [email protected] Fortran Technical Suport & voice: 651-605-9024 Bioinformatics Software Development fax: 651-605-9142 Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101