-
Notifications
You must be signed in to change notification settings - Fork 22
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
threads directive of a rule not taken into account #145
Comments
I'm not an author of this plugin but I might be able to help. I think However this brings up the annoyance that led me to search this issues page in the first place. If I suppose this behavior is in line with a very close reading of the Snakemake CLI documentation, however it was not the behavior prior to Snakemake v8.0.0 and |
Spot on, thanks a lot! It was the available cores on the head node, and moving cores outside of I also saw that the maintainers were overwhelmed, I'll leave this open in case other people also stumble upon this, but feel free to close it. |
Are you sure that
with this profile
it saturates all available nodes (more than the 256 cores). I would expect that at most four |
I actually do use the "threads", and it is only taken into account when setting (in my config.yaml): set-threads:
salmon: 16 When I use set-resources as below: set-resources:
salmon:
threads: 16
mem_mb: 20000 # This seems to work, but can we do with less?
runtime: 600 threads is ignored and the default from the rule is used. |
@freekvh this is intended behaviour according to the docs; scroll down a bit. It is not related to the issues mentioned in this thread. The reason behind this redundant definition is, that the Everyone, please open separate issues, when dealing with separate issues. ;-) |
Software Versions
snakemake 8.18.2
snakemake-executor-plugin-slurm 0.10.0
snakemake-executor-plugin-slurm-jobstep 0.2.1
slurm 23.02.7
Describe the bug
The number of threads specified (64) for the rule
BaseCellCounter_scDNACalling
is not respected. Instead, 4 threads are provided, always, even if I require 1 thread. No idea why 4 in particular. It is similar to #141, but I'm not submitting through bash but through the head node, so I opened a new issue. I tried with threads, cpus-per-task, both, inside the rule, in the profile... Nothing works.Here is my profile, and you can find the logs below:
Logs
Minimal example
will give:
Additional context
Not related, but any idea why the tmpdir is <TBD> although I specify it in the profile?
The text was updated successfully, but these errors were encountered: