First time invocation

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.

First time invocation

Postby michaelmas » Sat Mar 12, 2011 1:51 pm

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
michaelmas
 
Posts: 3
Joined: Sun Feb 27, 2011 11:17 am

Re: First time invocation

Postby SébastienVillemot » Mon Mar 21, 2011 11:33 am

There seems to be two problems:

Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: First time invocation

Postby michaelmas » Sat Mar 26, 2011 8:19 pm

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 ?
michaelmas
 
Posts: 3
Joined: Sun Feb 27, 2011 11:17 am

Re: First time invocation

Postby SébastienVillemot » Mon Apr 11, 2011 12:39 pm

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.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests