Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Nathaniel Smith
What operating system are you on and how did you install numpy? From a package manager, from source, by downloading from somewhere...? On Dec 16, 2015 9:34 AM, "Edward Richards" wrote: > I recently did a conceptual experiment to estimate the computational time >

Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Matthew Brett
Hi, On Wed, Dec 16, 2015 at 6:34 PM, Edison Gustavo Muenz wrote: > Sometime ago I saw this: https://software.intel.com/sites/campaigns/nest/ > > I don't know if the "community" license applies in your case though. It is > worth taking a look at. > > On Wed, Dec 16, 2015

Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Derek Homeier
On 16 Dec 2015, at 8:22 PM, Matthew Brett wrote: > >>> In [4]: %time testx = np.linalg.solve(testA, testb) >>> CPU times: user 1min, sys: 468 ms, total: 1min 1s >>> Wall time: 15.3 s >>> >>> >>> so, it looks like you will need to buy a MKL license separately (which >>>

Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Michael Sarahan
Continuum provides MKL free now - you just need to have a free anaconda.org account to get the license: http://docs.continuum.io/mkl-optimizations/index HTH, Michael On Wed, Dec 16, 2015 at 12:35 PM Edison Gustavo Muenz < edisongust...@gmail.com> wrote: > Sometime ago I saw this:

Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Francesc Alted
Sorry, I have to correct myself, as per: http://docs.continuum.io/mkl-optimizations/index it seems that Anaconda is not linking with MKL by default (I thought that was the case before?). After installing MKL (conda install mkl), I am getting: In [1]: import numpy as np Vendor: Continuum

[Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Edward Richards
I recently did a conceptual experiment to estimate the computational time required to solve an exact expression in contrast to an approximate solution (Helmholtz vs. Helmholtz-Kirchhoff integrals). The exact solution requires a matrix inversion, and in my case the matrix would contain ~15000

Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Francesc Alted
Hi, Probably MATLAB is shipping with Intel MKL enabled, which probably is the fastest LAPACK implementation out there. NumPy supports linking with MKL, and actually Anaconda does that by default, so switching to Anaconda would be a good option for you. Here you have what I am getting with

Re: [Numpy-discussion] performance solving system of equations in numpy and MATLAB

2015-12-16 Thread Edison Gustavo Muenz
Sometime ago I saw this: https://software.intel.com/sites/campaigns/nest/ I don't know if the "community" license applies in your case though. It is worth taking a look at. On Wed, Dec 16, 2015 at 4:30 PM, Francesc Alted wrote: > Sorry, I have to correct myself, as per: >