Page 1 of 1

Parallel DYNARE Toolbox: Basic question

PostPosted: Sun Apr 22, 2012 10:04 am
by Niklas
Hello,
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,
best,
Niklas

Re: Parallel DYNARE Toolbox: Basic question

PostPosted: Sat Dec 08, 2012 6:58 pm
by cesartamayo
Hi Niklas,
I encountered exactly this same problem...did you find a solution? I'd appreciate any guidance.
thanks in advance,
Cesar

Re: Parallel DYNARE Toolbox: Basic question

PostPosted: Sun Dec 09, 2012 8:50 pm
by rattoma
Hi there,

sorry that I missed the first message of this topic some months ago...
1) pstools should be in the path of windows (edit the path environment variable from my computer - properties - advanced - environment variables);
2) 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
3) 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.

best
Marco

Re: Parallel DYNARE Toolbox: Basic question

PostPosted: Wed Dec 12, 2012 2:53 am
by MaxB
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...

Re: Parallel DYNARE Toolbox: Basic question

PostPosted: Wed Dec 12, 2012 7:18 am
by rattoma
Hi,

the configuration file is not an m file: it is just a txt or ini file (i.e. a plain ASCII file).
best
Marco