Skip to content

How do I make mem_mb_per_cpu work? #112

@hepcat72

Description

@hepcat72

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions