Merge pull request #3617 from ggouaillardet/topic/f08_mpiext
fortran2008: fix mpiext example
Этот коммит содержится в:
Коммит
1a70e5bd16
@ -17,7 +17,7 @@ dnl Copyright (c) 2009 Los Alamos National Security, LLC. All rights
|
|||||||
dnl reserved.
|
dnl reserved.
|
||||||
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
||||||
dnl Copyright (c) 2013 Intel, Inc. All rights reserved.
|
dnl Copyright (c) 2013 Intel, Inc. All rights reserved.
|
||||||
dnl Copyright (c) 2015-2016 Research Organization for Information Science
|
dnl Copyright (c) 2015-2017 Research Organization for Information Science
|
||||||
dnl and Technology (RIST). All rights reserved.
|
dnl and Technology (RIST). All rights reserved.
|
||||||
dnl
|
dnl
|
||||||
dnl $COPYRIGHT$
|
dnl $COPYRIGHT$
|
||||||
@ -244,11 +244,7 @@ OMPI_BUILD_FORTRAN_F08_SUBARRAYS=0
|
|||||||
AS_IF([test $OMPI_TRY_FORTRAN_BINDINGS -lt $OMPI_FORTRAN_USEMPIF08_BINDINGS],
|
AS_IF([test $OMPI_TRY_FORTRAN_BINDINGS -lt $OMPI_FORTRAN_USEMPIF08_BINDINGS],
|
||||||
[AC_MSG_RESULT([none (use mpi_f08 disabled)])],
|
[AC_MSG_RESULT([none (use mpi_f08 disabled)])],
|
||||||
[AS_IF([test "$enable_mpi_f08_subarray_prototype" = "yes"],
|
[AS_IF([test "$enable_mpi_f08_subarray_prototype" = "yes"],
|
||||||
[OMPI_BUILD_FORTRAN_F08_SUBARRAYS=1
|
[OMPI_BUILD_FORTRAN_F08_SUBARRAYS=1],
|
||||||
AC_MSG_RESULT([extra crispy (subarray prototype)])
|
|
||||||
AC_MSG_WARN([Sorry, the subarray prototype is no longer available])
|
|
||||||
AC_MSG_WARN([Contact your favorite OMPI developer and ask for it to be re-enabled])
|
|
||||||
AC_MSG_ERROR([Cannot continue])],
|
|
||||||
[AC_MSG_RESULT([regular (no subarray support)])])
|
[AC_MSG_RESULT([regular (no subarray support)])])
|
||||||
])
|
])
|
||||||
AC_DEFINE_UNQUOTED([OMPI_BUILD_FORTRAN_F08_SUBARRAYS],
|
AC_DEFINE_UNQUOTED([OMPI_BUILD_FORTRAN_F08_SUBARRAYS],
|
||||||
|
@ -5,7 +5,7 @@ dnl University Research and Technology
|
|||||||
dnl Corporation. All rights reserved.
|
dnl Corporation. All rights reserved.
|
||||||
dnl Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
|
dnl Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
|
||||||
dnl Copyright (c) 2011-2012 Oak Ridge National Labs. All rights reserved.
|
dnl Copyright (c) 2011-2012 Oak Ridge National Labs. All rights reserved.
|
||||||
dnl Copyright (c) 2015 Research Organization for Information Science
|
dnl Copyright (c) 2015-2017 Research Organization for Information Science
|
||||||
dnl and Technology (RIST). All rights reserved.
|
dnl and Technology (RIST). All rights reserved.
|
||||||
dnl Copyright (c) 2017 The University of Tennessee and The University
|
dnl Copyright (c) 2017 The University of Tennessee and The University
|
||||||
dnl of Tennessee Research Foundation. All rights
|
dnl of Tennessee Research Foundation. All rights
|
||||||
@ -216,8 +216,7 @@ EOF
|
|||||||
|
|
||||||
# Only build this mpi_f08_ext module if we're building the "use
|
# Only build this mpi_f08_ext module if we're building the "use
|
||||||
# mpi_f08" module *and* it's the non-descriptor one.
|
# mpi_f08" module *and* it's the non-descriptor one.
|
||||||
AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPIF08_BINDINGS && \
|
AS_IF([test $OMPI_BUILD_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPIF08_BINDINGS]
|
||||||
test $OMPI_BUILD_FORTRAN_F08_SUBARRAYS -eq 0],
|
|
||||||
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=1],
|
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=1],
|
||||||
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=0])
|
[OMPI_BUILD_FORTRAN_USEMPIF08_EXT=0])
|
||||||
AM_CONDITIONAL(OMPI_BUILD_FORTRAN_USEMPIF08_EXT,
|
AM_CONDITIONAL(OMPI_BUILD_FORTRAN_USEMPIF08_EXT,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user