Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need alternative way to specify no memory request #152

Open
gdevenyi opened this issue Apr 20, 2018 · 1 comment
Open

Need alternative way to specify no memory request #152

gdevenyi opened this issue Apr 20, 2018 · 1 comment
Milestone

Comments

@gdevenyi
Copy link
Member

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants