libmwblas: load error

Hello all. I've seen a bunch of different threads dealing with libmwblas, but none seem to address my particular problem.
Whenever I try to do anything with matrices that isn't an element-by-element operation (e.g., ones(2)*ones(2) ), I get the following error:
libmwblas: load error: dlopen(mkl.dylib, 1): bad external relocation length
Caught "std::exception" Exception message is:
dlopen(mkl.dylib, 1): bad external relocation length
I'm running R2011a on Mac OS X 10.7.2. This is a new error as of this morning, but may be associated with a recent hard drive restore from backup that I performed.
I tried doing export BLAS_VERSION= in the Terminal, to no avail.
Thanks in advance.

 Accepted Answer

Ken Atwell
Ken Atwell on 30 Jan 2012

0 votes

Sam, it seems like you restore may have been less than perfect. This is a pretty fundamental error that you are seeing. I recommend re-installing MATLAB to heal the file mkl.dylib.

More Answers (1)

Sam
Sam on 30 Jan 2012

0 votes

Makes sense. I reinstalled and everything seems to be working smoothly. Thanks!

Products

Asked:

Sam
on 29 Jan 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!