[slurm-dev] Re: slurmd: fatal: Frontend not configured correctly in slurm.conf
Hi Peixin, I successfully ran slurm on my vm by modifying the following parameters in your configuration file: On Tue, Oct 25, 2016 at 03:38:47PM -0700, Peixin Qiao wrote: > SlurmctldPidFile=/var/run/slurmctld.pid SlurmctldPidFile=/var/run/slurm-llnl/slurmctld.pid > SlurmdPidFile=/var/run/slurmd.pid SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid > SlurmdSpoolDir=/var/spool/slurmd SlurmdSpoolDir=/var/lib/slurm-llnl/slurmd > StateSaveLocation=/var/spool StateSaveLocation=/var/lib/slurm-llnl/slurmctld > #SlurmctldLogFile= SlurmctldLogFile=/var/log/slurm-llnl/slurmctld.log > #SlurmdLogFile= SlurmdLogFile=/var/log/slurm-llnl/slurmd.log Moreover I strongly encourage you to configure munge. Here you can find some tip to make it run under Ubuntu: https://github.com/dun/munge/issues/35 When you have munge running you should configure slurm accordingly by changing: > AuthType=auth/none to AuthType=auth/munge since auth/none provides no authentication and it's not recommended for production use, and > CryptoType=crypto/openssl to CryptoType=crypto/munge since it's easier to configure because you don't need to create the key pair. Finally I suggest to use the configurators provided with the slurmctld package to create your configuration file. You can find them under: /usr/share/doc/slurmctld/slurm-wlm-configurator.easy.html and /usr/share/doc/slurmctld/slurm-wlm-configurator.html These configurators are modified to provide the correct paths for the system files under Debian and Ubuntu. > Does your slurm work well in your ubuntu 16.04 system? I installed Ubuntu on a vm to help you with the configuration, I only use slurm under Debian. I did some quick test and I had no problems running jobs under the Ubuntu vm. Best regards, -- Gennaro Oliva
[slurm-dev] Re: slurmd: fatal: Frontend not configured correctly in slurm.conf
Hi Gennaro, My slurm.conf is as follows: # 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=peixin #ControlAddr= # AuthType=auth/none CacheGroups=0 CryptoType=crypto/openssl #MailProg=/bin/mail MpiDefault=none #MpiParams=ports=#-# ProctrackType=proctrack/pgid ReturnToService=1 SlurmctldPidFile=/var/run/slurmctld.pid SlurmctldPort=6817 SlurmdPidFile=/var/run/slurmd.pid SlurmdPort=6818 SlurmdSpoolDir=/var/spool/slurmd SlurmUser=slurm #SlurmdUser=root StateSaveLocation=/var/spool SwitchType=switch/none TaskPlugin=task/none # # # TIMERS InactiveLimit=0 KillWait=30 MinJobAge=300 SlurmctldTimeout=120 SlurmdTimeout=300 Waittime=0 # # SCHEDULING FastSchedule=1 SchedulerType=sched/backfill SchedulerPort=7321 SelectType=select/linear # # # LOGGING AND ACCOUNTING AccountingStorageType=accounting_storage/none ClusterName=cluster JobCompType=jobcomp/none JobCredentialPrivateKey = /usr/local/etc/slurm.key JobCredentialPublicCertificate = /usr/local/etc/slurm.cert #JobAcctGatherFrequency=30 JobAcctGatherType=jobacct_gather/none SlurmctldDebug=3 #SlurmctldLogFile= SlurmdDebug=3 #SlurmdLogFile= # # # COMPUTE NODES NodeName=peixin CPUs=4 RealMemory=5837 Sockets=4 PartitionName=debug Nodes=peixin Default=YES Does your slurm work well in your ubuntu 16.04 system? Best Regards, Peixin On Tue, Oct 25, 2016 at 5:12 PM, Gennaro Olivawrote: > > Hi Peixin and Alexandre, > > On Mon, Oct 24, 2016 at 08:12:04AM -0700, Alexandre Strube wrote: > > 2016-10-24 17:05 GMT+02:00 Peixin Qiao : > > > When I install slurm and start it on ubuntu 16.04, I got the error: > > > > > > slurred: fatal: Frontend not configured correctly in slurm.conf. See > man > > > slurm.conf for frontendname > > I have installed a vm with ubuntu 16.04 and configured a single node > with slurm version 15.08.7-1build1 without getting the Frontend error. > Can you please share your slurm.conf > Thanks > -- > Gennaro Oliva >
[slurm-dev] Re: slurmd: fatal: Frontend not configured correctly in slurm.conf
Slurm in ubuntu is broken. See my previous messages here: https://groups.google.com/forum/#!searchin/slurm-devel/strube|sort:relevance/slurm-devel/Hbh5BsvaVnA/u5zRC22NDAAJ https://groups.google.com/forum/#!searchin/slurm-devel/strube|sort:relevance/slurm-devel/-JdsUDAteI8/uzMLSfSJDAAJ and the specific bug reports for ubuntu: https://bugs.launchpad.net/ubuntu/+source/slurm-llnl/+bug/1629025 https://bugs.launchpad.net/ubuntu/+source/slurm-llnl/+bug/1629027 https://bugs.launchpad.net/ubuntu/+source/slurm-llnl/+bug/1629030 Debian Jessie works perfectly, though, with exactly the same slurm.conf. 2016-10-24 17:05 GMT+02:00 Peixin Qiao: > Hello, > > When I install slurm and start it on ubuntu 16.04, I got the error: > > slurred: fatal: Frontend not configured correctly in slurm.conf. See man > slurm.conf for frontendname > > After seeing man slurm.conf, I still confused about how to change > slurm.conf. Could you please help me with the detailed change in the > slurm.conf file? > > Best Regards, > Peixin > Ph.D. candidate in Computer Science > Illinois Institute of Technology > -- [] Alexandre Strube su...@ubuntu.com