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

Link R to MKL

Toong
Beginner
620 Views

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 Kudos
7 Replies
VidyalathaB_Intel
Moderator
593 Views

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
Moderator
578 Views

>>most articles might be too old.

Could you point to these articles?

Please show how did you link with mkl?



Toong
Beginner
570 Views

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

 

I installed it through GUI.

 

Thanks for taking care of it!

 

 

Gennady_F_Intel
Moderator
567 Views

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....) and check the recommended list of mkl's libraries.


Toong
Beginner
555 Views

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
Moderator
542 Views

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
Moderator
451 Views

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



Reply