[MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind

Bill Long longb at cray.com
Tue Feb 26 16:18:07 CST 2013


TS 29113 says nothing new about type LOGICAL arguments.   They are 
covered in the base F2008 standard.

Cheers,
Bill

On 2/26/13 4:05 PM, Rolf Rabenseifner wrote:
> Is TS 29113 changing something in this case?
> I.e., does TS 29113 allow LOGICAL dummy arguments in BIND(C) subroutines?
>
> Rolf
>
> ----- Original Message -----
>> From: "Jeff Squyres (jsquyres)" <jsquyres at cisco.com>
>> To: "<longb at cray.com>" <longb at cray.com>, "MPI-3 Fortran working group" <mpi3-fortran at lists.mpi-forum.org>
>> Sent: Tuesday, February 26, 2013 7:04:09 PM
>> Subject: Re: [MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind
>> 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/
>>
>>
>> _______________________________________________
>> mpi3-fortran mailing list
>> mpi3-fortran at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran
>

-- 
Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101





More information about the mpiwg-fortran mailing list