[lustre-discuss] Building Lustre against Mellanox OFED

Paul Edmon pedmon at cfa.harvard.edu
Fri Mar 15 08:18:33 PDT 2024


I'm working on building Lustre 2.15.4 against recent versions of 
Mellanox OFED. I built OFED against the specific kernel and then install 
mlnx-ofa_kernel-modules for that specific kernel. After which I built 
lustre against that version of OFED using:

rpmbuild --rebuild --without servers --without mpi --with mofed --define 
"_topdir `pwd`" SRPMS/lustre-2.15.4-1.src.rpm

However once I finish building and install I get:

Error: Transaction test error:
   file /etc/depmod.d/zz01-mlnx-ofa_kernel-mlx_compat.conf from install 
of kmod-mlnx-ofa_kernel-23.10-OFED.23.10.2.1.3.1.rhel8u9.x86_64 
conflicts with file from package 
mlnx-ofa_kernel-modules-23.10-OFED.23.10.2.1.3.1.kver.4.18.0_513.18.1.el8_9.x86_64.x86_64

I saw this earlier message which matches my case: 
http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2020-December/017407.html 
But no resolution.

Does anyone know the solution to this? Is there a work around?

-Paul Edmon-



More information about the lustre-discuss mailing list