1
1
openmpi/ompi/mpi/fortran
Jeff Squyres 65b95e2844 mpi_f08: pass function pointers from Fortran to C properly
Use type(c_funptr) to "cast" the fortran function pointers to
arbitrary C pointers.  In C, we then pick up the appropriate function
pointer type.

Tested with ifort 14.0.2 and gfortran 4.9 snapshot (which is what
identified that the previous method of passing function pointers was
not Fortran'08-compliant).

Refs trac:4157

This commit was SVN r31371.

The following Trac tickets were found above:
  Ticket 4157 --> https://svn.open-mpi.org/trac/ompi/ticket/4157
2014-04-11 20:56:11 +00:00
..
base mpi_f08: Fix param name and string length for MPI_GET_LIBRARY_VERSION 2014-04-10 14:45:36 +00:00
mpiext == Highlights == 2012-04-18 15:57:29 +00:00
mpif-h build: add Automake-like silent/verbose macros for "ln -s ..." operations 2014-03-28 18:24:32 +00:00
use-mpi-f08 mpi_f08: pass function pointers from Fortran to C properly 2014-04-11 20:56:11 +00:00
use-mpi-f08-desc r30519 (and the associated CMR #4209) left out fixing 2014-02-03 16:55:33 +00:00
use-mpi-ignore-tkr osc: add fortran bindings for new RMA function 2014-03-11 23:02:27 +00:00
use-mpi-tkr MPI-3: Add missing MPI_Comm_get|set_info functions 2014-03-27 21:41:59 +00:00
c_to_integer_kind_mapping.pdf Add a PDF of the C to Fortran type mapping, taken from the Fortran 2012-04-18 22:50:35 +00:00
configure-fortran-output-bottom.h Make the use of PROTECTED in the mpi_f08 module be optional. 2014-01-13 18:35:42 +00:00
configure-fortran-output.h.in Make the use of PROTECTED in the mpi_f08 module be optional. 2014-01-13 18:35:42 +00:00