Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

link R with MKL

Qiuping_X_Intel
Employee
139 Views

I am linking MKL with R in Mac. After set the link as 

ln -s /opt/intel/compilers_and_libraries_2016.2.146/mac/mkl/lib/libmkl_rt.dylib /Library/Frameworks/R.framework/Versions/3.2/Resources/lib/libRblas.dylib

The link file looks file, but when I start the R program, it always complains

Error in dyn.load(file, DLLpath = DLLpath, ...) : 

  unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stats/libs/stats.so':

  dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stats/libs/stats.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.2/Resources/lib/libRlapack.dylib

  Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/stats/libs/stats.so

  Reason: Incompatible library version: stats.so requires version 3.2.0 or later, but libRblas.dylib provides version 0.0.0

During startup - Warning message:

package ‘stats’ in options("defaultPackages") was not found 

 

Please Help, thanks . 

 

 

0 Kudos
0 Replies
Reply