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

set disk_mb values appropriately #58

Open
aryarm opened this issue Sep 1, 2020 · 0 comments
Open

set disk_mb values appropriately #58

aryarm opened this issue Sep 1, 2020 · 0 comments
Labels
bug Something isn't working gcp

Comments

@aryarm
Copy link
Owner

aryarm commented Sep 1, 2020

The majority of the errors I've been seeing while running the pipeline on Google Cloud have to do with insufficient disk space or memory.
I've tried to set some reasonable default values for these within the Snakefile and in run-gcp based on a sample that I ran locally on our cluster, but I'm sure those won't be sufficient for all of the samples that we want to run in the future.
After discussing with the Snakemake team, they recommended the following:

Regarding your disk_mb problem, you need to add --default-resources to the snakemake invocation. This way, disk_mb will be automatically set to a reasonable default (max(2*input.size_mb, 1000)). The same for mem_mb.

So we should probably try that to see if it will help.
The Snakemake documentation talks about it in their execution section, but some digging might need to be done to figure out how to use this properly for ourselves.

@aryarm aryarm added bug Something isn't working good first issue Good for newcomers gcp labels Sep 1, 2020
@aryarm aryarm removed the good first issue Good for newcomers label Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gcp
Projects
None yet
Development

No branches or pull requests

1 participant