MrBayes icon indicating copy to clipboard operation
MrBayes copied to clipboard

Error when running two MCMCs sequentially

Open zhangchicool opened this issue 8 years ago • 4 comments

Using the attached file, the second mcmc (line 153) after the first (line 149) will produce ERROR: Calibrated trees require compatible clockrates for run:0 chain:0 or extremely extremely low likelihood.

hym.nex.zip (https://sourceforge.net/p/mrbayes/bugs/1625)

zhangchicool avatar Feb 17 '17 10:02 zhangchicool

Update:

Currently (v.3.2.7a), running the file with a mb binary build with beagle3 will end in Error: Consecutive MCMC runs not currently supported with BEAGLE. Please restart MrBayes.. Running the file with a mb without beagle results in a core dump (on Linux)!

nylander avatar Sep 23 '19 12:09 nylander

Consecutive mcmc commands does work on other files:

curl -o primates.nex "https://raw.githubusercontent.com/NBISweden/MrBayes/develop/examples/primates.nex"
mb.3.2.7a-no-beagle << ENDOFCOMMAND
set autoclose=yes nowarnings=yes
exe primates.nex
mcmc ngen=10000 nruns=1
mcmc
mcmc
quit
ENDOFCOMMAND

nylander avatar Sep 23 '19 12:09 nylander

Update:

Currently (v.3.2.7a), running the file with a mb binary build with beagle3 will end in Error: Consecutive MCMC runs not currently supported with BEAGLE. Please restart MrBayes.. Running the file with a mb without beagle results in a core dump (on Linux)!

Dear sir: I met the same problem when running MPI version of Mrbayes 3.2.7a on computer clusters . Command: mpirun -np 8 mb execute 38.nex lset nst=6 rates=invgamma Nucmodel=Protein mcmc ngen=20000 samplefreq=1000 printfreq=1000 diagnfreq=100 could you tell me how to address it?

hdxieruize avatar Dec 12 '19 16:12 hdxieruize

Dear @hdxieruize,

It might be confusing, but this thread is describing two behaviors of the use of two consecutive mcmc-commands. One is the message from beagle, clearly stating that "Consecutive MCMC runs not currently supported", and the other is the crash (core dump) of the MrBayes software on Linux (when consecutive runs are attempted). It is not clear to me which of these issues you are referring to . As a possibly related note, please make sure the mb binary you are using in your parallel run is compiled with MPI support.

/Johan

nylander avatar Dec 18 '19 15:12 nylander