[Numpy-discussion] Slow Numpy/MKL vs Matlab/MKL

David Cournapeau cournape at gmail.com
Wed Dec 7 16:55:22 EST 2011

On Tue, Dec 6, 2011 at 5:31 PM, Oleg Mikulya <olegmikul at gmail.com> wrote:
> Hi,
> How to make Numpy to match Matlab in term of performance ? I have tryied
> with different options, using different MKL libraries and ICC versions,
> still Numpy is below Matalb for certain basic tasks by ~2x. About 5 years
> ago I was able to get about same speed, not anymore. Matlab suppose to use
> same MKL, what it the reason of such Numpy slowness (beside one, yet
> fundamental, task) ?

Have you checked that the returned values are the same (up to some
precision) ? It may be that we don't use the same lapack underlying



More information about the NumPy-Discussion mailing list