Skip to content

Commit

Permalink
Merge pull request #9775 from awlauria/update_lsf_configury_message
Browse files Browse the repository at this point in the history
v4.1.x: configure/lsf: Make failure to find yp_all() more clear.
  • Loading branch information
bwbarrett authored Jan 10, 2022
2 parents 55608be + 15850d4 commit 1ed0226
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions config/orte_check_lsf.m4
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ AC_DEFUN([ORTE_CHECK_LSF],[
# on AIX it should be in libbsd
# on HP-UX it should be in libBSD
# on IRIX < 6 it should be in libsun (IRIX 6 and later it is in libc)
# on RHEL: libnsl, libnsl2 AND libnsl2-devel are required to link libnsl to get yp_all.
AS_IF([test "$orte_check_lsf_happy" = "yes"],
[OPAL_SEARCH_LIBS_COMPONENT([yp_all_nsl], [yp_all], [nsl bsd BSD sun],
[orte_check_lsf_happy="yes"],
[orte_check_lsf_happy="no"])])
[AC_MSG_WARN([[Could not find yp_all. Please see https://www.open-mpi.org/faq/?category=building#build-rte-lsf for more details.]])
orte_check_lsf_happy="no"])])

# liblsf requires shm_open, shm_unlink, which are in librt
AS_IF([test "$orte_check_lsf_happy" = "yes"],
Expand Down Expand Up @@ -154,18 +156,18 @@ AC_DEFUN([ORTE_CHECK_LSF],[
# (3) Check to see if the -levent is from Libevent (check for a symbol it has)
AC_CHECK_LIB([event], [evthread_set_condition_callbacks],
[AC_MSG_CHECKING([for libevent conflict])
AC_MSG_RESULT([No. The correct libevent.so was linked.])
AC_MSG_RESULT([No conflict found. The correct libevent.so was linked.])
orte_check_lsf_event_conflict=no],
[# (4) The libevent.so is not from Libevent. Warn the user.
AC_MSG_CHECKING([for libevent conflict])
AC_MSG_RESULT([Yes. Detected a libevent.so that is not from Libevent.])
AC_MSG_RESULT([Conflict found. Detected a libevent.so that is not from Libevent.])
orte_check_lsf_event_conflict=yes])
],
[AC_MSG_CHECKING([for libevent conflict])
AC_MSG_RESULT([No. Internal Libevent or libevent_core is being used.])
AC_MSG_RESULT([No conflict found. Internal Libevent or libevent_core is being used.])
orte_check_lsf_event_conflict=na])],
[AC_MSG_CHECKING([for libevent conflict])
AC_MSG_RESULT([No. LSF checks passed.])
AC_MSG_RESULT([No conflict found. LSF checks passed.])
orte_check_lsf_event_conflict=na])

AS_IF([test "$orte_check_lsf_event_conflict" = "yes"],
Expand Down

0 comments on commit 1ed0226

Please sign in to comment.