Re: [MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind
Good. Then the very short summary should be okay: Due to the 22 routines with LEN=*, BIND(C) on the MPI API level should be fully removed. BIND(C) makes sense only on this internal interface, which should be optional. Best regards and happy easter Rolf ----- Original Message -----
From: "Tobias Burnus" <[email protected]> To: "Rolf Rabenseifner" <[email protected]> Cc: "MPI-3 Fortran working group" <[email protected]>, [email protected], "Craig Rasmussen" <[email protected]>, "Hubert Ritzdorf" <[email protected]>, "Martin Schulz" <[email protected]>, "Jeff Squyres (jsquyres)" <[email protected]> Sent: Thursday, March 28, 2013 8:15:45 PM Subject: Re: [MPI3 Fortran] [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind Rolf Rabenseifner wrote:
Can I summarize your analysis to: - 2 routines with CHARACTER(LEN=*),INTENT(OUT) arguments These routines works with non-BIND(C) and BIND(C), because the application must provide a string-buffer that is large enough.
Except that LEN=* is not permitted with Bind(C), either. For Bind(C), using CHARACTER(len=1),dimension(*) would be fine, though.
Tobias
-- 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