![](https://secure.gravatar.com/avatar/853d233b48423c1ed8f15c74d215b0db.jpg?s=120&d=mm&r=g)
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) -- +---------------------------------------------------------------------+ | Mads Ipsen | +----------------------------------+----------------------------------+ | Overgaden Oven Vandet 106, 4.tv | phone: +45-29716388 | | DK-1415 København K | email: mads.ipsen@gmail.com | | Denmark | map : https://goo.gl/maps/oQ6y6 | +----------------------------------+----------------------------------+
![](https://secure.gravatar.com/avatar/18a30ce6d84de6ce5c11ce006d10f616.jpg?s=120&d=mm&r=g)
On 27 February 2015 at 17:50, Charles R Harris <charlesr.harris@gmail.com> wrote:
I can't reproduce. I have checked on my system python (ATLAS) and Conda with MKL running in parallel with vmstat. The difference between them is under 1 MB. I am Fedora 20, system python using GCC 4.8 and ATLAS 3.8.4. Coda is compiled with GCC 4.4 and linked to MKL 11.1. /David.
![](https://secure.gravatar.com/avatar/853d233b48423c1ed8f15c74d215b0db.jpg?s=120&d=mm&r=g)
On 27/02/15 17:50, Charles R Harris wrote:
I have now tested and reproduced this on two different Ubuntu 12.04 boxes. Both were tested with a vanilla Python-2.7.9 install and two different MKL setups *) composer_xe_2015.2.164 icc (ICC) 15.0.2 20150121 ifort (IFORT) 15.0.2 20150121 build: python setup.py build --compiler=intelem python setup.py install *) composer_xe_2013_sp1.1.106 ifort (IFORT) 14.0.1 20131008 gcc version 4.6.3 build: python setup.py config --compiler=unix config_fc --fcompiler=intelem install On both setups I use the following site.cfg [mkl] library_dirs = /path_to_intel_composer/mkl/lib/intel64/ include_dirs = /path_to_intel_composer/mkl/lib/intel64/mkl/include/ mkl_libs = mkl_rt lapack_libs = If I omit the MKL setup (i.e. build without) the 400 MB memory goes away. If I by any means can provide you with some valuable info, please let me know. Best regards, Mads -- +---------------------------------------------------------------------+ | Mads Ipsen | +----------------------------------+----------------------------------+ | Overgaden Oven Vandet 106, 4.tv | phone: +45-29716388 | | DK-1415 København K | email: mads.ipsen@gmail.com | | Denmark | map : https://goo.gl/maps/oQ6y6 | +----------------------------------+----------------------------------+
![](https://secure.gravatar.com/avatar/18a30ce6d84de6ce5c11ce006d10f616.jpg?s=120&d=mm&r=g)
On 27 February 2015 at 17:50, Charles R Harris <charlesr.harris@gmail.com> wrote:
I can't reproduce. I have checked on my system python (ATLAS) and Conda with MKL running in parallel with vmstat. The difference between them is under 1 MB. I am Fedora 20, system python using GCC 4.8 and ATLAS 3.8.4. Coda is compiled with GCC 4.4 and linked to MKL 11.1. /David.
![](https://secure.gravatar.com/avatar/853d233b48423c1ed8f15c74d215b0db.jpg?s=120&d=mm&r=g)
On 27/02/15 17:50, Charles R Harris wrote:
I have now tested and reproduced this on two different Ubuntu 12.04 boxes. Both were tested with a vanilla Python-2.7.9 install and two different MKL setups *) composer_xe_2015.2.164 icc (ICC) 15.0.2 20150121 ifort (IFORT) 15.0.2 20150121 build: python setup.py build --compiler=intelem python setup.py install *) composer_xe_2013_sp1.1.106 ifort (IFORT) 14.0.1 20131008 gcc version 4.6.3 build: python setup.py config --compiler=unix config_fc --fcompiler=intelem install On both setups I use the following site.cfg [mkl] library_dirs = /path_to_intel_composer/mkl/lib/intel64/ include_dirs = /path_to_intel_composer/mkl/lib/intel64/mkl/include/ mkl_libs = mkl_rt lapack_libs = If I omit the MKL setup (i.e. build without) the 400 MB memory goes away. If I by any means can provide you with some valuable info, please let me know. Best regards, Mads -- +---------------------------------------------------------------------+ | Mads Ipsen | +----------------------------------+----------------------------------+ | Overgaden Oven Vandet 106, 4.tv | phone: +45-29716388 | | DK-1415 København K | email: mads.ipsen@gmail.com | | Denmark | map : https://goo.gl/maps/oQ6y6 | +----------------------------------+----------------------------------+
participants (3)
-
Charles R Harris
-
Daπid
-
Mads Ipsen