Package Details: armadillo 9.700.2-1

Git Clone URL: https://aur.archlinux.org/armadillo.git (read-only)
Package Base: armadillo
Description: C++ linear algebra library
Upstream URL: http://arma.sourceforge.net/
Licenses: Apache
Submitter: None
Maintainer: valandil
Last Packager: valandil
Votes: 50
Popularity: 0.426369
First Submitted: 2009-12-14 16:43
Last Updated: 2019-09-06 10:15

Latest Comments

« First ‹ Previous 1 2 3 4

big_gie commented on 2013-03-04 14:11

Version 3.800.0 is out and is MPL 2.0 licensed now.

Kknd commented on 2013-01-15 23:30

Hi,

As far as I know,

Armadillo compiles without blas/lapack, but it is kinda useless, supporting only basic operations like matrix multiplication.

Here, I've just did:
$ pacman -S lapack

Linking with -larmadillo links with lapack and blas automatically. In fact, armadillo code resides almost all in headers. Linking with armadillo just links links with lapack and blas.

onefire commented on 2013-01-15 22:04

I could only use it after applying a patch to disable ARMA_USE_WRAPPER:

sed 's/#define ARMA_USE_WRAPPER/\/\/#define ARMA_USE_WRAPPER/g' /usr/include/armadillo_bits/config.hpp > tmp && mv tmp /usr/include/armadillo_bits/

My friend also had trouble installing it on his Mac, but the above command worked for him too.

After this, I can compile with something like:
g++ myprog.cpp -o myprog -llapack -lblas

Armadillo's website claims that blas and lapack are not strictly necessary, so I tried to install it on a minimal Arch install on Virtual Box. Then I could compile programs with just:
g++ myprog.cpp -o myprog -larmadillo

So my question is:
What is the correct way to install the library with blas and everything?

Kknd commented on 2012-12-17 22:22

I do not know what this means, since it does find boost latter, as evidenced by the latter output:

...
-- Boost version: 1.50.0
-- Boost_MAJOR_VERSION = 1
-- Boost_MINOR_VERSION = 50
-- Boost_INCLUDE_DIR = /usr/include
...

myles commented on 2012-12-17 21:43

Thanks for updating. I get this:
-- Configuring Armadillo 3.6.1
-- Could NOT find Boost

Anonymous comment on 2012-07-28 00:15

3.2.4 is out: http://sourceforge.net/projects/arma/files/armadillo-3.2.4.tar.gz

toffyrn commented on 2012-06-01 18:23

There is currently a issue with the newest armadillo versions (3.2.0/3.2.1) and gcc >4.7.0, see: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549
Just to keep you informed.

PedsXing commented on 2012-02-22 16:21

2.4.3 is out: http://sourceforge.net/projects/arma/files/