Related to the NHC "dev" branch (version 1.5) I've been looking at the
issue https://github.com/mej/nhc/issues/165 which requires a workaround in
nhc.conf where you have to explicitly define the Slurm resource manager by:
* | export NHC_RM=slurm
As it turns out, the nhc script correctly autodetects NHC_RM=slurm but
fails to export this variable, so it's not available to the
ONLINE_NODE/OFFLINE_NODE scripts.
The fix in the PR https://github.com/mej/nhc/pull/168 adds the required
export statement to nhc. I hope this can get merged into the NHC "dev"
branch sometime soon.
Best regards,
Ole
On 8/25/25 21:50, Jennings, Michael E via slurm-users wrote:
NHC builds like any other GNU Autotools-based package: |./autogen.sh
<configure-args> && make dist|
That's all you need to do to generate the correct tarball. From there, |
rpmbuild -ta |is one option. I use Mezzanine tools, so I just run
mzbuild. So whenever I go to build new RPMs for the production teams, all
I have to do is "|./autogen.sh && make dist && mzbuild"||[1], or the
(mostly) equivalent "||./autogen.sh && make dist && rpmbuild -ta lbnl-
nhc-1.5.tar.gz||", either of which spits out the RPM and SRPM for me.|
--
slurm-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]