[libfabric-users] CXI libraries present but can not be compiled
Marc Caubet Serrabou
marc.caubet at psi.ch
Mon Oct 7 04:02:42 PDT 2024
Hi,
I already opened a ticked to ofiwg at lists.openfabrics.org, but I also try
here in the user list, in case that somebody found a similar issue and
has an answer to it.
I am trying to compile libfabrics 1.22.0 with CXI provider support.
Despite the expected CXI provider header files are present, as well as
the CXI library, I get the following errors:
configure: WARNING: The EFA provider requires rdma-core v31 or newer.
configure: efa provider: disabled
configure: *** Configuring cxi provider
checking cxi_prov_hw.h usability... no
checking cxi_prov_hw.h presence... yes
configure: WARNING: cxi_prov_hw.h: present but cannot be compiled
configure: WARNING: cxi_prov_hw.h: check for missing prerequisite
headers?
configure: WARNING: cxi_prov_hw.h: see the Autoconf documentation
configure: WARNING: cxi_prov_hw.h: section "Present But Cannot Be
Compiled"
configure: WARNING: cxi_prov_hw.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to ofiwg at lists.openfabrics.org ##
configure: WARNING: ## ------------------------------------------ ##
checking for cxi_prov_hw.h... no
checking uapi/misc/cxi.h usability... no
checking uapi/misc/cxi.h presence... yes
configure: WARNING: uapi/misc/cxi.h: present but cannot be compiled
configure: WARNING: uapi/misc/cxi.h: check for missing prerequisite
headers?
configure: WARNING: uapi/misc/cxi.h: see the Autoconf documentation
configure: WARNING: uapi/misc/cxi.h: section "Present But Cannot Be
Compiled"
configure: WARNING: uapi/misc/cxi.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to ofiwg at lists.openfabrics.org ##
configure: WARNING: ## ------------------------------------------ ##
checking for uapi/misc/cxi.h... no
checking libcxi/libcxi.h usability... yes
checking libcxi/libcxi.h presence... yes
checking for libcxi/libcxi.h... yes
configure: looking for library without search path
checking for cxil_open_device in -lcxi... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
configure: looking for library without search path
checking for curl_global_init in -lcurl... yes
checking json-c/json.h usability... yes
checking json-c/json.h presence... yes
checking for json-c/json.h... yes
configure: looking for library without search path
checking for json_object_get_type in -ljson-c... yes
configure: cxi provider: disabled
configure: WARNING: cxi provider was requested, but cannot be compiled
configure: error: Cannot continue
libfabric/1.22.0: configure failed
The libraries are the following and come from Cray, and are in the
standard directories (/usr for include files, /usr/lib64 for libraries)
🔥
[caubet_m at login001:~/git/buildblocks/Libraries/libfabric(ofi_1.22.0)]#
rpm -qf /usr/include/uapi/misc/cxi.h /usr/include/cxi_prov_hw.h
/usr/lib64/libcxi.so
warning: Found NDB Packages.db database while attempting bdb backend:
using ndb backend.
cray-cxi-driver-devel-0.9-61.9__g3000a93.SSHOT2.1.3.x86_64
cray-cassini-headers-user-1.0-SSHOT2.1.3_20240326210855_321db6bd57af.noarch
cray-libcxi-0.9-SSHOT2.1.3_20240529150829_3d1dc9246116.x86_64
The configure options are the simplest ones, which should enforce CXI only:
/var/tmp/caubet_m/libfabric-1.22.0/src/configure
--prefix=/opt/psi/Libraries/libfabric/1.22.0/ --enable-cxi
What am I missing, and how shall I proceed? Is the compilation expecting
a different set (or version) of CXI libraries?
Thanks a lot,
Marc
--
_________________________________________________________
Paul Scherrer Institut
High Performance Computing & Emerging Technologies
Marc Caubet Serrabou
Building/Room: OBBA/230
Forschungsstrasse, 111
5232 Villigen PSI
Switzerland
Telephone: +41 765 42 51 24 // +41 56 310 46 67
E-Mail:marc.caubet at psi.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20241007/9d30d992/attachment.htm>
More information about the Libfabric-users
mailing list