<!DOCTYPE html><html data-lt-installed="true"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="padding-bottom: 1px;">
<p>Hi,</p>
<p>I already opened a ticked to <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:ofiwg@lists.openfabrics.org">ofiwg@lists.openfabrics.org</a>,
but I also try here in the user list, in case that somebody found
a similar issue and has an answer to it.</p>
<p>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:</p>
<p><font face="monospace">configure: WARNING: The EFA provider
requires rdma-core v31 or newer.<br>
configure: efa provider: disabled<br>
configure: *** Configuring cxi provider<br>
checking cxi_prov_hw.h usability... no<br>
checking cxi_prov_hw.h presence... yes<br>
configure: WARNING: cxi_prov_hw.h: present but cannot be
compiled<br>
configure: WARNING: cxi_prov_hw.h: check for missing
prerequisite headers?<br>
configure: WARNING: cxi_prov_hw.h: see the Autoconf
documentation<br>
configure: WARNING: cxi_prov_hw.h: section "Present But
Cannot Be Compiled"<br>
configure: WARNING: cxi_prov_hw.h: proceeding with the
compiler's result<br>
configure: WARNING: ##
------------------------------------------ ##<br>
configure: WARNING: ## Report this to <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:ofiwg@lists.openfabrics.org">ofiwg@lists.openfabrics.org</a>
##<br>
configure: WARNING: ##
------------------------------------------ ##<br>
checking for cxi_prov_hw.h... no<br>
checking uapi/misc/cxi.h usability... no<br>
checking uapi/misc/cxi.h presence... yes<br>
configure: WARNING: uapi/misc/cxi.h: present but cannot be
compiled<br>
configure: WARNING: uapi/misc/cxi.h: check for missing
prerequisite headers?<br>
configure: WARNING: uapi/misc/cxi.h: see the Autoconf
documentation<br>
configure: WARNING: uapi/misc/cxi.h: section "Present But
Cannot Be Compiled"<br>
configure: WARNING: uapi/misc/cxi.h: proceeding with the
compiler's result<br>
configure: WARNING: ##
------------------------------------------ ##<br>
configure: WARNING: ## Report this to <a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:ofiwg@lists.openfabrics.org">ofiwg@lists.openfabrics.org</a>
##<br>
configure: WARNING: ##
------------------------------------------ ##<br>
checking for uapi/misc/cxi.h... no<br>
checking libcxi/libcxi.h usability... yes<br>
checking libcxi/libcxi.h presence... yes<br>
checking for libcxi/libcxi.h... yes<br>
configure: looking for library without search path<br>
checking for cxil_open_device in -lcxi... yes<br>
checking curl/curl.h usability... yes<br>
checking curl/curl.h presence... yes<br>
checking for curl/curl.h... yes<br>
configure: looking for library without search path<br>
checking for curl_global_init in -lcurl... yes<br>
checking json-c/json.h usability... yes<br>
checking json-c/json.h presence... yes<br>
checking for json-c/json.h... yes<br>
configure: looking for library without search path<br>
checking for json_object_get_type in -ljson-c... yes<br>
configure: cxi provider: disabled<br>
configure: WARNING: cxi provider was requested, but cannot be
compiled<br>
configure: error: Cannot continue<br>
libfabric/1.22.0: configure failed </font><br>
</p>
<p>The libraries are the following and come from Cray, and are in
the standard directories (<font face="monospace">/usr</font> for
include files, <font face="monospace">/usr/lib64</font> for
libraries)<br>
</p>
<p><font face="monospace">🔥
[caubet_m@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<br>
warning: Found NDB Packages.db database while attempting bdb
backend: using ndb backend.<br>
cray-cxi-driver-devel-0.9-61.9__g3000a93.SSHOT2.1.3.x86_64<br>
cray-cassini-headers-user-1.0-SSHOT2.1.3_20240326210855_321db6bd57af.noarch<br>
cray-libcxi-0.9-SSHOT2.1.3_20240529150829_3d1dc9246116.x86_64</font><br>
</p>
<p>The configure options are the simplest ones, which should enforce
CXI only:<br>
</p>
<p><font face="monospace">/var/tmp/caubet_m/libfabric-1.22.0/src/configure
--prefix=/opt/psi/Libraries/libfabric/1.22.0/ --enable-cxi </font><br>
</p>
<p>What am I missing, and how shall I proceed? Is the compilation
expecting a different set (or version) of CXI libraries?<br>
</p>
<p>Thanks a lot,</p>
<p>Marc</p>
<p></p>
<pre class="moz-signature" cols="72">--
_________________________________________________________
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: <a class="moz-txt-link-abbreviated" href="mailto:marc.caubet@psi.ch">marc.caubet@psi.ch</a></pre>
</body>
<lt-container></lt-container>
</html>