genomescale / starbeast2

Faster multispecies coalescent inference using multilocus data
GNU Lesser General Public License v2.1
13 stars 5 forks source link

Templates not paralellising #13

Closed rbouckaert closed 6 years ago

rbouckaert commented 6 years ago

The BEAUti templates are set without benefiting from threads; individual tree-likelihoods use the TreeLikelihood class instead of ThreadedTreeLikelihood and the CompoundDistribution for likelihood does not have its threads flag set. This is easily fixed by replacing

<distribution spec="CompoundDistribution" id="likelihood">

with

<distribution spec="CompoundDistribution" id="likelihood" usseThreads="true">

and spec="TreeLikelihood" with spec="ThreadedTreeLikelihood".