简体   繁体   English

英特尔MKL致命错误:无法在R中加载libmkl_avx2.so或libmkl_def.so

[英]Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so in R

I wrote a R package with Rcpp and RcppArmadillo and load it into a supercomputer cluster running on Unix. 我用Rcpp和RcppArmadillo编写了一个R包,并将其加载到在Unix上运行的超级计算机集群中。 However, it produces the above error while I try to run one of the function in a R instance on the cluster. 但是,当我尝试在群集上的R实例中运行函数之一时,它会产生上述错误。 Does anyone know how to solve this? 有谁知道如何解决这个问题? Module loaded on the cluster is R-3.5.0 集群上加载的模块为R-3.5.0

I don't know the particulars of your HPC system but on "vanilla" machines it is easy to use MKL ... because, as frequently stated before, BLAS and LAPACK are an interface to which MKL adheres. 我不知道您的HPC系统的详细信息,但是在“香草”计算机上,使用MKL很容易……因为如前所述,BLAS和LAPACK是MKL所遵循的接口

See for example the blog posts I wrote here about using MKL on Ubuntu 例如,请参阅我在此处撰写的有关在Ubuntu上使用MKL的博客文章

and the GitHub repo with the script they reference 和GitHub存储库以及它们引用的脚本

So if I had to guess I'd say that your dynamic linker part only sees parts of the MKL library directory. 因此,如果我不得不猜测,您的动态链接器部分只会看到MKL库目录的一部分。 And for what it is worth, I have had from other users on large research systems. 值得的是,我从其他用户那里获得了大型研究系统的支持。 Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM