To slurm-dev,
I am trying to install SLURM 15.08.7 locally on an Ubuntu 16.04 machine. In my case, the master and worker nodes are the same. All I want is to test out some tiny examples locally on my desktop computer. I do not actually have a cluster. I tried following the guide at https://github.com/superphy/semantic/wiki/SLURM-install-guide, and I am stuck at `sudo /etc/init.d/slurmd start`. The log shows [2017-10-29T21:57:31.074] slurmctld version 15.08.7 started on cluster cluster [2017-10-29T21:57:31.075] layouts: no layout to initialize [2017-10-29T21:57:31.075] fatal: Frontend not configured correctly in slurm.conf. See man slurm.conf look for frontendname. `slurmd -C` shows: ClusterName=(null) NodeName=Haggunenon CPUs=4 Boards=1 SocketsPerBoard=1 CoresPerSocket=4 ThreadsPerCore=1 RealMemory=16004 TmpDisk=223645 UpTime=0-00:29:17 I also submitted posts to Stack Overflow: - https://stackoverflow.com/questions/47002755/emulating-slurm-on-ubuntu-16-04?noredirect=1#comment80953277_47002755 - https://stackoverflow.com/questions/46966876/installing-emulating-slurm-on-an-ubuntu-16-04-desktop-slurmd-fails-to-start And here is my /etc/slurm-llnl/slurm.conf. I generated it from /usr/share/doc/slurmctld/slurm-wlm-configurator.html, supplying the information from `slurmd -C`. I also changed the user name to wlandau (my own user name) and set ControlMachine and NodeName to Haggunenon (the hostname). # slurm.conf file generated by configurator easy.html. # Put this file on all nodes of your cluster. # See the slurm.conf man page for more information. # ControlMachine=Haggunenon #ControlAddr= # #MailProg=/bin/mail MpiDefault=none #MpiParams=ports=#-# ProctrackType=proctrack/pgid ReturnToService=1 SlurmctldPidFile=/var/run/slurm-llnl/slurmctld.pid #SlurmctldPort=6817 SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid #SlurmdPort=6818 SlurmdSpoolDir=/var/lib/slurm-llnl/slurmd SlurmUser=wlandau #SlurmdUser=root StateSaveLocation=/var/lib/slurm-llnl/slurmctld SwitchType=switch/none TaskPlugin=task/none # # # TIMERS #KillWait=30 #MinJobAge=300 #SlurmctldTimeout=120 #SlurmdTimeout=300 # # # SCHEDULING FastSchedule=1 SchedulerType=sched/backfill #SchedulerPort=7321 SelectType=select/linear # # # LOGGING AND ACCOUNTING AccountingStorageType=accounting_storage/none ClusterName=cluster #JobAcctGatherFrequency=30 JobAcctGatherType=jobacct_gather/none #SlurmctldDebug=3 SlurmctldLogFile=/var/log/slurm-llnl/slurmctld.log #SlurmdDebug=3 SlurmdLogFile=/var/log/slurm-llnl/slurmd.log # # # COMPUTE NODES NodeName=Haggunenon CPUs=4 RealMemory=16004 CoresPerSocket=4 ThreadsPerCore=1 State=UNKNOWN PartitionName=DEFAULT Nodes=Haggunenon Default=YES MaxTime=INFINITE State=UP Will will-landau.com linkedin.com/in/wlandau github.com/wlandau
