[MPIWG Fortran] What is BIND(C)?
Junchao Zhang
jczhang at mcs.anl.gov
Wed Feb 5 11:42:28 CST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20140205/9a2bc9bb/attachment.html>
More information about the mpiwg-fortran
mailing list