Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

symlink MKL blas library for use by R

$
0
0

Hi, 

Can anyone please help me understand which .dylib to symlink for use by R on mac osx?

As an example I have used the following commands to try and link:

 

cd /Library/Frameworks/R.framework/Resources/lib

ln -sf /opt/intel/compilers_and_libraries_2018.3.185/mac/mkl/lib/libmkl_intel.dylib libRblas.dylib

 

I have tried symlinking various libraries, but still now joy. The error I when trying to run benchmark tests in R is: 

dyld: Symbol not found: _MKL_Detect_Cpu_Global_Lock
  Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.dylib
  Expected in: flat namespace
 in /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.dylib
Command terminated abnormally.
        0.01 real         0.00 user         0.00 sys

I am using: 

macOS 10.13.5
R version 3.5.1 (2018-07-02) \ Platform: x86_64-apple-darwin15.6.0 (64-bit)
RStudio Version 1.1.456

Please let me know if you need any further info. Any help would be greatly appreciated.

Thanks, 

Atanas.


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>