ucx
ucx copied to clipboard
TOOLS/PERF: Implement MAD RTE as a module
What
Add a perftest module mad_rte, currently enabled with --with-mad=yes.
Why ?
Contain libibmad and libibumad dependency in mad_rte module. On run machine, mad_rte fails to load in case of missing dependency and the program can still run.
How ?
Use a separate RPM for mad_rte module.
Tested
- Socket, MPI and MAD RTEs
-
contrib/rpmbuild.sh,-tthen--binrpm
$ rpm -qp --provides ucx-mad_rte-1.17.0-1.el8.x86_64.rpm
libucx_perftest_mad_rte.so.0()(64bit)
ucx-mad_rte = 1.17.0-1.el8
ucx-mad_rte(x86-64) = 1.17.0-1.el8
$ rpm -qp --requires ucx-mad_rte-1.17.0-1.el8.x86_64.rpm | grep libib
libibmad.so.5()(64bit)
libibmad.so.5(IBMAD_1.3)(64bit)
libibumad.so.3()(64bit)
libibumad.so.3(IBUMAD_1.0)(64bit)
$ rpm -qp --requires ucx-1.17.0-1.el8.x86_64.rpm | grep -E '(libib|mad_rte)'
<empty>