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

check memory is specified as numeric value #233

Closed
wants to merge 15 commits into from

Conversation

sam217pa
Copy link

Hi,
I'm on a slurm cluster and tried specifying memory usage with template = list(memory = "4G"), as slurm understands this kind of argument.
I got the "Worker needs about 23Mb overhead ..." error because memory wasn't passed a numeric value.

I guess a simple condition like this could solve this problem; I don't really know how the rest of the code would interpret it though.

thanks for clustermq anyway ;)

mschubert and others added 15 commits October 17, 2020 20:36
Added documentation for all of the cmq options in one place
Hi,
I'm on a slurm cluster and tried specifying memory usage with `template = list(memory = "4G")`, as slurm understands this kind of argument.
I got the "Worker needs about 23Mb overhead ..." error because memory wasn't passed a numeric value.

I guess a simple condition like this could solve this problem; I don't really know how the rest of the code would interpret it though.

thanks for clustermq anyway ;)
@mschubert
Copy link
Owner

Thank you for the PR, @sam217pa!

I will, however, try to fix this in a way that clustermq understands shorthands such as "4G" for v0.9

Related: #137

@mschubert mschubert closed this Apr 5, 2021
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

Successfully merging this pull request may close these issues.

3 participants