Skip to content

Commit

Permalink
Merge pull request open-mpi#493 from nysal/topic/v2.x/pmi_fixes
Browse files Browse the repository at this point in the history
Fix PMI and PMI2 builds
  • Loading branch information
jsquyres committed Aug 12, 2015
2 parents a40a132 + 2be7c78 commit 186d98f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/opal_check_pmi.m4
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ AC_DEFUN([OPAL_CHECK_PMI_LIB],
AC_MSG_CHECKING([for $3.h in $1/include])
AS_IF([test -f $1/include/$3.h],
[AC_MSG_RESULT([found])
opal_check_$3_mycppflags="-I$3/include"],
opal_check_$3_mycppflags="-I$1/include"],
[AC_MSG_RESULT([not found])
AC_MSG_CHECKING([for $3.h in $1/include/slurm])
AS_IF([test -f $1/include/slurm/$3.h],
Expand Down Expand Up @@ -76,7 +76,7 @@ AC_DEFUN([OPAL_CHECK_PMI_LIB],
[opal_check_$3_lib_happy=no])],
[opal_check_$3_lib_happy=no
AC_MSG_RESULT([not found])])
# check for presence of lib64 directory - if found, see if the
# desired library is present and matches our build requirements
files=`ls $2/lib64/lib$3.* 2> /dev/null | wc -l`
Expand Down Expand Up @@ -195,12 +195,12 @@ AC_DEFUN([OPAL_CHECK_PMI],[
AS_IF([test "$opal_enable_pmi2" = "yes"],
[AS_IF([test "$default_pmi_loc" = "no" || test "$slurm_pmi_found" = "yes"],
[opal_pmi2_CPPFLAGS="$pmi_CPPFLAGS"
[opal_pmi2_CPPFLAGS="$pmi2_CPPFLAGS"
AC_SUBST(opal_pmi2_CPPFLAGS)])
AS_IF([test "$default_pmi_libloc" = "no" || test "$slurm_pmi_found" = "yes"],
[opal_pmi2_LDFLAGS="$pmi_LDFLAGS"
[opal_pmi2_LDFLAGS="$pmi2_LDFLAGS"
AC_SUBST(opal_pmi2_LDFLAGS)
opal_pmi2_rpath="$pmi_rpath"
opal_pmi2_rpath="$pmi2_rpath"
AC_SUBST(opal_pmi2_rpath)])])
# since support was explicitly requested, then we should error out
Expand Down

0 comments on commit 186d98f

Please sign in to comment.