Slurm瞎搞2:强行kill掉程序后error: Unable to register: Unable to contact slurm controller (connect
起因是因为想kill掉一些进程,冒险使用了命令
kill -9 -1
的确杀死了所有进程,但是也把slurm的进程杀死了
此时出现错误:
error: Unable to register: Unable to contact slurm controller (connect failure)
使用
systemctl restart mysql
systemctl restart slurmctld
scontrol update NodeName=tower名称 State=RESUME
成功地激活了节点,但是
idle旁边出现了*
sinfo也会显示reason not responding
遍寻网络无法可解,思来想去可能是因为删除所有进程的时候kill掉了slurm相关进程,于是
#重启解决一切
reboot
重启后sinfo idle不在带*
成功!