[slurm-users] After Each slurm Run, I Need to Reinstall slurm

Geert Geurts Geert.Geurts at dalco.ch
Sat May 5 16:25:05 MDT 2018


Hi Kenneth,
The pidfile is just a record that says what is the pid of slurmctld or slurmdbd or whatever daemon. It is used by systemd and gets created automatically. The only thing you could worry about is the parent directory of the pidfile, but not having a pidfile doesn't block the daemon from running.

Furtermore, I advice you to start with the most basic you can. Just install slurmctld and slurmd, and forget about slurmdbd for now.
Just take the minimal example configurations from the slurm website, and try to get a slurctld + a slurmd up and running.
 I advice you to just start slurmctld and slurmd by executing the full path from a comandline. You might need a -d or -D or something to not let the deamon fork into the background. Slurmctld -h should give you the right option.

Succes!

Geert


________________________________
From: Kenneth Russell <linux-ken at comcast.net>
Sent: Saturday, May 5, 2018 20:52
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] After Each slurm Run, I Need to Reinstall slurm

I am a new slurm user and am trying to set up a single node test system. I have spent endless hours trying to get slurm services to start. I am running Ubuntu Server V16.04 and slurm 17.11.5. My MB has an AMD 8 core processor. When I try to start slurmdbd or slurmctld services I get messages saying can't access shared libraries or pid files missing. At times, I noticed that the pid files in /var/run have been deleted. I have made copies of the pid files and copy them back to /var/run when they are missing.

I have found that if I reinstall slurm from the tarball, the services will start. To speed things up, I have created a bash script to reinstall slurm, starting with the tarball extraction step. This is a very inefficient work-around.

Can anyone help me solve the problem of why slurm runs only once and then fails on subsequent starts?

I can send copies of conf and log files if requested.

Thanks, in advance.

Ken Russell




More information about the slurm-users mailing list