1
1
openmpi/ompi/mpi
Jeff Squyres 0089ac20af Fortran: put type(c_ptr) interfaces in a separate file in the TKR mpi module
Older gfortran compilers (e.g., the gfortran that ships in RHEL5) do
not support ISO_C_BINDING, and therefore do not support the
TYPE(C_PTR) type.  As such, they cannot support the overloaded
interfaces for MPI_WIN_ALLOCATE_SHARED and MPI_SHARED_QUERY that are
mandated in MPI-3.

So we separate those interfaces out into a separate .F90 file that is
#include'd in the tkr mpi.F90 file.  In this separate .F90 file, we
use an #if to determine whether the compiler supports ISO_C_BINDING or
not.

Also re-jiggered the order of testing in ompi_setup_mpi_fortran.m4: we
now need to test whether the compiler supports ISO_C_BINDING even when
we're only building the mpi module (not strictly when we're building
the mpi_f08 module).

Finally, tweaked the use-mpi-tkr/Makefile.am to:

* Add some proper dependencies for mpi.F90
* Allow the general AM compilation to be used instead of supplying a
  specific rule for compiling mpi.F90

cmr=v1.8.2:ticket=trac:4736

This commit was SVN r32204.

The following Trac tickets were found above:
  Ticket 4736 --> https://svn.open-mpi.org/trac/ompi/ticket/4736
2014-07-10 19:10:03 +00:00
..
c Correct trivial typos in man files and FUNC_NAME variables. 2014-07-10 01:47:23 +00:00
cxx Fix longstanding issue with our multi-project support. Rather than using 2014-01-07 22:11:15 +00:00
fortran Fortran: put type(c_ptr) interfaces in a separate file in the TKR mpi module 2014-07-10 19:10:03 +00:00
java Java - slice methods: set buffer limit to its capacity before change its position 2014-06-03 21:32:27 +00:00
man/man3 Correct trivial typos in man files and FUNC_NAME variables. 2014-07-10 01:47:23 +00:00
tool mpit: update the return code check for mca_base_var_get 2014-07-08 21:17:47 +00:00
help-mpi-api.txt LANL noticed that calling MPI_ABORT invokes opal_output(0, ...) 2008-10-14 19:23:03 +00:00
Makefile.am Fix longstanding issue with our multi-project support. Rather than using 2014-01-07 22:11:15 +00:00