Perhaps my SLURM HowTo Wiki page https://wiki.fysik.dtu.dk/niflheim/SLURM could help you getting started. We're using CentOS 7.2, but most of the setup will be the same or similar for CentOS 6.

/Ole

On 07/18/2016 12:52 AM, P. Larry Nelson wrote:
While I am in search of real hardware on which to build/test Slurm,
I am attempting to just play around with it on a test VM (Scientific
Linux 6.8), which, of course, is using NATted networking and is a
standalone system protected from the outside world.

I downloaded the latest (16.05.2) tarball and ran the rpmbuild
and then installed all the rpm's.  Ran the Easy Configurator
and gave it the hostname of the VM for the ControlMachine
and the loopback address of 127.0.0.1 for the ControlAddr.

Made a munge key and it started just fine.

When I do a 'service slurm start', it responds "OK" for both slurmctld
and slurmd, but slurmctld dies right away.

If I do a 'slurmctld -Dvvv', I get:
slurmctld: pidfile not locked, assuming no running daemon
slurmctld: debug:  creating clustername file: /var/spool/clustername
slurmctld: fatal: _create_clustername_file: failed to create file
/var/spool/clustername

The slurm.conf has this for ClusterName:
ClusterName=SlurmCluster

So, why is slurmctld trying to create file /var/spool/clustername
instead of /var/spool/SlurmCluster.

Slurmd and slurmctld are started as root.
I'm obviously missing something here....

Reply via email to