How to configure slurm on ubuntu 20.04 with minimum requirements?

I have Ubuntu 20.04 running on wsl and I was also struggling with setting up slurm as well. It looks like everything is running fine now. I am still a beginner..

I recommend you to really check the logs:

cat /var/log/slurmctld.log
cat /var/log/slurmd.log

In my case I had some permission issues and therefore had to make sure slurm related directories had to be owned by SlurmUser as defined in your config.

At first glance I see in your config the following lines which could cause the problem (if I compare the settings with mine):

  • I wonder that you defined NodeName twice.
  • In my case it has at first the value of SlurmctldHost

Hope something of the above mentioned can help.

Regards

Edit: I also would refer to the following Post, which could be similar to yours, if you run your command with sudo.