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

Bill Long longb at cray.com
Fri Mar 1 15:56:47 CST 2013



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





More information about the mpiwg-fortran mailing list