[SciPy-User] Building NumPy 1.6.0 with MKL and MSVS9 on XP 32bit

Klonuo Umom klonuo at gmail.com
Tue May 17 17:47:30 EDT 2011


> It would help if you gave the actual code you're running there. It is
> extremely unlikely that Octave is really 27 times faster than Numpy +
> ATLAS/MKL.

I posted it in my previous mail. Here is basically same procedure:

=======================================
import numpy as np
from numpy.random import random

a = random((1000, 1000))
b = random((1000, 1000))
%timeit np.dot(a, b)
---------------------------------------

Octave code:
=======================================
a = rand(1000, 1000);
b = rand(1000, 1000);
tic; dot(a,b); toc
---------------------------------------

And it just here, where MKL build numpy, behaves unexpectedly slow.
Or I'm making some mistake I'm not aware of




More information about the SciPy-User mailing list