Skip to content

Commit e518a7c

Browse files
ggouaillardetjsquyres
authored andcommitted
configury: enable Fortran 2008 subarray prototype
so Open MPI can be configure'd with --enable-mpi-f08-subarray-prototype Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit 344f000)
1 parent a8c2cb7 commit e518a7c

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

config/ompi_configure_options.m4

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnl Copyright (c) 2009 Los Alamos National Security, LLC. All rights
1717
dnl reserved.
1818
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
1919
dnl Copyright (c) 2013 Intel, Inc. All rights reserved.
20-
dnl Copyright (c) 2015-2016 Research Organization for Information Science
20+
dnl Copyright (c) 2015-2017 Research Organization for Information Science
2121
dnl and Technology (RIST). All rights reserved.
2222
dnl
2323
dnl $COPYRIGHT$
@@ -244,11 +244,7 @@ OMPI_BUILD_FORTRAN_F08_SUBARRAYS=0
244244
AS_IF([test $OMPI_TRY_FORTRAN_BINDINGS -lt $OMPI_FORTRAN_USEMPIF08_BINDINGS],
245245
[AC_MSG_RESULT([none (use mpi_f08 disabled)])],
246246
[AS_IF([test "$enable_mpi_f08_subarray_prototype" = "yes"],
247-
[OMPI_BUILD_FORTRAN_F08_SUBARRAYS=1
248-
AC_MSG_RESULT([extra crispy (subarray prototype)])
249-
AC_MSG_WARN([Sorry, the subarray prototype is no longer available])
250-
AC_MSG_WARN([Contact your favorite OMPI developer and ask for it to be re-enabled])
251-
AC_MSG_ERROR([Cannot continue])],
247+
[OMPI_BUILD_FORTRAN_F08_SUBARRAYS=1],
252248
[AC_MSG_RESULT([regular (no subarray support)])])
253249
])
254250
AC_DEFINE_UNQUOTED([OMPI_BUILD_FORTRAN_F08_SUBARRAYS],

config/ompi_ext.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dnl University Research and Technology
55
dnl Corporation. All rights reserved.
66
dnl Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
77
dnl Copyright (c) 2011-2012 Oak Ridge National Labs. All rights reserved.
8-
dnl Copyright (c) 2015 Research Organization for Information Science
8+
dnl Copyright (c) 2015-2017 Research Organization for Information Science
99
dnl and Technology (RIST). All rights reserved.
1010
dnl $COPYRIGHT$
1111
dnl
@@ -213,8 +213,7 @@ EOF
213213

214214
# Only build this mpi_f08_ext module if we're building the "use
215215
# mpi_f08" module *and* it's the non-descriptor one.
216-
AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPIF08_BINDINGS && \
217-
test $OMPI_BUILD_FORTRAN_F08_SUBARRAYS -eq 0],
216+
AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPIF08_BINDINGS]
218217
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=1],
219218
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=0])
220219
AM_CONDITIONAL(OMPI_BUILD_FORTRAN_USEMPIF08_EXT,

0 commit comments

Comments
 (0)