1
1
openmpi/ompi/include
Gilles Gouaillardet 23ed2f44a2 fortran/use-mpi-f08: revamp constant declarations
In order to work around an issue with flang based compilers,
avoid declaring bind(C) constants and use plain Fortran parameter
instead.

For example,
type(MPI_Comm), bind(C, name="ompi_f08_mpi_comm_world") OMPI_PROTECTED :: MPI_COMM_WORLD
is changed to
type(MPI_Comm), parameter :: MPI_COMM_WORLD = MPI_Comm(OMPI_MPI_COMM_WORLD)

Note that in order to preserve ABI compatibility, ompi/mpi/fortran/use-mpi-f08/constants.{c,h}
have been kept even if its symbols are no more referenced by Open MPI.

Refs. open-mpi/ompi#7091

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>

(back-ported from commit open-mpi/ompi@b10a60a5a9)
2019-11-06 10:10:18 +09:00
..
ompi Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
Makefile.am Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
mpi.h.in mpi: mark MPI_COMBINER_{HVECTOR,HINDEXED,STRUCT}_INTEGER removed 2019-05-01 10:50:57 +09:00
mpif-config.h.in ompi/fortran: remove proof-of-concept mpi_f08 module 2017-08-10 06:19:17 -07:00
mpif-externals.h mpif-externals.h: add missing MPI_AINT_ADD/MPI_AINT_DIFF 2017-04-22 08:57:54 -07:00
mpif-sentinels.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
mpif-values.pl fortran/use-mpi-f08: revamp constant declarations 2019-11-06 10:10:18 +09:00
mpif.h.in configury: remove the --disable-mpi-io option 2017-09-20 14:39:09 +09:00
ompi_config.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00