I am just starting out trying to use snakemake to run on our slurm cluster. Based on this snakemake documentation, I was trying to set:
resources:
mem_mb_per_cpu=4000
which should have been plenty, but I kept getting OUT_OF_MEMORY job states, but the amount of memory reported under MaxRSS seemed like only a handful of megabytes, which confused me (though maybe I'm not interpreting the sacct output correctly - I don't run on the cluster often).
I get the sense though based on trial and error that the profile isn't respecting the mem_mb_per_cpu setting. How do I incorporate that?
I am just starting out trying to use snakemake to run on our slurm cluster. Based on this snakemake documentation, I was trying to set:
which should have been plenty, but I kept getting
OUT_OF_MEMORYjob states, but the amount of memory reported underMaxRSSseemed like only a handful of megabytes, which confused me (though maybe I'm not interpreting the sacct output correctly - I don't run on the cluster often).I get the sense though based on trial and error that the profile isn't respecting the
mem_mb_per_cpusetting. How do I incorporate that?