Dear all,

I am trying to estimate a Smets-Wouters model using the parallel capabilities with Dynare 4.6.1 and Matlab 2019a in a Max.

Half of the times I estimate the model there is no issue at all and the estimation runs successfully.

In the other half, estimating the model with the exact same specifications and options as in the successful cases, when MCMC finishes and Dynare is about to calculate the convergence diagnostics, it stops working. More specifically when I get the following message

Estimation::mcmc::diagnostics: Univariate convergence diagnostic, Brooks and Gelman (1998):

ssh -p ‘/bin/bash --norc -c “rm -f McMCDiagnostics_core_output_.mat"': Signal 127.mat”’: Signal 127

ssh -p '/bin/bash --norc -c "rm -f comp_status_McMCDiagnostics_core

ssh -p ‘/bin/bash --norc -c “rm -f slaveParallel_break.mat”’: Signal 127

and the bars for the diagnostics calculation, the programme stops and produces no results remaining in the “initialising” phase.

As I said this happens almost half of the times, the rest the estimation finishes successfully.

Usually when the estimation doesn’t go through Matlab gives the following message:

Warning: Unexpected end-of-file while reading compressed data.

In masterParallel (line 680)

In posterior_sampler (line 150)

In dynare_estimation_1 (line 465)

In dynare_estimation (line 105)

In NK_SW.driver (line 649)

In dynare (line 293)

In case it helps the parallel options are

options_.parallel = struct(‘Local’, 1, ‘ComputerName’,‘’, ‘CPUnbr’, [1:8], ‘UserName’,‘’,‘Password’,‘’, ‘RemoteDrive’, ‘’, ‘RemoteDirectory’,‘’, ‘MatlabOctavePath’, ‘/Applications/MATLAB_R2019a.app/bin/matlab’, ‘DynarePath’,…

‘/Applications/Dynare/4.6.1/matlab’, ‘NumberOfThreadsPerJob’,1,‘Port’,22, ‘NodeWeight’,‘1’,‘SingleCompThread’,‘false’,‘OperatingSystem’,‘unix’);

Could you please help with that?

Best,

Stelios