armadillo ubuntu 使用注意

本文介绍如何在Linux环境下安装Armadillo库,推荐安装LAPACK、BLAS及ATLAS等依赖库以获得最佳性能。针对不同Linux发行版如Fedora、Ubuntu等提供了具体的安装建议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux   (Fedora, Ubuntu, Red Hat, SUSE, Debian, etc)

    • Armadillo can work without external libraries. However, to get the most functionality it's recommended to install (in advance) the LAPACK, BLAS and ATLAS libraries, along with the corresponding development/header files.
       
    • For faster performance, instead of using standard BLAS we recommend using the multi-threaded OpenBLAS library
       
    • Many Linux-based operating systems provide pre-built Armadillo packages, eg. Fedora, Debian, Ubuntu, openSUSE, Arch. These packages may not be the latest version. If you're encountering problems, please use the official packages provided here.
       
    • Recommended packages for Fedora & Red Hat (installed before Armadillo): cmake, blas-devel, lapack-devel, arpack-devel, atlas-devel.
       
    • Recommended packages for Ubuntu & Debian (installed before Armadillo): cmake, libopenblas-dev, liblapack-dev, libarpack-dev.
       
    • If you're updating from a previous version, it's a good idea to remove all the old files before updating. The files are typically in /usr/include/armadillo* as well as the library files in /usr/lib/ or /usr/lib64/

转载于:https://www.cnblogs.com/psd2012/p/5152284.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值