3rd order problem

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.

3rd order problem

Postby mktlkez » Sat Aug 28, 2010 1:42 am

I'm on a Mac, running 4.1.2, and just tried running stoch_simul with a 3rd order approximation. Any idea what this error message means:

/Applications/MATLAB_R2009b.app/bin/mex: line 1107: gcc-4.0: command not found
/Applications/MATLAB_R2009b.app/bin/mex: line 997: gcc-4.0: command not found

mex: compile of ' "Model06_16_10_dynamic.c"' failed.

??? Error using ==> mex at 221
Unable to complete successfully.

Error in ==> Model06_16_10 at 135
eval('mex -O LDFLAGS=''-Wl,-twolevel_namespace -undefined error -arch \$ARCHS
-Wl,-syslibroot,\$SDKROOT -mmacosx-version-min=\$MACOSX_DEPLOYMENT_TARGET
-bundle'' Model06_16_10_dynamic.c')

Error in ==> dynare at 132
evalin('base',fname) ;
mktlkez
 
Posts: 13
Joined: Tue Jun 22, 2010 3:35 pm

Re: 3rd order problem

Postby HoutanBastani » Mon Aug 30, 2010 9:43 am

Hello,

It seems as though you do not have the gcc compilers installed on your computer. Please see step 1 of the "MATLAB Setup" section of this website: http://www.dynare.org/DynareWiki/InstallOnMacOSX

If there is still a problem after you do this, please respond to this post.

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

Re: 3rd order problem

Postby mktlkez » Mon Aug 30, 2010 4:08 pm

Thanks. It's quite a bit closer. Now it calculates up through the Matrix of Covariance of Exogenous Shocks and then gives me:

??? Error using ==> rdivide
Matrix dimensions must agree.

Error in ==> th_autocovariances at 162
Gamma_y{nar+2}(stationary_vars,i) = Gamma_y{nar+ ...

Error in ==> disp_th_moments at 37
[oo_.gamma_y,stationary_vars] = th_autocovariances(dr,ivar,M_,options_);

Error in ==> stoch_simul at 73
disp_th_moments(oo_.dr,var_list);

Error in ==> Inventories06_16_10 at 302
info = stoch_simul(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;

>>
mktlkez
 
Posts: 13
Joined: Tue Jun 22, 2010 3:35 pm

Re: 3rd order problem

Postby SébastienVillemot » Mon Sep 13, 2010 2:11 pm

Please post your MOD file if you want help on that.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: 3rd order problem

Postby cekalino » Sat Jul 07, 2012 4:56 pm

Hello, I have exactly the same problem. I have instaled Xcode v3.2.2 but what matlab says is still the same:

/Applications/MATLAB_R2009b.app/bin/mex: line 1107: gcc-4.0: command not found
/Applications/MATLAB_R2009b.app/bin/mex: line 997: gcc-4.0: command not found

mex: compile of ' "durlevML.c"' failed.

The thing is that if I browse the Xcode folder (namely Developer/usr/bin/) there is gcc-4.0 instaled.

I don't know what to do else - should I somehow set an adress to this file in matlab?

Please, help me! I would appreciate it a lot! Thank you
cekalino
 
Posts: 1
Joined: Sat Jul 07, 2012 4:50 pm

Re: 3rd order problem

Postby HoutanBastani » Sat Jul 07, 2012 5:23 pm

Please install Dynare 4.3. There is no compilation required.

NB: OS X < 10.6.8 is no longer supported.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 3 guests