Page 1 of 1

Unstable Mac Version of Dynare

PostPosted: Sun Apr 23, 2017 1:00 pm
by alfi
Hi dear Dynare Team,
why is there no new unstable dynare version for Mac OS?
The last update was one month ago. The Windows version is updated nearly on a daily basis.
Is there no support for the Mac version any more?

Thanks

Re: Unstable Mac Version of Dynare

PostPosted: Mon Apr 24, 2017 6:20 am
by jpfeifer
The reason is that Mac users can easily build the unstable version via Homebrew, see http://www.dynare.org/DynareWiki/InstallOnMacOSX. That is not possible with Windows. Because building unstable versions is a lot of work, we currently do it for Windows where no other way is available.

Re: Unstable Mac Version of Dynare

PostPosted: Mon Apr 24, 2017 12:07 pm
by alfi
Thank You!
The installation is not completely foolproof as I had to install a lot of other stuff and make some directories writeable, but after 30 minutes I had it.
And, surprise, Dynare is now running also on Mathlab 2017a.

So, thank you once more!

Re: Unstable Mac Version of Dynare

PostPosted: Wed May 03, 2017 4:52 pm
by cfig
Hi all,

I installed the unstable version of Dynare and it seems to have worked on Mac OS Sierra (Matlab 2017a). However, Dynare++ crashes and displays the message:

>> !./dynare++ --per 20 --sim 3 --ss-tol 1e-8 het_exp_g.mod
dyld: Library not loaded: /usr/local/opt/hdf5/lib/libhdf5.10.dylib
Referenced from: /Users/Google Drive/Research/uncertainty/dynare/./dynare++
Reason: image not found
./dynare++ --per 20 --sim 3 --ss-tol 1e-8 het_exp_g.mod: Aborted

Folder /usr/local/opt/hdf5/lib/ has the library libhdf5.100.dylib, but not libhdf5.10.dylib.

Thank you.

Re: Unstable Mac Version of Dynare

PostPosted: Thu May 04, 2017 11:46 am
by HoutanBastani
Do you get the same error when you run it from the terminal prompt? Can you post your .mod file?

Re: Unstable Mac Version of Dynare

PostPosted: Wed Jun 07, 2017 11:32 pm
by alfi
Hi,
Unfortunately, updating the Mac version with

brew install dynare --HEAD --with-matlab=/Applications/MATLAB_R2017a.app --with-matlab-version=9.2 --without-octave --with-tex

didn't work any more. I get the error:

==> Checking out branch master
Error: inreplace failed
dynare++/kord/journal.cweb:
expected replacement of "#if !defined(__MINGW32__) && !defined(__CYGWIN32__) && !defined(__CYGWIN__) && !defined(__MINGW64__) && !defined(__CYGWIN64__)" with "#if 1"

Do you know the reason?
Thanks

Re: Unstable Mac Version of Dynare

PostPosted: Thu Jun 08, 2017 7:58 am
by HoutanBastani
Yes, I need to fix this. In the meantime, there's a dynare snapshot here if you're looking for Matlab mex files: http://www.dynare.org/snapshot/macosx/

Re: Unstable Mac Version of Dynare

PostPosted: Thu Jun 08, 2017 10:34 am
by alfi
Thank you for your quick response !