Sunday, October 31, 2010

Using Intel© Math Kernel Library in Python

As a way to interact with MKL library from Python is build a shared library from MKL and interface to it using ctypes.

Below is description of the process of creating shared library from MKL.

  1. Download MKL Library from: (for noncommercial use).

  2. Unpack archive and install

  3. Follow this useful article:

Steps for me:

  1. /tools/environment/

  2. cd /tools/builder

  3. $ cat > ring_list

  4. $ make em64t name=mkl4py export=ring_list

  5. Done. Use and /lib/em64t/

MKL online documentation: See "Building Custom Shared Object".

No comments:

Post a Comment