Problem with running Dynare

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.

Problem with running Dynare

Postby shako » Sat Jun 30, 2012 8:19 pm

Hello guys,
I'm getting some error message while executing the MOD file.
I have installed GNU Octave version 3.4.0 and Dynare version 4.3.0 for Mac OS X.
Here is the error I get:

octave-3.4.0:9> addpath /Applications/Dynare/4.3.0/matlab
octave-3.4.0:16> dynare NK_GM05.mod

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).

Starting Dynare (version 4.3.0).
Starting preprocessing of the model file ...
Substitution of endo leads >= 2: added 6 auxiliary variables and equations.
Substitution of endo lags >= 2: added 11 auxiliary variables and equations.
Found 36 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

error: value on right hand side of assignment is undefined
error: called from:
error: /Users/shako/Desktop/MMB/NK/NK_GM05.m at line 326, column 10
error: /Applications/Dynare/4.3.0/matlab/dynare.m at line 120, column 1
octave-3.4.0:16>


and this is the line in NK_GM05.m at line 326:

thispath = cd;


If you need some extra information please ask.
Any help would be much appreciated.

Best regards,
Shako
shako
 
Posts: 3
Joined: Sat Jun 30, 2012 7:46 pm

Re: Problem with running Dynare

Postby HoutanBastani » Tue Jul 03, 2012 10:07 am

Hi, please post your mod file so I can try to replicate the problem.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Problem with running Dynare

Postby shako » Tue Jul 03, 2012 1:08 pm

Here is the MOD file attached
Attachments
NK_GM05.mod
(8.9 KiB) Downloaded 91 times
shako
 
Posts: 3
Joined: Sat Jun 30, 2012 7:46 pm

Re: Problem with running Dynare

Postby HoutanBastani » Wed Jul 04, 2012 7:36 am

This is an error in your modfile. cd does not produce any output in Octave, it is only used for changing directories. Use the pwd command instead.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Problem with running Dynare

Postby shako » Mon Jul 09, 2012 10:05 am

HoutanBastani wrote:This is an error in your modfile. cd does not produce any output in Octave, it is only used for changing directories. Use the pwd command instead.


It worked. Thanks a lot!
shako
 
Posts: 3
Joined: Sat Jun 30, 2012 7:46 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests