[R-SIG-Mac] vecLib BLAS and LAPACK on Mac OS 11.01 and Xcode 12.2

Anirban Mukherjee @n|rb@n@mukherjee @end|ng |rom gm@||@com
Sun Nov 22 10:15:17 CET 2020


I am having trouble using vecLib BLAS and LAPACK libraries in R 4.0.3 Patched (2020-11-20 r79454) on Mac OS 11.0.1 and Xcode 12.2. 

For several years, I have been compiling R from source on the same computer. Most recently, I compiled R from source on Mac OS 10.15.7 and Xcode 11.5. As given in the R installation and administration manual, I specified the following configuration options:

1. --with-blas="-framework Accelerate” 
2. --with-lapack 

As expected, those two configurations options led to R using the vecLib libraries. 

After upgrading from Mac OS 10.15.7 to Mac OS 11.01, I find that my new compilations of R no longer use vecLib BLAS and LAPACK libraries (sessionInfo below message). I poked around in /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/. I do not see libBLAS.dylib and libLAPACK.dylib. 

May I enquire:

a. Should I see libBLAS.dylib and libLAPACK.dylib in the vecLib framework folder (on Mac OS 11.01 and Xcode 12.2). As I remember it, that is where those libraries were located in prior versions of Mac OS and Xcode. Is the fact that they are missing unique to my machine? If so, then they likely were deleted in the upgrade as they must have been present when I compiled R a few weeks ago.

b. Has anyone compiled R from source on Mac OS 11.0.1 and Xcode 12.2? Does your R use the vecLib libaries (if that is what you prefer)?

Any help would be very welcome.


> sessionInfo()
R version 4.0.3 Patched (2020-11-20 r79454)
Platform: x86_64-apple-darwin20.1.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.0.3 tools_4.0.3 

More information about the R-SIG-Mac mailing list