Skip to content

Commit 0ab61c9

Browse files
committed
fortran/use-mpi-f08: remove unused references to OMPI_PROTECTED
Signed-off-by: Gilles Gouaillardet <[email protected]> (back-ported from commit open-mpi/ompi@df6d763)
1 parent 23ed2f4 commit 0ab61c9

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

config/ompi_setup_mpi_fortran.m4

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ dnl Copyright (c) 2006-2008 Sun Microsystems, Inc. All rights reserved.
1515
dnl Copyright (c) 2006-2007 Los Alamos National Security, LLC. All rights
1616
dnl reserved.
1717
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
18-
dnl Copyright (c) 2014-2017 Research Organization for Information Science
19-
dnl and Technology (RIST). All rights reserved.
18+
dnl Copyright (c) 2014-2019 Research Organization for Information Science
19+
dnl and Technology (RIST). All rights reserved.
2020
dnl Copyright (c) 2016 IBM Corporation. All rights reserved.
2121
dnl $COPYRIGHT$
2222
dnl
@@ -743,8 +743,7 @@ end type test_mpi_handle],
743743
[$OMPI_FORTRAN_HAVE_PRIVATE],
744744
[For mpi-f08-types.f90 and ompi_info: whether the compiler supports the "private" keyword or not (used in MPI_Status)])
745745

746-
# For configure-fortran-output.h, mpi-f08-types.F90 (and ompi_info)
747-
AC_SUBST([OMPI_FORTRAN_HAVE_PROTECTED])
746+
# For ompi_info only
748747
AC_DEFINE_UNQUOTED([OMPI_FORTRAN_HAVE_PROTECTED],
749748
[$OMPI_FORTRAN_HAVE_PROTECTED],
750749
[For mpi-f08-types.f90 and .F90 and ompi_info: whether the compiler supports the "protected" keyword or not])

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

Lines changed: 2 additions & 7 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) 2019 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
68
!
79
! $COPYRIGHT$
810
!
@@ -38,11 +40,4 @@
3840
#define OMPI_PRIVATE
3941
#endif
4042
41-
! PROTECTED or not
42-
#if OMPI_FORTRAN_HAVE_PROTECTED
43-
#define OMPI_PROTECTED , PROTECTED
44-
#else
45-
#define OMPI_PROTECTED
46-
#endif
47-
4843
#endif

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +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) 2017-2018 Research Organization for Information Science
7-
! and Technology (RIST). All rights reserved.
6+
! Copyright (c) 2017-2019 Research Organization for Information Science
7+
! and Technology (RIST). All rights reserved.
88
!
99
! $COPYRIGHT$
1010
!
@@ -25,9 +25,6 @@
2525
! Whether we have PRIVATE or not
2626
#define OMPI_FORTRAN_HAVE_PRIVATE @OMPI_FORTRAN_HAVE_PRIVATE@
2727
28-
! Whether we have PROTECTED or not
29-
#define OMPI_FORTRAN_HAVE_PROTECTED @OMPI_FORTRAN_HAVE_PROTECTED@
30-
3128
! Whether we have ABSTRACT or not
3229
#define OMPI_FORTRAN_HAVE_ABSTRACT @OMPI_FORTRAN_HAVE_ABSTRACT@
3330

0 commit comments

Comments
 (0)