将R与AMD Blis库(在Ubuntu中)链接

发布于 2025-01-27 13:59:07 字数 906 浏览 1 评论 0原文

我想将AMD Blis库与R链接起来,以执行一些基准测试/分析。似乎不需要针对其他BLAS实现进行专门编译。例如,其他BLAS库(OpenBlas,Intel MKL,Atlas)只需要安装,并且可以通过update> update-alternatives轻松更改所使用的BLAS实现。例如,此网页浏览了几个Blas实现:

https://csantill.gith.gith.io/rperformance.io/rperformancewblas/ < /a>

和R中使用的BLAS库可以通过sessionInfo()来验证。但是,一旦通过Update-Anternatives安装,BLIS库就不是出现的选项。我找不到将AMD Blis与R连接到任何地方的指南。我能找到它的唯一其他帖子无法解释它是如何实现的:

r ryzen+ubuntu上的性能:OpenBlas/MKL,RCPP和其他改进?

我正在研究AMD Ryzen Threadrripper 3990X 64核处理器×128,我想如何看Blis图书馆对其他选项进行执行。将R与Blis联系起来的任何帮助肯定会不胜感激。

I would like to link the AMD BLIS library with R to perform some benchmarking/profiling. It seems that R does not need to be compiled specifically against other BLAS implementations. For example, other BLAS libraries (OpenBLAS, Intel MKL, Atlas) simply need to be installed and the BLAS implementation being used can be easily changed via update-alternatives. For example, this web page walks through several BLAS implementations:

https://csantill.github.io/RPerformanceWBLAS/

And the BLAS library used in R can be verified via sessionInfo(). However, the BLIS library is not an option that comes up once it is installed via update-alternatives. I cannot find a guide for linking AMD BLIS with R anywhere. The only other post that I can find mentioning it does not explain how it was achieved:

R performance on Ryzen+Ubuntu: openBLAS/MKL, Rcpp and other improvements?

I am working on an AMD Ryzen threadripper 3990x 64-core processor × 128 and I would like to see how the BLIS library performs against the other options. Any assistance in linking R with BLIS would certainly be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

生生漫 2025-02-03 13:59:07

我遇到了与您上周相同的问题。从我的理解来看,R需要与Blis进行编译。我做了这样的配置步骤:./ configure -with-blas =“ - lblis -i {path_to_blis}/include -l {path_to_to_blis/lib“ -with-with-lapack =” llapack =“ llapack”> 。我认为有必要指定-with-lapack =“ llapack”,因为Blis不包括Lapack实现。

I ran into the same problem as you last week. From my understanding, R needs to get compiled with BLIS. I did the configuration step like this: ./configure --with-blas="-lblis -I{PATH_TO_BLIS}/include -L{PATH_TO_BLIS/lib" --with-lapack="llapack". I think it is necessary to specifiy -with-lapack="llapack", because BLIS doesn't include a LAPACK implementation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文