Error with second order perturbation

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.

Error with second order perturbation

Postby aajello » Wed May 21, 2008 8:47 pm

Hi,

I have been using Dynare to solve a model through second order perturbations. Sometimes I am able to get to the solution, but from every now and then the following error message appears when invoking stoch_simul:

??? Error using ==> gensylv
èÄÿ1At gensylv/cc/Vector.cpp:101:Attempt to assign overlapping vectors.


Error in ==> dr1 at 443
dr.ghxx = gensylv(2,A,B,C,D);

Error in ==> resol at 48
[dr,info] = dr1(dr,check_flag);

Error in ==> stoch_simul at 46
[dr_, info] = resol(ys_,0);

Error in ==> EZ_Yields at 428
info=stoch_simul(var_list_);

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

I am using Dynare on the latest Mac OS with Matlab 2007b.

Any help would be much appreciated.

Best,

Andrea
aajello
 
Posts: 8
Joined: Mon Feb 18, 2008 3:42 am

Re: Error with second order perturbation

Postby StephaneAdjemian » Thu May 22, 2008 10:56 am

Hi Andreas,

What is the version of your Mac OS ?

What is your architecture (ppc or intel) ?

You can delete the mex file (in dynare_v4/mex/2007b), Dynare will use matlab codes to solve the sylvester equation (obviously stoch_simul will be a bit slower, it depends on the size of your model).

Best,
Stéphane.
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Postby aajello » Fri May 23, 2008 4:10 pm

Hi Stephane,

My version of Mac OS is 10.5.2 on an Intel Core Duo.

I'll try your suggestion. The model is not so big, so it should not be a big deal if it slows down a bit the computations.

Let me know if any fix is found for this problem.

Andrea
aajello
 
Posts: 8
Joined: Mon Feb 18, 2008 3:42 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests