PySlurm / pyslurm

Python Interface to Slurm
https://pyslurm.github.io
GNU General Public License v2.0
491 stars 119 forks source link

Fixes req_mem value in slurmdb_jobs class #186

Closed tazend closed 3 years ago

tazend commented 3 years ago

Fixes #183

Also added a new boolean entry "req_mem_per_cpu". Otherwise, one wouldn't know if --mem (mem per node) or --mem-per-cpu was used on submission, and I wanted to leave the "req_mem" entry as integer. (in sacct they put either "c" or "n" after the number to indicate which one was used). Thought this might be the best way to do it while at the same time leaving the "req_mem" entry as is.