Page 1 of 1

error in solving with order=3 (Windows)

PostPosted: Wed Jan 06, 2010 2:13 pm
by lombard
Hi,

This is related to my other post on compiling for Ubuntu.

A fresh install of Dynare 4.1 failed to solve a model to third order with the following message
??? Error using ==> k_order_perturbation
Caught KordDynare exception: ../../../sources/k_order_perturbation/dynamic_dll.cc:77: Error when loading nk_model_dynamic.mexw32

(can't dynamically load the file)

Error in ==> k_order_pert at 21
[g_0, g_1, g_2, g_3] = k_order_perturbation(dr,0,M,options, oo , ['.' ...

Error in ==> dr1 at 56
[dr,info] = k_order_pert(dr,M_,options_,oo_);

Error in ==> resol at 128
[dr,info,M_,options_,oo_] = dr1(dr,check_flag,M_,options_,oo_);

Error in ==> stoch_simul at 42
[oo_.dr, info] = resol(oo_.steady_state,0);

Error in ==> nk_model at 201
info = stoch_simul(var_list_);

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


Any idea what could be the cause?

Best
Gianni

Re: error in solving with order=3 (Windows)

PostPosted: Thu Jan 07, 2010 9:22 am
by SébastienVillemot
Hi,

Are you using Microsoft Visual C++ or Cygwin as the MEX compiler ?
(see http://www.dynare.org/DynareWiki/Config ... ompilation )

What is your version of MATLAB ?

Best,