Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Setting maximum number of CPUs with AUTO #57

Closed
sjspielman opened this issue Mar 6, 2018 · 6 comments
Closed

Setting maximum number of CPUs with AUTO #57

sjspielman opened this issue Mar 6, 2018 · 6 comments

Comments

@sjspielman
Copy link

Hi,

I am looking to run iqtree on a cluster and would like to be able to take advantage of -nt AUTO. However, by default, iqtree is detecting the total number of cores on the given compute node, which may or may not match the resource allocation requested. For example, if a node has 64 cores but my job only requested 32, I would like to be able to use AUTO while also specifying "no more than 32". Is this possible with the current version?

Thanks!
-Stephanie

@bqminh
Copy link
Member

bqminh commented Mar 8, 2018 via email

@jvollme
Copy link

jvollme commented Mar 12, 2018

I was just about to post the same Issue when I noticed it was posted here already.
This would be a very important feature for safe usage of iqtree on shared clusters. Really hope that you can implement it in the next release...

@bqminh
Copy link
Member

bqminh commented Mar 15, 2018

Can you please test beta version /releases/v1.6.2.a ?

It has a new option, for example, -ntmax 10 to restrict the maximum of 10 CPU cores.

@sjspielman
Copy link
Author

Hi Minh,

Tested Mac and Linux versions, works as expected! Thanks!

-Stephanie

@bqminh bqminh closed this as completed Mar 16, 2018
@RaSieb
Copy link

RaSieb commented Jan 14, 2021

Is this an issue only here locally, or do others also experience that the -ntmax / --max-threads option is ignored in iqtree? I have tested both with iqtree 2.1.2 and 1.6.9 (which is wrongly stated as 1-6-12 in the attached screenshot), and under the Creating fast initial parsimony tree by random order stepwise addition... step, all CPU's of the node are taken when using "AUTO". [edit] I have to note that this was ran with 12k COVID-19 sequences. It seems like there is no issue with around 8k sequences...
Screen Shot 2021-01-14 at 11 42 52

@bqminh
Copy link
Member

bqminh commented Jan 28, 2021 via email

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

No branches or pull requests

4 participants