A colleage of mine here has been jumping through the hoops to get Slurm 20.11.5 set up, as our user-facing team would like to see it, on our new Cray Shasta system. He's said that when, ahead of looking to automate the deployemnt, he had done a by-hand Zypper install of the slurm-contribs RPM, he had found that he needed slurm-perlapi as well, because the seff program, which is what our user-facing team actually want, is a Perl script. However, when you interrogate the RPM database, you don't see any such requirement, just the need for Perl. nid001028:~ # rpm -qR slurm-contribs /bin/bash /usr/bin/perl rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 slurm(x86-64) = 20.11.5-1 nid001028:~ # nid001028:~ # rpm -q --whatrequires slurm-perlapi no package requires slurm-perlapi nid001028:~ # and so, if you just install slurm-contribs, you only find out about the dependency when you come to run seff. I have verified the same lack of requirement info on a Slurm 21.08.5 Cray system. I think it would be "nice" if the requirement info was made explict in the RPM Specfile. I note that it is an explict Specfile Requirement for these two sub-packages Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm Group: Development/System Requires: slurm-perlapi %description torque Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm %package openlava Summary: openlava/LSF wrappers for transition from OpenLava/LSF to Slurm Group: Development/System Requires: slurm-perlapi %description openlava OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm
Created attachment 23374 [details] RPM packaging fix-up patch for Bug 13383 It's only a liner but, here you go. Having said that, this line Summary: Perl tool to print Slurm job state information doesn't really tell the full story anymore, given that there are three contribs in the sub-package now?!