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

Commit

Permalink
less warning about high number of threads
Browse files Browse the repository at this point in the history
  • Loading branch information
bqminh committed Dec 8, 2017
1 parent 8d69e57 commit 2575dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/iqtree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4244,7 +4244,7 @@ void PhyloTree::warnNumThreads() {
size_t nptn = getAlnNPattern();
if (nptn < num_threads*vector_size)
outError("Too many threads for short alignments, please reduce number of threads or use -nt AUTO to determine it.");
if (nptn < num_threads*1000/aln->num_states)
if (nptn < num_threads*400/aln->num_states)
outWarning("Number of threads seems too high for short alignments. Use -nt AUTO to determine best number of threads.");
}

Expand Down

0 comments on commit 2575dd7

Please sign in to comment.