Slurm
For a very simple slurm install, we can grab it from the spack repository. This can be done as whatever user you are using for your spack tutorial.
We will run slurm as the 'slurm' user. That user can be created on the master node and all compute nodes. You can set the login shell to /usr/sbin/nologin.
Make note of the GID and UID for the above, and use them to create the slurm user on the compute nodes.
Slurm requires munge, which can be installed with apt-get or aptitude. It needs to be installed on all the nodes.
Munge requires a key - we'll generate one on the master node:
And then copy to the compute nodes.
Then enable and start munge on all nodes. Test munge:
Last updated