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

Link R to MKL

Toong
Principiante
3.347 Vistas

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 Respuestas
VidyalathaB_Intel
Moderador
3.320 Vistas

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
Moderador
3.305 Vistas

>>most articles might be too old.

Could you point to these articles?

Please show how did you link with mkl?



Toong
Principiante
3.297 Vistas

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
Moderador
3.294 Vistas

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
Principiante
3.282 Vistas

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
Moderador
3.269 Vistas

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
Moderador
3.178 Vistas

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



Responder