CoBrALab / qbatch

The Unlicense
27 stars 13 forks source link

Need alternative way to specify no memory request #152

Open gdevenyi opened 6 years ago

gdevenyi commented 6 years ago

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"?

bcdarwin commented 6 years ago

'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.