Re: [MPIWG Fortran] What is BIND(C)?
When I clicked v1.7.4, I got http://www.open-mpi.org/404.php -- OMG, 404 not found :) But never mind, I use SVN to check out OMPI. --Junchao Zhang On Wed, Feb 5, 2014 at 4:50 PM, Jeff Squyres (jsquyres) <[email protected]>wrote:
If you care, OMPI v1.7.4 was (literally) just released; you can look at the official 1.7.4 tarball.
On Feb 5, 2014, at 5:47 PM, Junchao Zhang <[email protected]> wrote:
Thanks, Jeff. Definitely, I will have a look at OMPI mpi_f08.
--Junchao Zhang
On Wed, Feb 5, 2014 at 12:02 PM, Jeff Squyres (jsquyres) < [email protected]> wrote: ...but be careful. We didn't get rid of *all* the BIND(C)'s.
If you care, the most recent OMPI 1.7 and SVN trunk nightly tarballs have the most correct/most-bug-fixed implementation of the mpi_f08 module available (soon to be released as OMPI 1.7.4). You'll need to build with a non-gfortran compiler to get the mpi_f08 module built (e.g., the Intel fortran compiler).
On Feb 5, 2014, at 12:46 PM, Rolf Rabenseifner <[email protected]> wrote:
Hello,
The BIND(C) was removed in the latest errata, see http://www.mpi-forum.org/docs/docs.html and http://www.mpi-forum.org/docs/mpi-3.0/errata-30.pdf page 1 lines 21-27
Best regards Rolf Rabenseifner
----- Original Message -----
From: "Junchao Zhang" <[email protected]> To: [email protected] Sent: Wednesday, February 5, 2014 6:42:28 PM Subject: [MPIWG Fortran] What is BIND(C)?
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 [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
-- Dr. Rolf Rabenseifner . . . . . . . . . .. email [email protected] 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) _______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
-- Jeff Squyres [email protected] For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
_______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
-- Jeff Squyres [email protected] For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
participants (1)
-
Junchao Zhang