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

Jeff Squyres (jsquyres) jsquyres at cisco.com
Wed Mar 20 08:26:34 CDT 2013


On Mar 20, 2013, at 6:25 AM, Bill Long <longb at cray.com> wrote:

> interface  !--> MPI_Test
> 
>   !     int MPI_Test(MPI_Request *request, int *flag, MPI_Status *status);
> 
>   Function MPI_Test_C( request, flag, status) &
>               BIND(C, name="MPI_Test") RESULT (res)
>     import :: C_request, c_int, MPI_Status_C
>     integer(C_request) :: request

This is not correct.  You cannot assume that MPI handles are integers (they're pointers in Open MPI).

-- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/





More information about the mpiwg-fortran mailing list