Re: [R-SIG-Mac] Building R 4.0.2 from source via clang/xcode for MKL on macOS

2020-09-29 Thread Simon Urbanek
> On Sep 30, 2020, at 03:32, Prof Brian Ripley wrote: > > On 29/09/2020 12:27, Kasper Daniel Hansen wrote: >> To use veclib you need >>--with-blas="-framework Accelerate" > > Details are in the R-admin manual, including that R fails one of its checks. > > Simon's calling this vecLib is

Re: [R-SIG-Mac] Building R 4.0.2 from source via clang/xcode for MKL on macOS

2020-09-29 Thread Prof Brian Ripley
On 29/09/2020 12:27, Kasper Daniel Hansen wrote: To use veclib you need --with-blas="-framework Accelerate" Details are in the R-admin manual, including that R fails one of its checks. Simon's calling this vecLib is a bit misleading. 'vecLib' was a vectorized library for PPC Macs, and

Re: [R-SIG-Mac] Building R 4.0.2 from source via clang/xcode for MKL on macOS

2020-09-29 Thread Kasper Daniel Hansen
To use veclib you need --with-blas="-framework Accelerate" My full building script on OS X is currently ../${SRCDIR}/configure SHELL='/bin/bash' \ --prefix=/usr/local/R/${R_VERSION} --disable-R-framework\ CC="/usr/local/clang8/bin/clang" \ CXX="/usr/local/clang8/bin/clang++" \

Re: [R-SIG-Mac] Building R 4.0.2 from source via clang/xcode for MKL on macOS

2020-09-29 Thread Kasper Daniel Hansen
In my understanding, almost all of the speed up comes from using an optimized BLAS. Optimizing LAPACK tend to have negligible impact on performance. At least that is my impression, although I won't say I'm an expert. Best, Kasper On Tue, Sep 29, 2020 at 9:53 AM roy wrote: > Hi Simon, > Thanks

Re: [R-SIG-Mac] Building R 4.0.2 from source via clang/xcode for MKL on macOS

2020-09-29 Thread roy
Hi Simon, Thanks for the info. I was totally unaware of ABI, vecLib, etc and that Apple has blas, lapack, etc. But after reading up on this and re-reading your email, I'm beginning to understand more about this. So, I would like to first checkout vecLib. From what you say, would I have to do