Skip to content

Commit 3e14fb7

Browse files
committed
OpenMPI: enable support for libfabric OFI
1 parent 4d4b0bd commit 3e14fb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmpi.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
Source: https://download.open-mpi.org/release/open-mpi/v4.1/%{n}-%{realversion}.tar.bz2
44
BuildRequires: autotools
55
%{!?without_cuda:Requires: cuda}
6+
Requires: libfabric
67
Requires: hwloc
78
Requires: rdma-core
89
Requires: xpmem
910
Requires: ucx
1011
Requires: zlib
1112

1213
# external libraries are needed for additional protocols:
13-
# --with-ofi: Open Fabric Interface's libfabric
1414
# --with-mxm: Mellanox Messaging (depracated, use UCX instead)
1515
# --with-fca: Mellanox Fabric Collective Accelerator
1616
# --with-hcoll: Mellanox Hierarchical Collectives
@@ -33,7 +33,7 @@ Requires: zlib
3333
--with-zlib=$ZLIB_ROOT \
3434
%{!?without_cuda:--with-cuda=$CUDA_ROOT} \
3535
--with-hwloc=$HWLOC_ROOT \
36-
--without-ofi \
36+
--with-ofi=$LIBFABRIC_ROOT \
3737
--without-portals4 \
3838
--without-psm \
3939
--without-psm2 \

0 commit comments

Comments
 (0)