Dynare stops working unexpectedly

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.

Dynare stops working unexpectedly

Postby dyndyn » Sun Jun 08, 2014 4:25 pm

I tried to run a mod file using matlab. When I type "dynare filename", a message appears and says "dynare stopped working". Then, in the Command Window I see

"This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

Does anyone have an idea of why that occurs? I was using external functions which include integrals. Can it be the source of the problem?
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby jpfeifer » Sun Jun 08, 2014 4:31 pm

Looks like a bug. Please try the most recent snapshot. If the problem persists, provide me with all file necessary to replicate the issue.
------------
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

Re: Dynare stops working unexpectedly

Postby dyndyn » Mon Jun 09, 2014 7:58 am

I downloaded and installed the 2014-06-08 version. In the "dynare" directory now I have both "4.4.2" and "2014-06-08". I tried to set path and add folder in matlab. I selected the matlab subdirectory inside "2014-06-08". I saved and closed the set path screen. Still, if I type "dynare" into matlab, it does not complain that I did not specify an MOD file. Yet, it says "not enough input argument".
Anyway, I tried to run my MOD file again, and it does not work.

Thank you
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby dyndyn » Mon Jun 09, 2014 8:01 am

I guess I installed the latest version correctly since the problem now says

"Starting Dynare (version 2014-06-08).
Starting preprocessing of the model file ...

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby jpfeifer » Mon Jun 09, 2014 8:37 am

Please provide me with the mod-file
------------
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

Re: Dynare stops working unexpectedly

Postby dyndyn » Mon Jun 09, 2014 8:54 am

Here you are.
Last edited by dyndyn on Fri Jun 20, 2014 7:56 am, edited 1 time in total.
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby dyndyn » Mon Jun 09, 2014 8:56 am

Additional functions that I included into finale2
Attachments
H_prime_prime.m
(112 Bytes) Downloaded 48 times
H_prime.m
(91 Bytes) Downloaded 42 times
H.m
(98 Bytes) Downloaded 41 times
GAMMA_prime_prime.m
(67 Bytes) Downloaded 42 times
GAMMA_prime.m
(57 Bytes) Downloaded 42 times
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby dyndyn » Mon Jun 09, 2014 8:57 am

Last set of functions
Attachments
truncmean_prime_prime.m
(169 Bytes) Downloaded 45 times
truncmean_prime_prime.m
(169 Bytes) Downloaded 39 times
truncmean.m
(632 Bytes) Downloaded 41 times
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby jpfeifer » Wed Jun 11, 2014 12:33 pm

There is a Dynare bug here that prevents correct debugging. I will notify you when it is fixed.
------------
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

Re: Dynare stops working unexpectedly

Postby dyndyn » Wed Jun 11, 2014 1:11 pm

Thank you very much. Could you please let me know if it has to do with external functions including integrals?
Anyhow, I will provide you with a cleaner file if it helps.
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Dynare stops working unexpectedly

Postby jpfeifer » Wed Jun 11, 2014 4:16 pm

I don't know yet. The problem occurs when declaring H, but I did not find anything strikingly different from the other functions. Regardless, Dynare's preprocessor should not crash like this.
------------
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

Re: Dynare stops working unexpectedly

Postby jpfeifer » Tue Jul 01, 2014 3:35 pm

We have finally identified the problem. See https://github.com/DynareTeam/dynare/issues/678
------------
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 5 guests