Sebastian, in the slow virtual-env, _dotblas.so isn't there. I only have _dummy.soOn Sat, Jun 20, 2015 at 3:02 PM, Elliot Hallmark <Permafacture@gmail.com> wrote:Well, here is the question that started this all. In the slow environment, blas seems to be there and work well, but numpy doesn't use it!
In [1]: import time, numpy, scipy
In [2]: from scipy import linalg
In [3]: n=1000
In [4]: A = numpy.random.rand(n,n)
In [5]: B = numpy.random.rand(n,n)
In [6]: then = time.time(); C=scipy.dot(A,B); print time.time()-then
7.62005901337
In [7]: begin = time.time(); C=linalg.blas.dgemm(1.0,A,B);print time.time() - begin
0.325305938721
In [8]: begin = time.time(); C=linalg.blas.ddot(A,B);print time.time() - begin
0.0363020896912