Hi,
While trying to solve a model I got this (new to me) error message with Dynare 4.0.3.
Solving the same model with a different code I got that the solution is unstable.
Is this a bug?
Best
Gianni
Hi,
While trying to solve a model I got this (new to me) error message with Dynare 4.0.3.
Solving the same model with a different code I got that the solution is unstable.
Is this a bug?
Best
Gianni
Hi Gianni, Did you try to solve your model with the snapshot version? We recently added
a trap when the jacobian matrix is complex…
Best,
Stéphane.
Hi Stephane,
I just did a fresh download of Dynare using svn but the trap does not seem to be there.
Gianni
In dr1.m you should have (lines 209 to 217):
if ~isreal(jacobia_)
if max(max(abs(imag(jacobia_)))) < 1e-15
jacobia_ = real(jacobia_);
else
info(1) = 6;
info(2) = sum(sum(imag(jacobia_).^2));
return
end
end
If the jacobian matrix is complex dr1 returns info(1)=6. Can you post (or send) your mod file if you do not fall in the trap ?
Stéphane.
Hi,
I guess that the command
svn co https://www.dynare.org/svn/dynare
did not get me the recent snapshot.
Where do I get it using svn (if at all)?
Thanks
Gianni
Hi, The snapshot version is in the trunk subdirectory. You may follow these steps :
svn co https://www.dynare.org/svn/dynare/trunk
cd ./dynare/trunk
./configure
make
The third step is new. The configuration script checks that your PC has all the needed libraries and writes the MakeFiles used to build the preprocessor and the documentation (you will find more information here).
Best,
Stéphane.