Page 1 of 1

First time invocation

PostPosted: Sat Mar 12, 2011 1:51 pm
by michaelmas
Hello

This is a trivial question, but I'm new to Dynare and I'm just trying to get it started properly for the first time.

Basically, this is the problem I'm getting at the moment, and I can't figure it out. There's no subdirectory named mex.

Any ideas what's going on?

Code: Select all
>> addpath /usr/share/dynare/matlab
>> dynare miu_dynare_3e.mod
Warning: Name is nonexistent or not a directory: /usr/lib/dynare/matlab/../mex/matlab.
> In path at 110
  In addpath at 87
  In dynare_config at 122
  In dynare at 82
 
Configuring Dynare ...
[m]   Generalized QZ.
[m]   Sylvester equation solution.
[m]   Kronecker products.
[m]   Sparse kronecker products.
[no]  Bytecode evaluation.
[no]  k-order perturbation solver.
[no]  k-order solution simulation.
 
??? Error using ==> dynare at 110
DYNARE: can't open miu_dynare_3e.mod

Re: First time invocation

PostPosted: Mon Mar 21, 2011 11:33 am
by SébastienVillemot
There seems to be two problems:


Re: First time invocation

PostPosted: Sat Mar 26, 2011 8:19 pm
by michaelmas
The .mod file is in the correct working directory.

I'm using Ubuntu 10.10 and the dynare-matlab package is installed, so the MEX files ought to be somewhere.

They seem to have been put into /usr/src/dynare-matlab/mex, and not /usr/lib/dynare/matlab/../mex/matlab.

Can't I just redirect the command to the /usr/src/dynare-matlab/mex ?

Re: First time invocation

PostPosted: Mon Apr 11, 2011 12:39 pm
by SébastienVillemot
For some reason (maybe permission problems), the MEX files were not copied at the right place (/usr/lib/dynare/mex/matlab). You should probably do that by hand then.