slurmtools
slurmtools copied to clipboard
malformed gres string
Hi Giovanni,
I get this error when running show-cluster-util
Malformed gres string: gpu:k80:4(IDX:0-3)
Regards, Chad
@wresch Did you ever write an updated gres parser to handle the newer gres string format?
yes our internal show-cluster-util handles it. but it does so with an older pyslurm. trying to test with a newer version now, but having some trouble getting pyslurm to build.
created pull request #5
Thanks @wresch !
@wccropper I merged PR #5. Could you give it a try now?
I no longer get the malformed GRES error. BUt I am on SLURM 18.08.3. Here is my test and output:
$ conda list | grep pyslurm
pyslurm 18.8.3.1
@wccropper - did you edit the path to pyslurm at
https://github.com/giovtorres/slurmtools/blob/0d27225ac297ff839000502a76d46f5fc706a9cb/show-cluster-util/show-cluster-util#L32
it's somewhat awkwardly included in the script rather than a config file...
It gives the same error whether I use the local python 2.7.5 site-packages or the conda env site-packages paths. I have installed the 18.08.3 pyslurm on both.