Open zimmerrol opened 1 year ago
me too
Version=22.05.8
Slurm Commander should be capable of Json-output .
And saact
command needs Slurmdbd daemons.
You can check this with the following command:
sacct --json
If you receive an error message when running this command, scom cannot work properly.
When running scom I get the following error message:
ERROR: Failed to run sinfo command, check your scom.conf and set the correct paths there.
The config file (as recognized and printed by scom) looks like this:
INFO: Configuration: &config.ConfigContainer{Prefix:"/usr/bin", Binpaths:map[string]string{"sacct":"/usr/bin/sacct", "sacctmgr":"/usr/bin/sacctmgr", "sbatch":"/usr/bin/sbatch", "scancel":"/usr/bin/scancel", "scontrol":"/usr/bin/scontrol", "sinfo":"/usr/bin/sinfo", "squeue":"/usr/bin/squeue", "sstat":"/usr/bin/sstat"}, Tick:0x3, JobHist:config.ConfigJobHistContainer{Starttime:"now-7days", Endtime:"", Timeout:0x1e}, TemplateDirs:[]string{"/etc/scom/templates"}}
Interestingly, path in the config for the
sinfo
command (i.e.,/usr/bin/sinfo
) is valid and points to thesinfo
binary. Thus, I don't understand what causes this error message. I'm using slurm 20.11.9.