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
Without this patch, configure cannot resolve cray's libfabric libs due to not looking in the lib64 directory. I haven't spent time trying to make this flexible and look both in lib and lib64, and I don't see this piece whatsoever in OVIS-4.
That said, some work or guidance to conditionally define it or dynamically resolve the lib dir name in the configure.ac will need to be fashioned as a solution here.
diff --git a/configure.ac b/configure.ac
index 13f0a862..ddcaa6e1 100644
--- a/configure.ac+++ b/configure.ac@@ -189,10 +189,10 @@ dnl we need libibverbs-devel and librdmacm-devel to support rdma
if test "\$enable_fabric" = "yes"; then
AC_ARG_WITH([libfabric],
AC_HELP_STRING([--with-libfabric], [Specify libfabric location]),
- [AS_IF([test -d "\$withval/lib"], [LIB_FABRIC="\$withval"],+ [AS_IF([test -d "\$withval/lib64"], [LIB_FABRIC="\$withval"],
AC_MSG_ERROR([libfabric not found at \$withval]))],
AC_MSG_ERROR([must specify --with-libfabric]))
- LDFLAGS="\$LDFLAGS -L\${LIB_FABRIC}/lib"+ LDFLAGS="\$LDFLAGS -L\${LIB_FABRIC}/lib64"
AC_SUBST([LIBFABRIC_INCDIR], [\${LIB_FABRIC}/include])
saveCPPFLAGS=\$CPPFLAGS
CPPFLAGS="\$CPPFLAGS -I\${LIB_FABRIC}/include"
The text was updated successfully, but these errors were encountered:
`--with-libfabric` was only looking for the library in `PREFIX/lib`.
This patch removed `--enable-fabric` and use `--with-fabric` that check
for the library/header by default.
Fixesovis-hpc#1472
`--with-libfabric` was only looking for the library in `PREFIX/lib`.
This patch removed `--enable-fabric` and use `--with-fabric` that check
for the library/header by default.
Fixes#1472
Without this patch, configure cannot resolve cray's libfabric libs due to not looking in the
lib64
directory. I haven't spent time trying to make this flexible and look both in lib and lib64, and I don't see this piece whatsoever in OVIS-4.That said, some work or guidance to conditionally define it or dynamically resolve the lib dir name in the configure.ac will need to be fashioned as a solution here.
The text was updated successfully, but these errors were encountered: