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