Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using alternative BLAS on Matlab



Hmm ... when I did that matlab (6.5.1) complained with:

libmwlapack: load error: dlcompat: unable to open this file with RTLD_LOCAL

Did you get that error? You might have used the default BLAS lib twice. Also make sure you launch matlab from the same terminal in which you set up BLAS_VERSION.

From what I understand atlas is C code, so xlf won't help (xlc might, but it aborts when I try building it ...).

Paris


On Apr 21, 2004, at 12:59 PM, Brian Powell wrote:


On Apr 21, 2004, at 10:10 AM, Scott Hannahs wrote:

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



I did this and tried the following:

% a=rand(500,500:
% tic; [u,s,v] = svd(a); toc

I saved the a matrix and tried it with BLAS_VERSION set as above and then undefined (to use the default). In this very non-scientific test, there was little difference in runtime.

I believe the only way to get anything out of this would be to try and compile ATLAS with XLF and all of its optimizations. Who knows if that would buy much...

Cheers,
Brian
_______________________________________________
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.


References: 
 >Re: Using alternative BLAS on Matlab (From: Brian Powell <email@hidden>)
 >Re: Using alternative BLAS on Matlab (From: Scott Hannahs <email@hidden>)
 >Re: Using alternative BLAS on Matlab (From: Brian Powell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.