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

SLURM resources as ‘partition’, ‘ntasks’, ‘cpus’, etc. need to be defined per rule #79

Open
pmb59 opened this issue Dec 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pmb59
Copy link
Member

pmb59 commented Dec 12, 2023

After the SLURM migration, we can fine tune even more the resources for each rule:

Execute snakemake rules as SLURM batch jobs according to their ‘resources’ definition. SLURM resources as ‘partition’, ‘ntasks’, ‘cpus’, etc. need to be defined per rule within the ‘resources’ definition. Note, that memory can only be defined as ‘mem_mb’ or ‘mem_mb_per_cpu’ as analogous to the SLURM ‘mem’ and ‘mem-per-cpu’ flags to sbatch, respectively. Here, the unit is always ‘MiB’. In addition ‘–default_resources’ should contain the SLURM account.

https://snakemake.readthedocs.io/en/stable/executing/cli.html#slurm

@pmb59 pmb59 added the enhancement New feature or request label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant