Skip to content

Commit 76dface

Browse files
committed
Revert "configury: Remove --enable-mpi1-compatibility"
This reverts commit 6f904af. Signed-off-by: Geoffrey Paulsen <[email protected]>
1 parent ca4b709 commit 76dface

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,11 @@ MPI Functionality and Features
586586
examples of how to update legacy MPI applications using these
587587
deleted symbols to use the "new" symbols.
588588

589+
All that being said, if you are unable to immediately update your
590+
application to stop using these legacy MPI-1 symbols, you can
591+
re-enable them in mpi.h by configuring Open MPI with the
592+
--enable-mpi1-compatibility flag.
593+
589594
- Rank reordering support is available using the TreeMatch library. It
590595
is activated for the graph and dist_graph topologies.
591596

config/ompi_configure_options.m4

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,22 @@ fi
196196
AC_DEFINE_UNQUOTED([OMPI_WANT_MPI_CXX_SEEK], [$OMPI_WANT_MPI_CXX_SEEK],
197197
[do we want to try to work around C++ bindings SEEK_* issue?])
198198

199+
# Remove these when we finally kill them once and for all
200+
AC_ARG_ENABLE([mpi1-compatibility],
201+
[AC_HELP_STRING([--enable-mpi1-compatibility],
202+
[Enable support for MPI-1.x functions removed from the current MPI standard (MPI-3.x). This option will go away in a future release of Open MPI (default: disabled)])])
203+
204+
if test "x$enable_mpi1_compatibility" = "xyes" ; then
205+
ompi_mpi1_support=1
206+
else
207+
ompi_mpi1_support=0
208+
fi
209+
210+
211+
AC_DEFINE_UNQUOTED([OMPI_ENABLE_MPI1_COMPAT], [$ompi_mpi1_support], [whether we want MPI-1.x support])
212+
AC_SUBST([OMPI_ENABLE_MPI1_COMPAT], [$ompi_mpi1_support])
213+
AM_CONDITIONAL([OMPI_ENABLE_MPI1_COMPAT],[test $ompi_mpi1_support = 1])
214+
199215
AC_ARG_ENABLE([grequest-extensions],
200216
[AC_HELP_STRING([--enable-grequest-extensions],
201217
[Enable support for Grequest extensions (default: disabled)])])

0 commit comments

Comments
 (0)