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

[Bug] Mistake in slurm config yaml #141

Open
wlason opened this issue Oct 22, 2024 · 1 comment
Open

[Bug] Mistake in slurm config yaml #141

wlason opened this issue Oct 22, 2024 · 1 comment

Comments

@wlason
Copy link

wlason commented Oct 22, 2024

Description

Snakemake doesn't correctly recognise the number of threads from the cluster command in the slurm config yaml. The provided cores shows as 1.

--cpus-per-task={threads}

This should instead be {resources.threads}, which I tested works as expected (is set to whatever is set as threads in the default-resources inside the yaml).

@quentinblampey
Copy link
Collaborator

Thanks @wlason for reporting this, I'm surprised I have not caught it before!
I'll now have a look at your PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants