help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

After building Octave with ATLAS - matrix multiplication is still single


From: David Parks
Subject: After building Octave with ATLAS - matrix multiplication is still single threaded
Date: Wed, 28 May 2014 11:04:20 -0700
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

My goal is to have multi-threaded matrix multiplication.

1) To that end I've built ATLAS (shared libraries are good).
2) Built Octave from sorces, linking ATLAS

Octave ./configure script shows:

...
BLAS libraries:              /usr/local/atlas/lib/libsatlas.so
...
LAPACK libraries:            /usr/local/atlas/lib/libsatlas.so
...

But this little test in Octave runs single threaded still:

octave:1> x = rand(10000,10000); y = rand(10000,10000); t=time(); z = x * y; fprintf("Processing time (sec): %d\n", time()-t);
Processing time (sec): 181


Same time it took before I rebuilt octave, this is definitely the right version of octave because I executed it from the build directory after make install using: sudo ./run-octave

Is there any way to verify that octave *is* indeed using ATLAS?  I'm not even quite sure at this stage if this is an ATLAS issue or an Octave issue. Makes of both Atlas and Octave now look correct to me.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]