Default to building Slurm with dynamic libs#1021
Conversation
Previously we built Slurm with statically-linked binaries, but this turned out not to have the advantages we hoped. In addition, it turns out this has caused problems with certain Slurm commands such as `sstat` (see NVIDIA#720). This commit swaps the configure flag `--without-shared-libslurm` to `--with-shared-libslurm`. After testing, I can confirm the `sstat` command seems to work again.
|
Chore: multi-line YAML can ease readability a bit: slurm_configure: >
./configure
--prefix={{ slurm_install_prefix }}
--disable-dependency-tracking
--disable-debug
--disable-x11
--enable-really-no-cray
--enable-salloc-kill-cmd
--with-hdf5=no
--sysconfdir={{ slurm_config_dir }}
--enable-pam
--with-pam_dir={{ slurm_pam_lib_dir }}
--with-shared-libslurm
--without-rpath
--with-pmix={{ pmix_install_prefix }}
--with-hwloc={{ hwloc_install_prefix }} |
|
Sorry to disturb again (I was also involved with #720): thx ~# ldd /usr/lib/x86_64-linux-gnu/security/pam_slurm_adopt.so ~# ls -l /usr/local/lib/libslurm.so.37* |
|
On freshly installed Slurm 21.08.5 on Ubuntu 20.04.4 (via deepops 22.01) I'm also seeng this log with an identical situation: any ideas to what is going on? |
Previously we built Slurm with statically-linked binaries, but this
turned out not to have the advantages we hoped. In addition, it turns
out this has caused problems with certain Slurm commands such as
sstat(see #720).
This commit swaps the configure flag
--without-shared-libslurmto--with-shared-libslurm. After testing, I can confirm thesstatcommand seems to work again.