[MPIWG Fortran] What is BIND(C)?

Jeff Squyres (jsquyres) jsquyres at cisco.com
Thu Feb 6 05:00:59 CST 2014


Fixed; thanks.

On Feb 5, 2014, at 12:42 PM, Junchao Zhang <jczhang at mcs.anl.gov> wrote:

> Hello, 
>   I have a naive question. MPI3 has Fortran binding in forms like this:
> 
>       MPI_Send(buf, count, datatype, dest, tag, comm, ierror) BIND(C)
>          TYPE(*), DIMENSION(..), INTENT(IN) :: buf
>           INTEGER, INTENT(IN) :: count, dest, tag
>           ...
> 
>    So how to interpret BIND(C) here?  Is it to say this interface is interoperable with C? But I find the interface arguments are not interoperable, e.g., INTEGER, instead of C_INT.
>    Thank you.
> 
> --Junchao Zhang
> _______________________________________________
> mpiwg-fortran mailing list
> mpiwg-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran


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