beast-dev / beast-mcmc

Bayesian Evolutionary Analysis Sampling Trees
http://beast.community
GNU Lesser General Public License v2.1
192 stars 73 forks source link

MC^3 bugfixes #1127

Closed adamallo closed 2 years ago

adamallo commented 2 years ago

MC^3 was not working properly on my system since at least Beast v1.8.4. I put together 3 minor changes that solve the issues I was having. I tested these modifications in v1.8.4 and the HEAD of the master branch and it seems to work well in two systems (Mac and Linux).

Issues this pull request solves: 1) MC3 was killed almost immediately by the main thread reaching the end of BeastMain 2) MC3 would eventually hang forever with all threads sleeping/waiting due to an issue synchronizing threads 3) Pluging parsers were not being loaded in the hot chains/threads

I do not know how much interest you guys have in MC3, but I thought to share these changes just in case you find them useful.