Error with dynare mac

Hello,

I’m having a problem running an estimation in dynare in Matlab R2016a.

When running a .mod dynare runs until

Estimation::mcmc: Details about the MCMC are available in CESEstFinalCore/metropolis/CESEstFinalCore_mh_history_0.mat

but then the following error appears:

Error using load_last_mh_history_file (line 42)
Estimation::load_mh_file: I cannot find any mh-history file in CESEstFinalCore/metropolis!
Error in posterior_sampler (line 65)
load_last_mh_history_file(MetropolisFolder, ModelName);
Error in dynare_estimation_1 (line 447)
_ posterior_sampler(objective_function,posterior_sampler_options.proposal_distribution,xparam1,posterior_sampler_options,bounds,dataset_,dataset_info,options_,M_,estim_params_,bayestopt_,oo_);_
_ Error in dynare_estimation (line 105)_
_ dynare_estimation_1(var_list,dname);_
Error in CESEstFinalCore (line 472)
oo_recursive=dynare_estimation(var_list_);_
Error in dynare (line 223)
evalin(‘base’,fname) ;

Does anybody know what the problem is and how to solve it please?

Regards,

Verónica

You have specified the load_mh_file although there is nothing to load. Or is there a mh-history file in CESEstFinalCore/metropolis?

Hi Johannes,

Thanks for your answer. I have not write any load_mh_file in my code. The code was running ok at the beginning but then it crashed… I solve the problem duplicating the .mod file, changing the name and erasing all the previous matrices for the first time.

Very strange…

Best regards,

Verónica