Dynare++ Issue with OS X El Capitan

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.

Dynare++ Issue with OS X El Capitan

Postby dobster936 » Tue Oct 06, 2015 4:12 pm

So I just updated to El Capitan yesterday and have some homework due using Dynare++ by midnight tonight.

My problem is since the update to OS X El Capitan, I get the following error while calling Dynare++ from Matlab:

Code: Select all
!./dynare++ --per 20 --sim 3 TS_BY04.mod

dyld: lazy symbol binding failed: Symbol not found: _dgetrf_
  Referenced from: /Users/davleather/Dropbox/Max's Class/HW 3/./dynare++
  Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib

dyld: Symbol not found: _dgetrf_
  Referenced from: /Users/davleather/Dropbox/Max's Class/HW 3/./dynare++
  Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib

./dynare++ --per 20 --sim 3 TS_BY04.mod: Trace/breakpoint trap


Any advice?
Last edited by dobster936 on Tue Oct 06, 2015 6:05 pm, edited 1 time in total.
dobster936
 
Posts: 4
Joined: Tue Oct 06, 2015 4:08 pm

Re: Dynare++ Issue with OS X El Capitan

Postby jpfeifer » Tue Oct 06, 2015 4:54 pm

Apart from "Never change a running system when you have to do something urgent", not yet. We will investigate the issue.
------------
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: Dynare++ Issue with OS X El Capitan

Postby dobster936 » Tue Oct 06, 2015 6:04 pm

Lesson learned. Thanks!
dobster936
 
Posts: 4
Joined: Tue Oct 06, 2015 4:08 pm

Re: Dynare++ Issue with OS X El Capitan

Postby HoutanBastani » Tue Oct 06, 2015 10:29 pm

I can't be of more help as I still haven't upgraded to OS X 10.11 and won't be doing so until I get a new computer (i.e. not too soon). In any case, as with most software, we do not support operating systems that were released after our software was. OS X 10.11 will be supported with the next release of Dynare, probably a few months from now. Your best bet is either to downgrade to 10.10, run 10.10/Windows/Debian/Ubuntu in a VirtualBox, or compile dynare++ on 10.11 (follow the instructions https://github.com/DynareTeam/dynare#mac-os-x to get started, though you may need to figure things out if it doesn't compile on OS X 10.11)
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ Issue with OS X El Capitan

Postby dobster936 » Thu Oct 08, 2015 6:08 pm

Thanks Houtan. This really saved me!
dobster936
 
Posts: 4
Joined: Tue Oct 06, 2015 4:08 pm

Re: Dynare++ Issue with OS X El Capitan

Postby Brody » Fri Jan 15, 2016 12:10 pm

dobster936 wrote:So I just updated to El Capitan yesterday and the bathmate https://peblueprint.com/bathmate-review have some homework due using Dynare++ by midnight tonight.

My problem is since the update to OS X El Capitan, I get the following error while calling Dynare++ from Matlab:


I still haven't updated yet because of stuff like this. I hate when something is working and then you update and it all goes wrong. I'm on 10.10 currently, is it safe to upgrade?
Last edited by Brody on Sat May 21, 2016 8:06 pm, edited 2 times in total.
Brody
 
Posts: 1
Joined: Thu Jan 14, 2016 11:20 am

Re: Dynare++ Issue with OS X El Capitan

Postby HoutanBastani » Fri Jan 15, 2016 12:48 pm

It won't be safe to upgrade until the next release of Dynare.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: Dynare++ Issue with OS X El Capitan

Postby mrb » Sun Feb 28, 2016 5:58 pm

Hi,

I have the same problem. Same exact message with dynare++

I've found a quick fix for Mac users consisting of replacing the library libBLAS.dylib with the old one:
https://georgegarside.com/blog/osx/vect ... l-capitan/

Instead of doing that, I was wondering whether one can tell dynare++ to search for the library in a different folder. Is this possible?
mrb
 
Posts: 1
Joined: Sun Feb 28, 2016 5:54 pm

Re: Dynare++ Issue with OS X El Capitan

Postby HoutanBastani » Mon Feb 29, 2016 9:28 am

In the solution from the website, be sure to save a backup of the old shared blas librar, or the new version of dynare++ (to be released in a few months) won't work. Also, other programs that depend on the new version of that library may not work either.

For the paths, when running dynare++ from the terminal, you can change the order in which directories are searched. See: http://www.cyberciti.biz/faq/unix-linux-adding-path/

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

Re: Dynare++ Issue with OS X El Capitan

Postby aino » Wed Apr 26, 2017 10:12 am

FYI, anyone who runs into this problem, it seems that this is now fixed in the unstable version.

I had the same issue when running Dynare++ (from the 4.4.3 release) on macOS Sierra.

Installing the unstable version of Dynare (and the Dynare++ that comes with it) resolved the problem without having to mess with the libBLAS.dylib file. So while waiting for the new stable release of Dynare, try installing the unstable version and use that when running Dynare++, even if you keep the old stable version for regular Dynare. See here for installation instructions: viewtopic.php?f=1&t=18911
aino
 
Posts: 2
Joined: Mon Mar 30, 2015 9:43 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests