Windows RBlas.dll & RLapack.dll compiled from OpenBLAS 0.3.10, optimized for AMD Ryzen Zen processors.
- Navigate to your R bin (typically Program Files\R-X.X.X\bin\x64 and rename your current RBlas.dll & RLapack.dll.
- Name them ORBlas.dll & ORLapack.dll (or something similar, so you can change back if needed).
- Place the RBlas.dll, RLapack.dll, & libopenblas.dll from this repo into your Program Files\R-X.X.X\bin\x64 folder.
- Make necessary changes to your Makevars.win (typically in Documents/.R), the one included in the repo is an example.
- Enjoy multi-threaded, faster BLAS.
- Control number of threads with Sys.setenv("OMP_NUM_THREADS"="X") in R, or set a user variable OMP_NUM_THREADS = X.
- Compiled within R-4.0.2 for Windows, but also tested to work for R.3.6.X & 4.0.X.
- CheckAll.txt includes error checking, including Blas tests.
- Folder OpenBLAS includes the dynamic & static libs, along with the headers.
Thanks to help from this wonderful guide here: https://www.avrahamadler.com/r-tips/build-openblas-for-windows-r64/ and for OpenBLAS and guidance from https://github.com/xianyi/OpenBLAS/