Problems with mex file, matlab r2009a
Posted: Fri Feb 19, 2010 5:46 pm
Hi,
I am running a .mod file that works well in my laptop, but it does not work in the compute lab (my students need to run it) that has the same version of matlab, but windows xp in a novel network. Using a program to find dependencies, I found out that there is some .dll files missing. The error is:
>> dynare exerc5v2.mod
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
Starting Dynare (version 4.1.0).
Starting preprocessing of the model file ...
Found 7 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
Norm of First-order Trust-region
Iteration Func-count f(x) step optimality radius
0 1 3.19461 0.927 1
1 2 1.34828 1 1.12 1
2 3 1.34828 2.36801 1.12 2.5
3 4 0.271267 0.592001 0.577 0.592
4 5 0.271267 1.48 0.577 1.48
5 6 0.0428827 0.370001 0.237 0.37
6 7 0.0168107 0.925002 0.398 0.925
7 8 0.000993838 0.398285 0.123 0.925
8 9 1.71192e-007 0.0422893 0.00163 0.996
9 10 2.8275e-014 0.00128043 6.37e-007 0.996
10 11 5.60394e-027 1.11879e-006 2.96e-013 0.996
Optimization terminated: first-order optimality is less than options.TolFun.
STEADY-STATE RESULTS:
y 1.04982
c 0.91538
i -1.0233
n -0.223217
l 0.65146
k 1.79011
z 0
??? Invalid MEX-file
'E:\a\dynare\4.1.0\matlab\..\mex\matlab\win32-7.5-7.9\mjdgges.mexw32': The specified
module could not be found.
.
Error in ==> dr1 at 325
[ss,tt,w,sdim,dr.eigval,info1] = mjdgges(e,d,options_.qz_criterium);
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 ==> exerc5v2 at 133
info = stoch_simul(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Please, help!!!!
Ana
I am running a .mod file that works well in my laptop, but it does not work in the compute lab (my students need to run it) that has the same version of matlab, but windows xp in a novel network. Using a program to find dependencies, I found out that there is some .dll files missing. The error is:
>> dynare exerc5v2.mod
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
Starting Dynare (version 4.1.0).
Starting preprocessing of the model file ...
Found 7 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.
Norm of First-order Trust-region
Iteration Func-count f(x) step optimality radius
0 1 3.19461 0.927 1
1 2 1.34828 1 1.12 1
2 3 1.34828 2.36801 1.12 2.5
3 4 0.271267 0.592001 0.577 0.592
4 5 0.271267 1.48 0.577 1.48
5 6 0.0428827 0.370001 0.237 0.37
6 7 0.0168107 0.925002 0.398 0.925
7 8 0.000993838 0.398285 0.123 0.925
8 9 1.71192e-007 0.0422893 0.00163 0.996
9 10 2.8275e-014 0.00128043 6.37e-007 0.996
10 11 5.60394e-027 1.11879e-006 2.96e-013 0.996
Optimization terminated: first-order optimality is less than options.TolFun.
STEADY-STATE RESULTS:
y 1.04982
c 0.91538
i -1.0233
n -0.223217
l 0.65146
k 1.79011
z 0
??? Invalid MEX-file
'E:\a\dynare\4.1.0\matlab\..\mex\matlab\win32-7.5-7.9\mjdgges.mexw32': The specified
module could not be found.
.
Error in ==> dr1 at 325
[ss,tt,w,sdim,dr.eigval,info1] = mjdgges(e,d,options_.qz_criterium);
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 ==> exerc5v2 at 133
info = stoch_simul(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Please, help!!!!
Ana