Home>

Thanks for your help.
Create a Python 3.8 virtual environment with Anaconda on Centos8
conda install -c brown-data-science slurm
I put in

(kak) [kak] $sinfo
slurm_load_partitions: Unable to contact slurm controller (connect failure)


I get the error.
I checked the locations of slumctld, slurmd, slurmdbd, slurmrestd, etc. and passed the path.

Where should I check?

(Added on September 15, 2020)
https://snapcraft.io/install/slurm/centos
I was able to install slurm via snap.

(kak) [kaku ~] $ls -l/etc/systemd/system /
-rw-r--r-- 1 root root 480 Sep 15 11:28 snap.slurm.munged.service
-rw-r--r-- 1 root root 531 Sep 15 11:28 snap.slurm.mysql.service
-rw-r--r-- 1 root root 497 Sep 15 11:28 snap.slurm.slurmctld.service
-rw-r--r-- 1 root root 494 Sep 15 11:28 snap.slurm.slurmdbd.service
-rw-r--r-- 1 root root 488 Sep 15 11:28 snap.slurm.slurmd.service
-rw-r--r-- 1 root root 500 Sep 15 11:28 snap.slurm.slurmrestd.service


And, slurm related services have been created under snap.slurm.

(kak) [kak ~] $systemctl status snap.slurm.slurmd.service
● snap.slurm.slurmd.service --Service for snap application slurm.slurmd
   Loaded: loaded (/etc/systemd/system/snap.slurm.slurmd.service;enabled;vendor preset: disabled)
   Active: inactive (dead) since Tue 2020-09-15 11:41:20 JST;6s ago
  Process: 482467 ExecStart =/usr/bin/snap run slurm.slurmd (code = exited, status = 0/SUCCESS)
 Main PID: 482467 (code = exited, status = 0/SUCCESS)
(kak) [kak ~] $systemctl status snap.slurm.slurmctld.service
● snap.slurm.slurmctld.service --Service for snap application slurm.slurmctld
   Loaded: loaded (/etc/systemd/system/snap.slurm.slurmctld.service;enabled;vendor preset: disabled)
   Active: inactive (dead) since Tue 2020-09-15 11:28:35 JST;13min ago
 Main PID: 481371 (code = exited, status = 0/SUCCESS)

Each operation seems to be going well.
But,

(kak) [kak ~] $sinfo
slurm_load_partitions: Unable to contact slurm controller (connect failure)


After all, when I try to see the status of slurm with sinfo, I get an error.
I don't know if the expressions match, but does the service created under snap.slurm work as slurm? How can I get it to happen?
https://github.com/omnivector-solutions/snap-slurm
It seems to work normally on this site.