June 2nd 2009

A quick hack to use the MKL with numpy/scipy on Linux

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

I’ve promised to make an update whenever I would find a solution to the problem I had some months ago when I tried to use the latest MKL with numpy. Well, there was a simple hack that did the trick. It is far from being perfect, but at least, the tests pass now.
So the only thing you have to do is to export the LD_PRELOAD variable:

export LD_PRELOAD=/path/to/the/MKL/lib/libmkl_core.so
Tags: , , , , , ,

1 Comment »

One Response to “A quick hack to use the MKL with numpy/scipy on Linux”

  1. Michael on 23 Jul 2009 at 3:59 AM #

    Thanks very much. Worked like a charm to solve the “cannot read file data: Is a directory” error with MKL 10.0.3.020 and NumPy 1.3.0. Much appreciated.

Trackback URI | Comments RSS

Leave a Reply

« | »

  • Categories

  • Archives

  • Advertisement

Performance Optimization WordPress Plugins by W3 EDGE