Skip to content

Commit c2bb270

Browse files
authored
Merge pull request #5102 from ggouaillardet/topic/v2.x/use-mpi-tkr-sizeof
fortran: build MPI_Sizeof() interface in use-mpi-tkr bindings
2 parents 0c5c33f + aaaf21d commit c2bb270

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ompi/mpi/fortran/configure-fortran-output.h.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
! Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
44
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
55
! All rights reserved.
6+
! Copyright (c) 2018 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
68
!
79
! $COPYRIGHT$
810
!
@@ -47,6 +49,8 @@
4749
! Line 2 of the ignore TKR syntax
4850
#define OMPI_FORTRAN_IGNORE_TKR_TYPE @OMPI_FORTRAN_IGNORE_TKR_TYPE@
4951

52+
53+
#define OMPI_FORTRAN_BUILD_SIZEOF @OMPI_FORTRAN_BUILD_SIZEOF@
5054
! Integers
5155

5256
#define OMPI_HAVE_FORTRAN_INTEGER1 @OMPI_HAVE_FORTRAN_INTEGER1@

ompi/mpi/fortran/use-mpi-tkr/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ if BUILD_FORTRAN_SIZEOF
8585
nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES += \
8686
mpi-tkr-sizeof.h \
8787
mpi-tkr-sizeof.f90
88+
89+
mpi.lo: mpi-tkr-sizeof.h
8890
endif
8991

9092
# Note that we invoke some OPAL functions directly in

0 commit comments

Comments
 (0)