SlurmCommander icon indicating copy to clipboard operation
SlurmCommander copied to clipboard

sinfo not found although it exists

Open zimmerrol opened this issue 2 years ago • 3 comments

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 the sinfo binary. Thus, I don't understand what causes this error message. I'm using slurm 20.11.9.

zimmerrol avatar Apr 14 '23 14:04 zimmerrol

me too

hehaoyu1023 avatar Apr 14 '23 20:04 hehaoyu1023

Version=22.05.8

hehaoyu1023 avatar Apr 14 '23 20:04 hehaoyu1023

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.

kjrstory avatar Aug 01 '23 05:08 kjrstory