You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a default mem_mb_per_cpu is set in the profile config.yaml, any resources: mem_mb value provided in the Snakefile is ignored. This is because mem_mb_per_cpu takes precedence in this line. I believe this wasn't by design because any resource given in the Snakefile/rule should override the profile default (hence the bug report).
Possible solutions
Either we distinguish between default and rule resources in the executor before deciding which of the two mem slurm args to add to the sbatch call or we settle on one and merge them when both are given, possibly also solving the bug reported #317, i.e. let sm do the math and only parse mem_mb.