You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(slurm/ib): build slurm against HPC-X SDK PMIx 5 (OMPI 5)
DOCA-OFED's openmpi.deb does not expose a link-clean libpmix: its
libpmix.so has 21 unresolved references to opal_libevent2022_* and
opal_hwloc201_* symbols inside libopen-pal, so slurm's autoconf
AC_LINK_IFELSE on -lpmix fails ("unable to locate pmix installation").
Switch the IB image to NVIDIA HPC-X SDK v2.26 (CUDA13 build) instead.
HPC-X ships a self-contained OMPI 5 + PMIx 5.0.10rc3 stack at
/opt/mellanox/hpcx/ompi5/. Its libpmix.so has clean DT_NEEDED entries
(libevent_core, libevent_pthreads, libhwloc) and DT_RUNPATH=$ORIGIN/.
so it links and runs cleanly without dragging in libopen-pal.
slurm is now configured --with-pmix=/opt/mellanox/hpcx/ompi5, which
makes slurm's autoconf bake -Wl,-rpath,/opt/mellanox/hpcx/ompi5/lib
into mpi_pmix_v5.so. slurmstepd dlopens libpmix.so.2 via that RPATH at
MPI step launch — no /etc/ld.so.conf.d entry for HPC-X is needed (and
adding one would make slurmd link against HPC-X's bundled libhwloc.so.15
during dh_shlibdeps and break the .deb build).
DOCA-OFED apt repo is still used for IB userland (rdma-core,
ibverbs-providers, infiniband-diags) — only the openmpi package is
dropped in favor of HPC-X.
Locally validated end-to-end: configure detects PMIx 5 at
/opt/mellanox/hpcx/ompi5, mpi_pmix_v5.so / mpi_pmi2.so / gpu_nvml.so
all build, dh_shlibdeps passes, 17 slurm-smd debs produced.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments