Cant start Dynare on Ubuntu 12.10

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]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>

[/code]

You need to change to the directory that contains the .mod file before running dynare.

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!

Add a space between “cd” and the file path and try again.

Thank you, it worked!
I should have read a little more about file paths in linux before asking.

Ah yes makes sense thanks