
|
Armadillo
C++ linear algebra library
|
|
|
|
|
|
While this library has gone through testing,
not every possible case has been covered yet.
As such, its functionality may not be 100% correct.
If you find a bug, either in the library or the documentation,
we are interested in hearing about it.
|
Current version
Platform independent:
Linux (Fedora 12+, 64 bit):
|
|
|
|
Previous version
Platform independent:
Linux (Fedora 12+, 64 bit):
|
Installation and Configuration Notes
General · Linux · MacOS X · Windows
General
-
If you're using the platform independent version, please see the README.txt file in the .tar.gz package
-
Updating from a previous version:
If you installed Armadillo from the .tar.gz package,
it's a good idea to remove all the old files before updating.
On UNIX-like systems the files are in
/usr/include/armadillo* or /usr/local/include/armadillo*
as well as the library files in /usr/lib/ or /usr/local/lib/
Linux
-
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,
as well as Boost libraries (version 1.34 or later),
along with the corresponding development/header files.
These libraries and development files may already be installed on your system.
-
ATLAS version 3.6 (and earlier) has several problems which can lead to random crashes and/or incorrect results.
The minimum recommended version is 3.8.
It's a good idea to completely remove v3.6 from your system,
as ATLAS intercepts calls to BLAS and LAPACK.
-
Recommended packages for Fedora (installed before Armadillo):
cmake,
blas-devel,
lapack-devel, atlas-devel, boost-devel.
You may also want to install ATLAS packages
that are specific for your system, e.g. atlas-sse2.
-
Recommended packages for Ubuntu (installed before Armadillo):
cmake,
libblas-dev,
liblapack-dev,
libboost-dev and libboost-date-time-dev.
-
Current and/or previous versions of Armadillo are available as official
packages
for
Fedora,
Debian,
and
Ubuntu.
MacOS X
-
The "Accelerate" framework is used for
accessing BLAS and LAPACK functions.
Windows
-
The development and testing of Armadillo has so far been done mainly on
UNIX-like platforms,
however there should be little or no platform specific code.
While rudimentary tests were done on a Windows machine,
the developers are interested in hearing how well Armadillo works in more thorough tests.
-
If you're having trouble with the 'MS Visual C++ 2008 Express Edition'
compiler (due to its incomplete support for the C++ standard),
you may want to try the following alternative free compilers:
If using Intel's C++ compiler, you'll need version 10.0 or better.
If using GCC, you'll need version 4.0 or better.
-
Precompiled BLAS and LAPACK libraries can be obtained from:
See the README.txt file in the .tar.gz package on how to manually configure Armadillo to use these libraries.
|
|
|
|
|
©2010
|