3
3
%bcond_with cuda
4
4
%bcond_with gdrcopy
5
5
%bcond_without ib
6
+ %bcond_without knem
6
7
%bcond_without rdmacm
7
8
%bcond_with rocm
8
9
%bcond_with ugni
9
- %bcond_with xpmem
10
+ %bcond_without xpmem
10
11
%bcond_with vfs
11
12
%bcond_with mad
12
13
%bcond_without mlx5
13
14
14
15
Summary: UCX is a communication library implementing high-performance messaging
15
16
Name: ucx
16
17
Version: 1.18.0
17
- Release: 1 %{?dist }
18
+ Release: 2 %{?dist }
18
19
License: BSD
19
20
Vendor: Microsoft Corporation
20
21
Distribution: Azure Linux
@@ -49,6 +50,9 @@ BuildRequires: libibverbs-devel
49
50
%if %{with mlx5 }
50
51
BuildRequires: rdma-core-devel
51
52
%endif
53
+ %if %{with knem }
54
+ BuildRequires: knem
55
+ %endif
52
56
%if %{with rdmacm }
53
57
BuildRequires: librdmacm-devel
54
58
%endif
@@ -61,6 +65,9 @@ BuildRequires: pkgconfig(cray-xpmem)
61
65
%if %{with vfs }
62
66
BuildRequires: fuse3-devel
63
67
%endif
68
+ %if %{with ze }
69
+ BuildRequires: level-zero-devel
70
+ %endif
64
71
%if "%{debug }" == "1"
65
72
BuildRequires: valgrind-devel
66
73
%endif
@@ -83,6 +90,7 @@ This package was built from '' branch, commit f086c1d.
83
90
%package devel
84
91
Requires: %{name }%{?_isa } = %{version }-%{release }
85
92
Summary: Header files required for developing with UCX
93
+ Group: Development/Libraries
86
94
87
95
%description devel
88
96
Provides header files and examples for developing with UCX.
@@ -111,12 +119,14 @@ Provides header files and examples for developing with UCX.
111
119
%_with_arg gdrcopy gdrcopy \
112
120
%_with_arg ib verbs \
113
121
%_with_arg mlx5 mlx5 \
122
+ %_with_arg knem knem \
114
123
%_with_arg rdmacm rdmacm \
115
124
%_with_arg rocm rocm \
116
125
%_with_arg xpmem xpmem \
117
126
%_with_arg vfs fuse3 \
118
127
%_with_arg ugni ugni \
119
128
%_with_arg mad mad \
129
+ %_with_arg ze ze \
120
130
%{?configure_options }
121
131
make %{?_smp_mflags } V=1
122
132
@@ -172,6 +182,9 @@ Provides static libraries required for developing with UCX.
172
182
%if %{with cma }
173
183
%{_libdir }/pkgconfig/ucx-cma.pc
174
184
%endif
185
+ %if %{with knem }
186
+ %{_libdir }/pkgconfig/ucx-knem.pc
187
+ %endif
175
188
%if %{with xpmem }
176
189
%{_libdir }/pkgconfig/ucx-xpmem.pc
177
190
%endif
@@ -192,6 +205,7 @@ Provides static libraries required for developing with UCX.
192
205
%package cma
193
206
Requires: %{name }%{?_isa } = %{version }-%{release }
194
207
Summary: UCX CMA support
208
+ Group: System Environment/Libraries
195
209
196
210
%description cma
197
211
Provides CMA (Linux cross-memory-attach) transport for UCX. It utilizes the
@@ -206,6 +220,7 @@ process.
206
220
%package cuda
207
221
Requires: %{name }%{?_isa } = %{version }-%{release }
208
222
Summary: UCX CUDA support
223
+ Group: System Environment/Libraries
209
224
210
225
%description cuda
211
226
Provide CUDA (NVIDIA GPU) support for UCX. Enables passing GPU memory pointers
@@ -222,6 +237,7 @@ technology for direct data transfer between GPU and RDMA devices.
222
237
%package gdrcopy
223
238
Requires: %{name }-cuda%{?_isa } = %{version }-%{release }
224
239
Summary: UCX GDRCopy support
240
+ Group: System Environment/Libraries
225
241
226
242
%description gdrcopy
227
243
Provide GDRCopy support for UCX. GDRCopy is a low-latency GPU memory copy
@@ -235,6 +251,7 @@ library, built on top of the NVIDIA GPUDirect RDMA technology.
235
251
%package ib
236
252
Requires: %{name }%{?_isa } = %{version }-%{release }
237
253
Summary: UCX RDMA support
254
+ Group: System Environment/Libraries
238
255
239
256
%description ib
240
257
Provides support for IBTA-compliant transports for UCX. This includes RoCE,
@@ -274,10 +291,26 @@ Infiniband datagrams for out-of-band communications.
274
291
%{_libdir }/ucx/libucx_perftest_mad.so.*
275
292
%endif
276
293
294
+ %if %{with knem }
295
+ %package knem
296
+ Requires: %{name } = %{version }-%{release }
297
+ Summary: UCX KNEM transport support
298
+ Group: System Environment/Libraries
299
+
300
+ %description knem
301
+ Provides KNEM (fast inter-process copy) transport for UCX. KNEM is a Linux
302
+ Kernel module that enables high-performance intra-node MPI communication
303
+ for large messages.
304
+
305
+ %files knem
306
+ %{_libdir }/ucx/libuct_knem.so.*
307
+ %endif
308
+
277
309
%if %{with rdmacm }
278
310
%package rdmacm
279
311
Requires: %{name }-ib%{?_isa } = %{version }-%{release }
280
312
Summary: UCX RDMA connection manager support
313
+ Group: System Environment/Libraries
281
314
282
315
%description rdmacm
283
316
Provides RDMA connection-manager support to UCX, which enables client/server
@@ -291,6 +324,7 @@ based connection establishment for RDMA-capable transports.
291
324
%package rocm
292
325
Requires: %{name }%{?_isa } = %{version }-%{release }
293
326
Summary: UCX ROCm GPU support
327
+ Group: System Environment/Libraries
294
328
295
329
%description rocm
296
330
Provides Radeon Open Compute (ROCm) Runtime support for UCX.
@@ -303,6 +337,7 @@ Provides Radeon Open Compute (ROCm) Runtime support for UCX.
303
337
%package rocmgdr
304
338
Requires: %{name }-rocm%{?_isa } = %{version }-%{release }
305
339
Summary: UCX GDRCopy support for ROCM
340
+ Group: System Environment/Libraries
306
341
307
342
%description rocmgdr
308
343
Provide GDRCopy support for UCX ROCM. GDRCopy is a low-latency GPU memory copy
@@ -317,6 +352,7 @@ library, built on top of the NVIDIA GPUDirect RDMA technology.
317
352
%package ugni
318
353
Requires: %{name }%{?_isa } = %{version }-%{release }
319
354
Summary: UCX Gemini/Aries transport support.
355
+ Group: System Environment/Libraries
320
356
321
357
%description ugni
322
358
Provides Gemini/Aries transport for UCX.
@@ -353,7 +389,25 @@ library internals, protocol objects, transports status, and more.
353
389
%{_bindir }/ucx_vfs
354
390
%endif
355
391
392
+ %if %{with ze }
393
+ %package ze
394
+ Requires: %{name }%{?_isa } = %{version }-%{release }
395
+ Summary: UCX Virtual Filesystem support.
396
+ Group: System Environment/Libraries
397
+
398
+ %description ze
399
+ Provides oneAPI Level Zero (ZE) Runtime support for UCX.
400
+
401
+ %files ze
402
+ %{_libdir }/ucx/libuct_ze.so.*
403
+ %{_bindir }/ucx/libucm_ze.so.*
404
+ %endif
405
+
406
+
356
407
%changelog
408
+ *
Fri Jan 31 2025 Alberto David Perez Guevara <[email protected] > -
1.18.0-2
409
+ - Enable knem and xpmem flags
410
+
357
411
*
Wed Jan 08 2025 Elaheh Dehghani <[email protected] > -
1.18.0-1
358
412
- Bump version to 1.18.0
359
413
0 commit comments