Failure in running Dynare++

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.

Failure in running Dynare++

Postby sunjin2k » Wed Jun 28, 2017 4:19 am

Hello,

I have installed Dynare, and I am trying to run Dynare++ on the command prompt. However, when I enter:
dynare++ FILENAME.mod
I'm getting the following error:
Assertion failed: ((m_->valid == LIFE_MUTEX) && (m_->busy > 0)), file ../../mingw-w64-libraries/winpthreads/src/mutex.c, line 45

I have no clue what to do. Does anybody have any clue on how to resolve this problem? I've done all the steps on another computer, and I'm able to successfully run Dynare++ on that computer, which means I am installing/running things correctly. For some reason, it doesn't run on my laptop.

All suggestions are greatly appreciated!
sunjin2k
 
Posts: 8
Joined: Sat Sep 17, 2016 4:34 am

Re: Failure in running Dynare++

Postby jpfeifer » Wed Jun 28, 2017 12:27 pm

Could you please provide the file and state which Dynare version and operating system you are using.
------------
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: Failure in running Dynare++

Postby sunjin2k » Wed Jun 28, 2017 2:30 pm

I am using example1.mod provided in the Dynare package:
C:\Program Files (x86)\dynare\4.5.0\examples\dynare++\example1.mod

To be more exact, I moved the file to another location and then ran the following code on cmd
dynare++ example1.mod

By the way, I did add the environmental variable path
C:\Program Files (x86)\dynare\4.5.0\dynare++

so that the operating system can locate dynare++.

I am using Dynare 4.5.0 for Windows. I am using Windows 10, if that's what you're asking.

Thank you so much for the help!
sunjin2k
 
Posts: 8
Joined: Sat Sep 17, 2016 4:34 am

Re: Failure in running Dynare++

Postby sunjin2k » Wed Jun 28, 2017 2:42 pm

Okay, I think I've solved my problem...

It is now working. The only thing that (I think) I changed is the ordering of the list of environmental variables path. I moved up the path for dynare++ one notch (above miktex).

Anyway it seems like it's working. I appreciate your help!
sunjin2k
 
Posts: 8
Joined: Sat Sep 17, 2016 4:34 am

Re: Failure in running Dynare++

Postby sunjin2k » Wed Jun 28, 2017 9:10 pm

I'm sorry about the confusion, but I am back to being clueless again. I turn on my laptop again, and now it doesn't work again, and I cannot figure out how to make it work. Could you provide any comments on the following message (same error message re-pasted for convenience):
Assertion failed: ((m_->valid == LIFE_MUTEX) && (m_->busy > 0)), file ../../mingw-w64-libraries/winpthreads/src/mutex.c, line 45
sunjin2k
 
Posts: 8
Joined: Sat Sep 17, 2016 4:34 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests