Skip to content

RBlas.dll compiled from OpenBLAS, optimized for AMD Ryzen Zen processors.

Notifications You must be signed in to change notification settings

cvanpay/R_OpenBLAS_Zen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R_OpenBLAS_Zen

Windows RBlas.dll & RLapack.dll compiled from OpenBLAS 0.3.10, optimized for AMD Ryzen Zen processors.

Instructions

  1. Navigate to your R bin (typically Program Files\R-X.X.X\bin\x64 and rename your current RBlas.dll & RLapack.dll.
    1. Name them ORBlas.dll & ORLapack.dll (or something similar, so you can change back if needed).
  2. Place the RBlas.dll, RLapack.dll, & libopenblas.dll from this repo into your Program Files\R-X.X.X\bin\x64 folder.
  3. Make necessary changes to your Makevars.win (typically in Documents/.R), the one included in the repo is an example.
  4. Enjoy multi-threaded, faster BLAS.
  5. Control number of threads with Sys.setenv("OMP_NUM_THREADS"="X") in R, or set a user variable OMP_NUM_THREADS = X.

Info

  • 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.

Credit

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/

About

RBlas.dll compiled from OpenBLAS, optimized for AMD Ryzen Zen processors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published