I want to install or compile from source octave 3.6.4 in Ubuntu 12.04 (64 bit) that uses the ATLAS library (to make it fast when executing vectorized code).
Did anybody ever do that? Can somebody put together instructions how to do that?
I tried the following:
- Get Octave sources
- Get Atlas using apt-get install
- Get Lapack sources (3.4.2)
- edit the Lapack makefile to use /usr/lib/atlas-base/atlas/libblas.so.3gf as LIBBLAS
- add /usr/atlas-base and /usr/atlas-base/atlas to /etc/ld.so.conf.d/libc.conf
- in the octave sources directory ./configure, make
- waiting waiting waiting
- start octave and benchmark a matrix inversion: Still it is ~2 - 4 times slower than Matlab running on the same computer and actually not faster than it was before
Was my approach correct or should Octave be compiled differently?
Can I find out whether it is using Atlas correctly other than by a benchmark?