Message-ID: <512e400b-5cf7-4bfc-b7b9-08ab4a1867e6@stats.ox.ac.uk>
Date: 2024-11-30T09:41:57Z
From: Brian Ripley
Subject: Compiling BLAS with Accelerate
In-Reply-To: <CAFGdzppODD=9OwOBB3zhqqe_2wpdB8GX1SiQAT1YJzXCszauUA@mail.gmail.com>
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