Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Link R to MKL

Toong
初學者
4,306 檢視

Hello. I am new to MKL. I am a regular R user and have little experience of C or Python. I have searched materials for two days about how to link R to MKL, but most articles might be too old. I also tried many times but failed.

I have successfully installed oneAPI base toolkit by the instructions. My R is the latest 4.0.5. My MacOS is macOS Big Sur 11.2.3. 

Can anyone shed lights on how to proceed to linking R with MKL? Thanks.

0 積分
7 回應
VidyalathaB_Intel
4,279 檢視

Hi,

Thanks for reaching out to us.

we are working on your issue internally. we will get back to you soon.


Thanks & Regards,

Vidya


Gennady_F_Intel
4,264 檢視

>>most articles might be too old.

Could you point to these articles?

Please show how did you link with mkl?



Toong
初學者
4,256 檢視

Below are the two articles I searched out. The first one I think is for Linus system. 

https://software.intel.com/content/www/us/en/develop/articles/using-intel-mkl-with-r.html

https://software.intel.com/content/www/us/en/develop/articles/quick-linking-intel-mkl-blas-lapack-to-r.html

 

I installed it through GUI.

 

Thanks for taking care of it!

 

 

Gennady_F_Intel
4,253 檢視

ok, I see you tried to link with the latest version of MKL. Yes, both of these articles are slightly outdated at this moment and could be updated to show how link against v.2021. You may take a look at the developer guide for mac os (https://software.intel.com/content/www/us/en/develop/documentation/onemkl-macos-developer-guide/top.html) and check the recommended list of mkl's libraries.


Toong
初學者
4,241 檢視

Thanks! this is way too complicated for me. It would be helpful if you could have a detailed instructions for R users.

Gennady_F_Intel
4,228 檢視

this article (https://software.intel.com/content/www/us/en/develop/articles/using-intel-mkl-with-r.html) contains the straightforward recommendation

Build R use with Intel MKL

R can be configured to use the Intel® MKL BLAS and LAPACK by using --with-blas. or --with-lapack...



AbhishekD_Intel
4,137 檢視

Hi,


Hope the provided details helped you and assuming issue is resolved we are closing this thread.

We will no longer monitor this thread. If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only.


Warm Regards,

Abhishek



回覆