antst Posted August 11, 2007 Share Posted August 11, 2007 Problem: Matlab for MacOS X/Intel uses stripped down Intel MKL library which comes with Matlab. This library constists computational cores only for particular CPUs (more exact: P4P and P4M cores). So, on hackintoshes which built on non-supported CPUs Matlab can crash which accessing BLAS library, because MKL frontend will try to load core which not included with Matlab. If you start Matlab in xterm, you can see something like: MKL FATAL ERROR: dlopen(libmkl_def.dylib, 1): image not found Solution: go to matlab folder. Then in subdirectory "bin/maci" find file "blas.spec" and open it in text editor, it should looks like: GenuineIntel Family * Model * libmkl.dylib mklcompat.dylib #Intel Mac replace this string with: GenuineIntel Family * Model * libblas.dylib #Intel Mac This will force Matlab to use BLAS library which comes with OSX. It is, in fact, ATLAS, so performance should be good enough. Link to comment Share on other sites More sharing options...
Recommended Posts