Skip to content

Commit a408c59

Browse files
authored
Merge pull request #5101 from ggouaillardet/topic/v3.0.x/use-mpi-tkr-sizeof
fortran: build MPI_Sizeof() interface in use-mpi-tkr bindings
2 parents e327deb + 613bab5 commit a408c59

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# University of Stuttgart. All rights reserved.
1111
# Copyright (c) 2004-2005 The Regents of the University of California.
1212
# All rights reserved.
13-
# Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
13+
# Copyright (c) 2006-2018 Cisco Systems, Inc. All rights reserved
1414
# Copyright (c) 2007 Los Alamos National Security, LLC. All rights
1515
# reserved.
1616
# Copyright (c) 2014-2016 Research Organization for Information Science
@@ -90,6 +90,7 @@ nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES += \
9090
mpi-tkr-sizeof.h \
9191
mpi-tkr-sizeof.f90
9292
endif
93+
mpi.lo: $(nodist_lib@OMPI_LIBMPI_NAME@_usempi_la_SOURCES)
9394

9495
# Note that we invoke some OPAL functions directly in
9596
# libmpi_usempi.la, so we need to link in the OPAL library directly

0 commit comments

Comments
 (0)