Page 1 of 1

Error message in running Dynare++ for the first time

PostPosted: Fri Jun 30, 2017 3:49 am
by sunjin2k
I made a post a day or two ago, and I erroneously said that it was resolved, but no! I cannot run Dynare++ on my laptop, although I can on my desktop.

here is what I get
Assertion failed: ((m_->valid == LIFE_MUTEX) && (m_->busy > 0)), file ../../mingw-w64-libraries/winpthreads/src/mutex.c, line 45

when I run dynare++ example1.mod on Windows 10's command prompt. I am using Dynare++ default example in the package that you get when you download Dynare 4.5.0.

Any suggestion on where to even start?

Re: Error message in running Dynare++ for the first time

PostPosted: Fri Jun 30, 2017 7:58 am
by jpfeifer
Can you please describe exactly what you are doing? From which folder are you calling Dynare++. Where is the mod-file located? Do you have write permission in that folder? And does your desktop have a different system configuration?

Re: Error message in running Dynare++ for the first time

PostPosted: Fri Jun 30, 2017 3:21 pm
by sunjin2k
1) I have copy-pasted:

C:\dynare\4.5.0\examples\dynare++\example1.mod
to
C:\Users\sunjin\Dropbox\0Research\dynare_testing\example1.mod

The latter folder is where I am calling dynare++.


2) I have added the following to the list of environment variable paths:
C:\dynare\4.5.0\dynare++


3) Regarding permissions:
I have enabled full permission for the following folders:
C:\dynare
C:\Users\sunjin\Dropbox\0Research\dynare_testing

following this instruction:
http://winaero.com/blog/how-to-take-own ... indows-10/


4) I am not sure what system confirmation exactly is different between my laptop and my desktop. I have installed Dynare 4.4.3 on my desktop last year, and it is my school desktop, so they are not easy to directly compare. It will be helpful if you have suggestions on where to look.


Let me know if you need other information. I appreciate your support.

Re: Error message in running Dynare++ for the first time

PostPosted: Sun Jul 02, 2017 10:10 am
by jpfeifer
Can you please try whether Dynare++ 4.4.3 works on the laptop?

Re: Error message in running Dynare++ for the first time

PostPosted: Wed Jul 05, 2017 3:25 pm
by sunjin2k
I have reinstalled Dynare++ with the 4.4.3 version, and strangely (!) it is now working. I don't understand what the problem was, but given that it's working now I'll just be content with it.

I appreciate your help!