Segmentation Fault

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.

Segmentation Fault

Postby robpancr » Mon Oct 15, 2012 8:49 am

Dear all,
I have installed dynare in my two Macs (iMac and Macbook Pro) and I receive the same error when I try to run a .mod file.
I have tried to run the example1.mod that you can find in the example directory.

In both computer I am running the version OS X - 10.7.5

Is there any way I can solve this problem and let dynare work?

Thanks for your help
robpancr
 
Posts: 9
Joined: Mon Oct 15, 2012 8:44 am

Re: Segmentation Fault

Postby HoutanBastani » Mon Oct 15, 2012 10:01 am

Can you copy and paste the Dynare output for me?

What version of Matlab are you using?
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Segmentation Fault

Postby robpancr » Mon Oct 15, 2012 10:25 am

I am running the R2012a version of matlab


Here is the error message:

>> dynare example1.mod

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

"/MATLAB/Dynare/4.3.1/matlab/dynare_m" example1.mod: Segmentation fault
Error using dynare (line 114)
DYNARE: preprocessing failed
robpancr
 
Posts: 9
Joined: Mon Oct 15, 2012 8:44 am

Re: Segmentation Fault

Postby vero_acurio » Mon Oct 15, 2012 12:29 pm

Hello Rob,

I have the same problem. Do you solve it?

Best Regards,

Veronica
vero_acurio
 
Posts: 15
Joined: Thu Jun 25, 2009 7:40 pm

Re: Segmentation Fault

Postby HoutanBastani » Mon Oct 15, 2012 10:51 pm

I'll get back to you guys over the next few days about this.

Best,
Houtan
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Segmentation Fault

Postby Vorada Limjaroenrat » Tue Oct 16, 2012 6:34 am

Same problem occured with my mac too,
Thanks for your help in advance.

Regards,
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm

Re: Segmentation Fault

Postby HoutanBastani » Tue Oct 16, 2012 8:57 am

Thanks for updating me. It is useful to know actually what system you're running on:

OS Version: e.g. 10.7.5
Architecture: e.g. 64 bit
Matlab version: e.g. R2012a

Thanks,
Houtan
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Segmentation Fault

Postby robpancr » Tue Oct 16, 2012 10:06 am

OS: Mac OS X - 10.7.5

MATLAB: R2012a - 64 bit
robpancr
 
Posts: 9
Joined: Mon Oct 15, 2012 8:44 am

Re: Segmentation Fault

Postby Vorada Limjaroenrat » Tue Oct 16, 2012 10:08 am

os version : 10.7.4
matlab version : R2011b-64bit

Regards,
Vorada
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm

Re: Segmentation Fault

Postby HoutanBastani » Tue Oct 16, 2012 10:20 am

Hi,

Solving this problem is made a bit difficult by the fact that I don't have a computer with 10.7 to actually test on.

So, perhaps you'd be my willing guinea pigs? Please download dynare_m from here: http://www.dynare.org/houtan/segfault/

Copy it to your /Applications/Dynare/4.3.1/matlab folder

And try dynare example1.mod again

Please tell me whether or not this works for you. Thanks.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Segmentation Fault

Postby robpancr » Tue Oct 16, 2012 10:25 am

It still does not work for me.
Same error message
robpancr
 
Posts: 9
Joined: Mon Oct 15, 2012 8:44 am

Re: Segmentation Fault

Postby Vorada Limjaroenrat » Tue Oct 16, 2012 5:14 pm

nor do i. still doesn't work for me too.
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm

Re: Segmentation Fault

Postby HoutanBastani » Tue Oct 16, 2012 7:44 pm

Hi,

Until I can figure out what the problem is, you can use the /Applications/Dynare/4.3.0/matlab/dynare_m file. That way, you can still use some of the non-preprocessor bug fixes that were created in the 4.3.1 release (i.e. not ifdef, ifndef, and ohters....see: http://www.dynare.org/DynareWiki/KnownBugs )

The other option is to upgrade to 10.8.

When I fix this, I'll make a post here (hopefully in the next few days).
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Segmentation Fault

Postby Vorada Limjaroenrat » Wed Oct 17, 2012 5:54 pm

Dear Houtan,

Thankyou very much for all your help along the way. Things work for me after I install 10.8.
Thanks heaps!

Best,
Vorada
Vorada Limjaroenrat
 
Posts: 10
Joined: Tue Oct 02, 2012 7:43 pm

Re: Segmentation Fault

Postby HoutanBastani » Thu Oct 18, 2012 8:57 am

Hi Vorada,

No problem. Sorry that you had to upgrade just for this.

I'm still working on the problem....Apple changed a lot of programming tools with the upgrade to OS X 10.8 and XCode 4.5 and it's just taking a bit of time to figure out exactly what has changed and how that's causing things to break on 10.7. I'm curious to know if dynare works on 10.6, though I doubt it....
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Next

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests