I am trying to use the Parallel DYNARE Toolbox. So far, I have done all the steps as described in the manual:
I have downloaded PSTools and added the unzipped folder to the windows path (also as a new path in MATLAB).
I have created the config-file (called "config.m) and put it in the same folder as the mod-file (I have attached the file. Is it correct that it is an m-file?).
I wrote the following command line in Matlab: dynare NKMODEL.mod parallel conffile=config.m
However, before running the two chains, Dynare told me that it couldn’t find psexec. After putting all the files of PSTools in the same folder as the mod-file, the error didn’t show up again. After that, the Metropolis Progess Dialog Box appeared, but the two runs did not start (just saying “Initializing”).
Does anyone know where my mistake is?
Thanks very much for any help in advance,
Config.m (96 Bytes)
I encountered exactly this same problem…did you find a solution? I’d appreciate any guidance.
thanks in advance,
sorry that I missed the first message of this topic some months ago…
- pstools should be in the path of windows (edit the path environment variable from my computer - properties - advanced - environment variables);
- the first time psexec is run there is a pop-up window asking to accept licence agreement, without accepting this, parallel instance stay idle to psexec starting to work: the popup window should be behind the matlab window
- alternatively, in order to have psexec working properly before trying dynare parallel, run psexec from a dos command window: accept the licence agreement and then parallel instance should work without problems.
Thank you rattoma for answering. I just wanted to re-ask a question that also was in the first message: is the configuration file an m-file? It is a very basic question indeed, but I could not find this information anywhere in the Reference Manual nor the Parallel Dynare Guide…
the configuration file is not an m file: it is just a txt or ini file (i.e. a plain ASCII file).