Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python numpy MKL ERROR

I am running ActiveState Python 3.2, and getting this cryptic error:

D:\code>python
ActivePython 3.2.1.2 (ActiveState Software Inc.) based on
Python 3.2.1 (default, Jul 18 2011, 14:31:09) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> x = np.array([[1, 1], [2, 1], [3, 1]])
>>> y = np.array([3, 4, 5])
>>> be = np.linalg.lstsq(x,y)

MKL ERROR: Parameter 5 was incorrect on entry to DGELSD

MKL ERROR: Parameter 5 was incorrect on entry to DGELSD
>>>

Does anyone know what might be going on?

like image 704
max Avatar asked Dec 15 '11 20:12

max


People also ask

Is Numpy using MKL?

NumPy doesn't depend on any other Python packages, however, it does depend on an accelerated linear algebra library - typically Intel MKL or OpenBLAS.

What is Numpy MKL?

So numpy-mkl just means a version of numpy compiled against the MKL fortran library. Probably whichever version of numpy you previously had installed was somehow broken, and couldn't find the libraries it needed. Follow this answer to receive notifications.

What is MKL service Python?

mkl-service - Python package for run-time control of Intel(R) Math Kernel Library.

Can I use MKL with GCC?

Intel MKL may be used with the GCC compilers installed on Apocrita. The Intel MKL Link Line Advisor tool can be used to determine the required compiler and link flags to access the package. The variable MKLROOT , referred to in the advisor output, should be set to the directory where the version of MKL is installed.


1 Answers

There seems to be no answer to that. The best I can do is provide the link to my bug report to ActiveState which is now being looked into.

like image 185
max Avatar answered Nov 11 '22 02:11

max