Compiling BLAS with Accelerate
On 29/11/2024 13:10, Tomek Gieorgijewski wrote:
Hi! I can compile R on macOS with standard BLAS but how can I compile R myself to get this vecLib BLAS which is added in binary distribution for Mac on CRAN?
Seems you have not read the R-admin manual. The terms 'vecLib' (originally for PPC Macs) and 'Accelerate' are confusing: recent SDKs contain two different BLAS/LAPACK implementations under the name 'Accelerate', but neither are recent LAPACK nor pass checks cleanly. If I wanted an enhanced BLAS on macOS I would use OpenBLAS, which in my tests on an M1 Pro was faster than even 'new' Accelerate and 'make check-all' passed cleanly. (Follow OpenBLAS's instructions to build/install it, R-admin's instructions to build R against.)
Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford