[Numpy-discussion] Problems when using ACML with numpy

Pauli Virtanen pav at iki.fi
Sat May 12 11:34:18 EDT 2012

12.05.2012 17:30, Thomas Unterthiner kirjoitti:
> However it didn't seem to work. The same 5000x5000 matrix-multiply is
> still spinning at 100% CPU usage. I attached to the process after I let
> it run for over 3 minutes, and the stacktrace looked like this:
> #0  DOUBLE_dot (ip1=<optimized out>, is1=8, ip2=
>     [...gibberish...], is2=40000, op=0x7f8633086000 "",
>     n=5000, __NPY_UNUSED_TAGGEDignore=0x23f40f0) at
> numpy/core/src/multiarray/arraytypes.c.src:3077
> #1  0x00007f864dea1466 in PyArray_MatrixProduct2 (op1=<optimized out>,
> op2=<optimized out>, out=<optimized out>)
>     at numpy/core/src/multiarray/multiarraymodule.c:847

This is also not using ACML. You'll need to adjust things until the line

	from numpy.core._dotblas import dot

works. CBLAS is indeed needed.

Pauli Virtanen

More information about the NumPy-Discussion mailing list