Just as a dumb suggestion, Why not change it to:
% setenv BLAS_VERSION /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
(that is all one line).
-Scott
At 8:47 AM -0600 4/21/04, Brian Powell wrote:
>>I recently found out that you can setenv BLAS_VERSION blah.so on linux
>>and Matlab will use blah.so for the BLAS functions (which speeds up
>>things dramatically when using Intel's blas instead of mathworks's).
>>Hoping to recreate this glorious discovery on my Mac I stumbled on how
>>to get vecLib to become useful. The vecLib file in the frameworks
>>directory is of mysterious format to me and I'm not quite sure how to
>>make it a dynamic library (or whatever Matlab on OS X might expect
>
>That is an excellent find. If you find a direct answer, please let me know.
>
>The only way I see to do it is to compile ATLAS which is optimized for Altivec. It says it provides a full BLAS implementation.
>
><http://math-atlas.sourceforge.net/>
>
>I downloaded the binary and did:
>
>% setenv BLAS_VERSION dir/libcblas.a
>% matlab
>dyld: /Applications/MATLAB6p5p1/bin/mac/MATLAB malformed library: /Users/powellb/Download/OSX_PPCG4AltiVec_2/lib/libcblas.a (not a Mach-O file, bad magic number)
>Trace/BPT trap
>
>So, setting the variable does work on MacOSX, I realize was pointing to a static (rather than dynamic library) so it failed, but, it appears matlab will work that way.
>
>I don't have the time to compile ATLAS as a .so right now, but, if you get it working, please share!
--
- Dr. Scott Hannahs, Head of User Research Instrumentation -
- http://sthmac.magnet.fsu.edu -
- National High Magnetic Field Laboratory, Florida State University -
- 1800 E. Paul Dirac Dr., Tallahassee FL 32310, (850)644-0216/FAX 644-0534 -
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.