No module named mkl

0 views
Skip to first unread message

Vinh

unread,
May 18, 2016, 2:38:16 AM5/18/16
to conda - Public
Hello everyone

 (I asked this question once on anaconda mailing list, but not sure if it is should be posted here)

1. I registered an academic account on acaconda.org, download the License file and put it to ~./continuum

2. I did:

conda update conda
conda install mkl

and the output is:

The following packages will be downloaded:


    package                    |            build

    ---------------------------|-----------------

    mkl-11.3.3                 |                0       101.4 MB


The following NEW packages will be INSTALLED:


    mkl: 11.3.3-0


Proceed ([y]/n)? y


Fetching packages ...

mkl-11.3.3-0.t 100% |###################################################################################| Time: 0:00:12   8.26 MB/s

Extracting packages ...

[      COMPLETE      ]|######################################################################################################| 100%

Linking packages ...

[      COMPLETE      ]|######################################################################################################| 100%


3. However, when I did:


python

import mkl


It reports that "no module named mkl"


What did I do wrong?


Thank you very much

Edison Gustavo Muenz

unread,
May 19, 2016, 2:25:13 PM5/19/16
to Vinh, conda - Public

In this context, mkl is a conda package, not a python module.

You can read more about mkl here: https://software.intel.com/en-us/intel-mkl

From the webpage:

Intel® Math Kernel Library (Intel® MKL) accelerates math processing routines that increase application performance and reduce development time.

If you want to use mkl directly you should code in C/C++/Fortran. It is used by numpy/scipy because it provides a BLAS implementation which is specially optimized for Intel processors.

Regards,
Edison Gustavo Muenz

Reply all
Reply to author
Forward
0 new messages