qbatch icon indicating copy to clipboard operation
qbatch copied to clipboard

Need alternative way to specify no memory request

Open gdevenyi opened this issue 6 years ago • 1 comments

Currently, memory request of 0 is used to indicate not making a memory request.

SLURM reserves 0 to a special request of "give me all ram on the node". So we can't see this.

Either -1 or maybe start with it being "None"?

gdevenyi avatar Apr 20 '18 18:04 gdevenyi

'None' is the Python-ism for this, the annoyance being that this doesn't parse as a number so the user can't specify it explicitly (e.g., to override an environment var via the command line) without a couple extra lines of code.

bcdarwin avatar Apr 20 '18 19:04 bcdarwin