execution error

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.

execution error

Postby lizig » Thu Mar 24, 2016 10:43 am

Hello,

Trying to figure out if I have the best version of Octave installed to run Dynare.

I have Octave 3.6.4 installed with Dynare 4.4.3. and when I try to run example1 from the install package I receive
Code: Select all
octave:3> dynare example1

Configuring Dynare ...
error: caught execution error in library function
error: called from:
error:   c:\dynare\4.4.3\matlab\dynare_config.m at line 230, column 10
error:   c:\dynare\4.4.3\matlab\dynare.m at line 48, column 12


I'm completely new to this and don't know how to fix it!

Thanks!
lizig
 
Posts: 3
Joined: Thu Mar 24, 2016 10:32 am

Re: execution error

Postby HoutanBastani » Tue Mar 29, 2016 8:57 am

On the download page http://www.dynare.org/download/dynare-stable you can see that Dynare 4.4.3 works with Octave 3.8 for MinGW, which can also be downloaded from the Dynare web page http://www.dynare.org/download/octave/windows
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: execution error

Postby lizig » Tue Mar 29, 2016 1:56 pm

Thanks Houtan.

I am able to have dynare run example1 now. Next, I am trying to run models from my professor from the Gali text book and I receive this error
"panic: Segmentation violation" and then octave shuts down.

Do you have any suggestions? Or are the models too large to run on Octave?

Thanks.
lizig
 
Posts: 3
Joined: Thu Mar 24, 2016 10:32 am

Re: execution error

Postby HoutanBastani » Tue Mar 29, 2016 2:24 pm

Please provide the .mod file you are trying to run as well as any data files so we can try to reproduce the error
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: execution error

Postby lizig » Tue Mar 29, 2016 3:06 pm

Hi Houtan,

I have attached one of the .mod files I need to use for my assignment that causes Octave 3.8.1 to shut down when I try to run it.

Thanks.
Attachments
gali_ch5_optpol_commitment.mod
(1.2 KiB) Downloaded 87 times
lizig
 
Posts: 3
Joined: Thu Mar 24, 2016 10:32 am

Re: execution error

Postby jpfeifer » Tue Mar 29, 2016 3:24 pm

The mod-file defines p, which has a unit root. The Octave mex-files seem unable to handle this. For now you can either remove the definition of p or the mex-files.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 14 guests