Files
ilker 44ecad6b3c hpcod: bind the tree the Slurm plugins actually link against
The desktop terminal could not run srun: MpiDefault is pmix, and
dlopen of /usr/lib64/slurm/mpi_pmix.so failed on libhwloc.so.15.

The plugin carries an RPATH of
/opt/ohpc/pub/libs/hwloc/lib:/opt/ohpc/admin/pmix/lib, so the answer
is to bind /opt/ohpc. Binding /usr/lib64/libhwloc.so.15.4.1 at the
soname also made srun work, but only by accident: that file exists on
the compute node, which installs the distro hwloc, and not on the head
node, so the bind made the session fail to start outright wherever the
distro copy was absent - and the version in the path changes under the
next image rebuild.

Verified with the deployed config: a session submitted through the
portal renders the /opt/ohpc bind, comes up, and "srun -N1 ls /"
returns inside that session's own container namespace.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 23:49:48 +02:00
..
2026-09-21 22:08:51 +02:00