You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configury: enhance external PMIx detection - add the --with-pmix-libdir=DIR option look for libpmix.* libs in DIR, DIR/lib64 and DIR - if --with-pmix=DIR is given, look for libpmix.* in DIR/lib64 and DIR/lib
Copy file name to clipboardExpand all lines: config/opal_check_pmi.m4
+38-6Lines changed: 38 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
# Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights
15
15
# reserved.
16
16
# Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
17
-
# Copyright (c) 2014-2016 Research Organization for Information Science
17
+
# Copyright (c) 2014-2017 Research Organization for Information Science
18
18
# and Technology (RIST). All rights reserved.
19
19
# Copyright (c) 2016 IBM Corporation. All rights reserved.
20
20
# $COPYRIGHT$
@@ -132,8 +132,8 @@ AC_DEFUN([OPAL_CHECK_PMI],[
132
132
[], with_pmi=no)
133
133
134
134
AC_ARG_WITH([pmi-libdir],
135
-
[AC_HELP_STRING([--with-pmi-libdir(=DIR)],
136
-
[Look for libpmi or libpmi2 in the given directory, DIR/lib or DIR/lib64])])
135
+
[AC_HELP_STRING([--with-pmi-libdir=DIR],
136
+
[Look for libpmi or libpmi2 in the given directory DIR, DIR/lib or DIR/lib64])])
137
137
138
138
check_pmi_install_dir=
139
139
check_pmi_lib_dir=
@@ -233,6 +233,10 @@ AC_DEFUN([OPAL_CHECK_PMIX],[
233
233
[AC_HELP_STRING([--with-pmix(=DIR)],
234
234
[Build PMIx support. DIR can take one of three values: "internal", "external", or a valid directory name. "internal" (or no DIR value) forces Open MPI to use its internal copy of PMIx. "external" forces Open MPI to use an external installation of PMIx. Supplying a valid directory name also forces Open MPI to use an external installation of PMIx, and adds DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries. Note that Open MPI does not support --without-pmix.])])
235
235
236
+
AC_ARG_WITH([pmix-libdir],
237
+
[AC_HELP_STRING([--with-pmix-libdir=DIR],
238
+
[Look for libpmix the given directory DIR, DIR/lib or DIR/lib64])])
239
+
236
240
AS_IF([test "$with_pmix" = "no"],
237
241
[AC_MSG_WARN([Open MPI requires PMIx support. It can be built])
238
242
AC_MSG_WARN([with either its own internal copy of PMIx, or with])
@@ -254,7 +258,34 @@ AC_DEFUN([OPAL_CHECK_PMIX],[
254
258
255
259
# Make sure we have the headers and libs in the correct location
0 commit comments