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

Rolf Rabenseifner rabenseifner at hlrs.de
Sun Mar 3 04:28:47 CST 2013


We used BIND(C) in the definition of MPI "opaque types".

  type, BIND(C) :: MPI_xxxx
> INTEGER :: MPI_VAL
> end type MPI_xxxx

and not 
> type MPI_xxxx

Therefore, I expect that there is only the known problem based
on the interoperability of INTEGER, but no additional problems
based on the use of the derived type construct.

Rolf

----- Original Message -----
> From: "Bill Long" <longb at cray.com>
> To: "MPI-3 Fortran working group" <mpi3-fortran at lists.mpi-forum.org>
> Sent: Friday, March 1, 2013 10:56:47 PM
> Subject: Re: [MPI3 Fortran] Fwd: [Mpi-comments] MPI 3.0: Fortran 2008 interface - issue with the LOGICAL kind
> On 3/1/13 3:20 PM, N.M. Maclaren wrote:
> >
> >> TYPE(MPI_Comm) [checked above]
> >> TYPE(MPI_Comm), ASYNCHRONOUS
> >
> > See (D) below.
> 
> >>   D) These are opaque types, and I don't see a problem.
> 
> No, they are not opaque. See 2.5.1 Opaque Objects (pages 12-13). These
> types are all defined in the MPI spec as
> 
> type MPI_xxxx
> INTEGER :: MPI_VAL
> end type MPI_xxxx
> 
> where the component is required to be default INTEGER. So, the
> problems
> associated with default INTEGER are still there. The only thing these
> types do is provide alternate types for the arguments for the purpose
> of
> type-checking between the calls and the interfaces.
> 
> Cheers,
> Bill
> 
> 
> --
> 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
> 
> 
> _______________________________________________
> mpi3-fortran mailing list
> mpi3-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran

-- 
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