Skip to content
Prev 5779 / 15075 Next

cblas on Mac and Linux

On Mar 20, 2009, at 13:14 , Kasper Daniel Hansen wrote:

            
Note, however, that as Brian suggested neither of the above helps with  
the case under consideration if it is to be portable. Although  
Accelerate can be assumed on (recent) OS X, it doesn't mean that it's  
what R uses or the user wants. In fact BLAS headers are not always  
available, so in most cases the problem listed here is not an issue at  
all since the functions used can be simply declared. The real issue is  
linking against the correct library and R provides no way to do that  
automatically since it doesn't use cblas, so the only reliable way is  
what Brian described.

Cheers,
Simon