Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Qiuping_X_Intel
Employee
51 Views

link R with MKL

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