[MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind
Jeff Squyres (jsquyres)
jsquyres at cisco.com
Tue Feb 26 12:04:09 CST 2013
On Feb 26, 2013, at 11:27 AM, Bill Long <longb at cray.com> wrote:
> In particular, the C function is not using _Bool. It would seem to be more consistent for the Fortran interface to specify the argument as
>
> INTEGER :: FLAG
>
> or, better
>
> INTEGER(c_int) :: FLAG.
FWIW, the MPI Fortran interfaces have always used LOGICAL for boolean values, not INTEGER. It would be weird to change them now.
--
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
More information about the mpiwg-fortran
mailing list