ucx icon indicating copy to clipboard operation
ucx copied to clipboard

TOOLS/PERF: Implement MAD RTE as a module

Open tvegas1 opened this issue 1 year ago • 0 comments

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, -t then --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>

tvegas1 avatar Jan 26 '24 16:01 tvegas1