Parallel DYNARE Toolbox: Basic question

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Parallel DYNARE Toolbox: Basic question

Postby Niklas » Sun Apr 22, 2012 10:04 am

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
Attachments
Config.m
(96 Bytes) Downloaded 112 times
Niklas
 
Posts: 29
Joined: Thu May 06, 2010 10:30 pm

Re: Parallel DYNARE Toolbox: Basic question

Postby cesartamayo » Sat Dec 08, 2012 6:58 pm

Hi Niklas,
I encountered exactly this same problem...did you find a solution? I'd appreciate any guidance.
thanks in advance,
Cesar
cesartamayo
 
Posts: 1
Joined: Wed Sep 19, 2012 4:23 pm

Re: Parallel DYNARE Toolbox: Basic question

Postby rattoma » Sun Dec 09, 2012 8:50 pm

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
rattoma
 
Posts: 51
Joined: Tue Jan 04, 2005 10:48 am

Re: Parallel DYNARE Toolbox: Basic question

Postby MaxB » Wed Dec 12, 2012 2:53 am

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...
MaxB
 
Posts: 10
Joined: Fri Mar 23, 2012 10:34 am

Re: Parallel DYNARE Toolbox: Basic question

Postby rattoma » Wed Dec 12, 2012 7:18 am

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
rattoma
 
Posts: 51
Joined: Tue Jan 04, 2005 10:48 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests