From e4465b45efe0a6095dc40763cf08141a1a295492 Mon Sep 17 00:00:00 2001 From: David Ozog Date: Fri, 10 Mar 2023 20:04:52 -0700 Subject: [PATCH] XPMEM: patch configury and include missing header --- configure.ac | 5 +++-- src/transport_xpmem.c | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b55274e93..54c69d768 100755 --- a/configure.ac +++ b/configure.ac @@ -411,7 +411,7 @@ else transport_portals4="no" transport_ofi="no" transport_ucx="no" - AC_MSG_WARN([No transport requested]) + AC_MSG_WARN([No network transport requested]) fi AM_CONDITIONAL([USE_PORTALS4], [test "$transport_portals4" = "yes"]) @@ -452,6 +452,7 @@ elif test -n "$enable_mmap" -a "$enable_mmap" != "no" ; then elif test -n "$with_xpmem" -a "$with_xpmem" != "no" ; then transport_mmap="no" transport_cma="no" + AC_DEFINE([USE_XPMEM], [1], [Define if XPMEM transport is active]) elif test -n "$with_cma" -a "$with_cma" != "no" ; then transport_mmap="no" transport_xpmem="no" @@ -939,7 +940,7 @@ AS_IF([test "$enable_pmi_mpi" != "yes" -a "$enable_pmi_simple" != "yes" -a "$opa [AC_MSG_ERROR([No PMI client interface was configured, consider --enable-pmi-simple or --with-pmi])]) AS_IF([test -z "$num_transports"], - [AC_MSG_WARN([No transport found, resulting library will be unable to exchange messages])]) + [AC_MSG_WARN([No network transport found, library will be unable to exchange remote messages])]) AS_IF([test "$shmem_cv_c11_works" != "yes"], [AC_MSG_WARN([C compiler does not support _Generic, unable to verify and test C11 bindings])]) diff --git a/src/transport_xpmem.c b/src/transport_xpmem.c index 4a2bdf129..538b3f5fa 100644 --- a/src/transport_xpmem.c +++ b/src/transport_xpmem.c @@ -26,6 +26,7 @@ #include "shmem_internal.h" #include "shmem_comm.h" #include "runtime.h" +#include "transport_xpmem.h" struct share_info_t { xpmem_segid_t data_seg;