-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issues with allocated memory #11
Comments
It looks like you are using both But I could give better advice if I knew what you wanted to accomplish. Do you want to specify the memory for your jobs in MB or GB? The actual name used in the Snakefile and Assuming you want to use GB, I would recommend the following 2 steps:
The main advantage of this method is that you can do math on the integer values in the Snakefile (eg increase the memory for retries based on the variable |
Reading over this again, one issue is clearly that
Thus
However, that would only work if |
@Angel-Popa I created an example to demonstrate how to specify memory in GB. Please check it out at https://github.com/jdblischak/smk-simple-slurm/tree/main/examples/mem-gb |
Hi John, So I made the changes as you suggested and I keep getting the same issue. I also get it with the example you linked above.
|
You can ignore This is a clear downside of specifying memory in GB instead of MB. However, you can rest assured that |
Hi,
I am noticing that all my rules request memory twice, one at a lower maximum than what I requested (mem_mb) and then what I actually requested (mem_gb). If I run the rules as localrules they do run faster. How can I make sure the default settings do not interfere?
The rules are as follows:
and the config is:
Cheers,
Angel
The text was updated successfully, but these errors were encountered: