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

Rolf Rabenseifner rabenseifner at hlrs.de
Thu Mar 28 14:19:38 CDT 2013


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" <burnus at net-b.de>
> To: "Rolf Rabenseifner" <rabenseifner at hlrs.de>
> Cc: "MPI-3 Fortran working group" <mpi3-fortran at lists.mpi-forum.org>, longb at cray.com, "Craig Rasmussen"
> <rasmus at cas.uoregon.edu>, "Hubert Ritzdorf" <Hubert.Ritzdorf at emea.nec.com>, "Martin Schulz" <schulzm at llnl.gov>, "Jeff
> Squyres (jsquyres)" <jsquyres at cisco.com>
> 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 rabenseifner at hlrs.de
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)



More information about the mpiwg-fortran mailing list