Problem with dynare-Octave

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Problem with dynare-Octave

Postby ripatti » Sun Nov 09, 2008 8:38 pm

Dear Musketeers,

I am running dynare 4.0.2 with Octave 3.0.1. The dynare code is something very simple (so far). The code crashes to the following error message that is accompanied with an error message window saying
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files\Octave\bin\octave-3.0.1.exe
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.


Any ideas what to change?

Cheers,
Antti

Code: Select all
octave-3.0.1.exe:9> dynare miuf;

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.

Starting Dynare ...
Starting preprocessing of the model file ...
10 equation(s) found
Processing derivation ...
  Processing Order 1... done
Processing outputs ...
Preprocessing completed.
Starting Matlab computing ...

error: library initialization routine failed: c:\dynare\4.0.2\matlab\../mex/octa
ve/mjdgges.mex
error: failed to install .mex file function `mjdgges'
error: `mjdgges' undefined near line 360 column 43
error: evaluating if command near line 322, column 5
error: called from `dr1' in file `c:\dynare\4.0.2\matlab\dr1.m'
error: evaluating if command near line 94, column 1
error: called from `resol' in file `c:\dynare\4.0.2\matlab\resol.m'
error: called from `check' in file `c:\dynare\4.0.2\matlab\check.m'
error: near line 122 of file `d:\antti\tyot\MonetaryMacro\code\miuf.m'
error: called from `dynare' in file `c:\dynare\4.0.2\matlab\dynare.m'
octave-3.0.1.exe:9>
ripatti
 
Posts: 59
Joined: Mon Jan 16, 2006 6:28 am
Location: Helsinki

Re: Problem with dynare-Octave

Postby MichelJuillard » Wed Nov 12, 2008 1:50 am

Hi Antti,

obviously the DLL's that we are shipping aren't compatible with your version of Octave. Please, try to recompile them by following the instructions at
http://www.dynare.org/DynareWiki/BuildingDlls

All the best,

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Problem with dynare-Octave

Postby SébastienVillemot » Wed Nov 12, 2008 9:46 am

Hi

I agree with Michel.

Note that on the Octave Forge site, they provide two binaries for Octave 3.0.1:
- one compiled with Microsoft Visual C++ 2005, simply called "octave-3.0.1.exe"
- and another compiled with Microsoft Visual C++ 2008, called "octave-3.0.1-vs2008.exe"

The binaries we provide for Dynare/Octave are only compatible with the MS Visual C++ 2008 version. Maybe you installed the other one. Try to reinstall Octave using the MSVC 2008 version.

Best

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

Re: Problem with dynare-Octave

Postby ripatti » Wed Nov 12, 2008 3:13 pm

Many thanks for the advise! I had a wrong version of Octave.

Antti
ripatti
 
Posts: 59
Joined: Mon Jan 16, 2006 6:28 am
Location: Helsinki


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests