Cant start Dynare on Ubuntu 12.10

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.

Cant start Dynare on Ubuntu 12.10

Postby Falc7 » Sat Mar 09, 2013 2:59 pm

So I installed Dynare on Ubuntu 12.10 using the reposititories, and running it under octave, not matlab. Then i start Octave, a terminal window pops up:

Code: Select all
octave:1> dynare filename.mod
 
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
 
error: DYNARE: can't open filename.mod
error: called from:
error:   /usr/share/octave/site/m/dynare.m at line 104, column 5
octave:1>

Falc7
 
Posts: 2
Joined: Sat Mar 09, 2013 2:56 pm

Re: Cant start Dynare on Ubuntu 12.10

Postby HoutanBastani » Mon Mar 11, 2013 3:23 pm

You need to change to the directory that contains the .mod file before running dynare.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Cant start Dynare on Ubuntu 12.10

Postby blueberry » Wed Mar 13, 2013 6:16 am

Hi everyone,

I have a similar problem.

I am new to Linux. I have Ubuntu 12.04.2 and Dynare 4.2.4-1.

I downloaded Octave 3.2.4, then Dynare.
I then changed my current directory and ran dynare:


octave-3.2.4:1> cd/home/oliver/Documents/DynareModFiles
octave-3.2.4:2> dynare example1.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.

error: DYNARE: can't open example1.mod
error: called from:
error: /usr/share/octave/site/api-v37/m/dynare.m at line 98, column 5



Any hints on what is wrong?

Thank you!
blueberry
 
Posts: 2
Joined: Wed Mar 13, 2013 4:52 am

Re: Cant start Dynare on Ubuntu 12.10

Postby HoutanBastani » Wed Mar 13, 2013 7:27 am

Add a space between "cd" and the file path and try again.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Cant start Dynare on Ubuntu 12.10

Postby blueberry » Wed Mar 13, 2013 9:02 am

Thank you, it worked!
I should have read a little more about file paths in linux before asking.
blueberry
 
Posts: 2
Joined: Wed Mar 13, 2013 4:52 am

Re: Cant start Dynare on Ubuntu 12.10

Postby Falc7 » Wed Mar 13, 2013 4:37 pm

Ah yes makes sense thanks
Falc7
 
Posts: 2
Joined: Sat Mar 09, 2013 2:56 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests