ERROR: cumulated_number_of_simulations_per_file(nfile+1)


I am using Dynare on a Linux server. When I run my .mod file, I get this error message:

Error in ==> metropolis at 711
trun = cumulated_number_of_simulations_per_file(nfile+1);

Error in ==> dynare_estimation at 772

Error in ==> EstIT_FA at 591

Error in ==> dynare at 26
evalin(‘base’,fname) ;

Error in ==> dynare_bg at 2
dynare EstIT_FA

It is not the first time that I have this message. Does anybody have a idea why I get this message? One time, I put mh_nblock = 2 instead of 1 and it fixed the problem (I don’t know why).

Thank you,