|
9 | 9 | #
|
10 | 10 |
|
11 | 11 | AC_DEFUN([OMPI_CHECK_DEPRECATED_OPTIONS],[
|
12 |
| - OPAL_VAR_SCOPE_PUSH(with_pmi_given with_pmi_libdir_given) |
| 12 | + OPAL_VAR_SCOPE_PUSH([enable_orterun_prefix_given]) |
13 | 13 |
|
14 |
| - AC_ARG_WITH([pmi], |
15 |
| - [AC_HELP_STRING([--with-pmi(=DIR)], |
16 |
| - [*DEPRECATED* Build PMI support, optionally adding DIR to the search path (default: no)])], |
17 |
| - [with_pmi_given=yes]) |
| 14 | + # --enable-orterun-prefix-by-default was deprecated in v5 in favor of --enable-prte-prefix-by-default |
| 15 | + AC_ARG_ENABLE([orterun-prefix-by-default], |
| 16 | + [AC_HELP_STRING([--enable-orterun-prefix-by-default], |
| 17 | + [*DEPRECATED* Please use --enable-prte-prefix-by-default in the future)])], |
| 18 | + [enable_orterun_prefix_given=yes]) |
| 19 | + AC_ARG_ENABLE([mpirun-prefix-by-default], |
| 20 | + [AC_HELP_STRING([--enable-mpirun-prefix-by-default], |
| 21 | + [*DEPRECATED* Please use --enable-prte-prefix-by-default in the future])], |
| 22 | + [enable_orterun_prefix_given=yes]) |
18 | 23 |
|
19 |
| - AC_ARG_WITH([pmi-libdir], |
20 |
| - [AC_HELP_STRING([--with-pmi-libdir=DIR], |
21 |
| - [*DEPRECATED* Look for libpmi or libpmi2 in the given directory DIR, DIR/lib or DIR/lib64])], |
22 |
| - [with_pmi_libdir_given=yes]) |
23 |
| - |
24 |
| - if test "$with_pmi_given" = "yes" || test "$with_pmi_libdir_given" = "yes"; then |
25 |
| - AC_MSG_WARN([Open MPI no longer supports PMI-1 or PMI-2 libraries.]) |
26 |
| - AC_MSG_WARN([PMIx is now required. Either the internal version or an]) |
27 |
| - AC_MSG_WARN([external version of PMIx may be used, so long as the]) |
28 |
| - AC_MSG_WARN([external version is compatible with the PMIx v2.2]) |
29 |
| - AC_MSG_WARN([Standard or higher. Note that cross-version support]) |
30 |
| - AC_MSG_WARN([within the OpenPMIx library can be used by this OMPI]) |
31 |
| - AC_MSG_WARN([to interact with environments based on other PMIx]) |
32 |
| - AC_MSG_WARN([versions.]) |
33 |
| - AC_MSG_ERROR([Build cannot continue.]) |
| 24 | + if test "$enable_orterun_prefix_given" = "yes"; then |
| 25 | + AC_MSG_WARN([Open MPI no longer uses the ORTE environment - it has been]) |
| 26 | + AC_MSG_WARN([replaced by PRRTE. Accordingly, the "--enable-orterun-prefix-by-default"]) |
| 27 | + AC_MSG_WARN([and "--enable-mpirun-prefix-by-default" options have been replaced]) |
| 28 | + AC_MSG_WARN([by "--enable-prte-prefix-by-default". We will do the translation for]) |
| 29 | + AC_MSG_WARN([you now, but these older options are deprecated and will be removed]) |
| 30 | + AC_MSG_WARN([in a later release, so please update your build scripts.]) |
34 | 31 | fi
|
35 | 32 |
|
36 | 33 | OPAL_VAR_SCOPE_POP
|
|
0 commit comments