[Numpy-discussion] dot and MKL memory

Charles R Harris charlesr.harris at gmail.com
Fri Feb 27 11:50:03 EST 2015


On Fri, Feb 27, 2015 at 9:02 AM, Mads Ipsen <mads.ipsen at gmail.com> wrote:

> Hi,
>
> If I build Python 2.7.2 and numpy-1.9.1 and run the following script
>
> import numpy
> c = numpy.ones((500000, 4))
> mat = numpy.identity(4)
> r = numpy.dot(c, mat)
>
> the evaluation of the 'dot' increases the memory by app. 35 MB.
>
> If, in addition, I build numpy-1.9.1 with MKL support, and run the
> script, the evaluation of the 'dot' increases the memory by app. 450 MB.
>
> Is the expected?
>
> Best regards,
>
> Mads
>
> specs:
>
> Ubuntu 12.04
> ifort (IFORT) 14.0.1 2013100
> gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
>
>
No, but I don't know why that is happening with MKL. Can anyone else
reproduce this?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150227/e7934654/attachment.html>


More information about the NumPy-Discussion mailing list