-
Notifications
You must be signed in to change notification settings - Fork 273
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
Why is k2mask
set to use only half the number of available cores?
#858
Comments
For Not sure about if it is the same case with https://avilpage.com/2024/07/mastering-kraken2-performance-optimisation.html |
The downside to it being hardcoded like that is when you run Kraken2 in a cluster environment you don't want the script looking at all the cores available on a node because you typically request a certain number of cores to use for the job and the job could be assigned to a node with a lot more cores than what you requested (that other jobs are using). |
I agree that it shouldn't be hardcoded. I am trying to understand why it could be hardcoded to |
I agree that this change should be configurable via the command line. I will address this in my next commit to k2. |
Raised PR for that #866 |
kraken2/scripts/k2
Lines 485 to 487 in 4cbdc5f
The text was updated successfully, but these errors were encountered: