site.cfg and libraries in several folders

Hi,
I'm still trying to get the MKL to work with Numpy, but I've tried the latest MKL (10.1) and ran into a problem. With the MKL, I have to link against mkl, guide and iomp5. The problem is that the two last libraries are not in the MKL anymore, but only in the compiler folder. I have thus two folders to put in library_dirs. My issue is that python setup.py config searches for mkl, guide and iomp5 in only one folder at a time, when it should look into the two folders in library_dirs.
Is tehre something I'm missing ?
Matthieu

Matthieu Brucher wrote:
Hi,
I'm still trying to get the MKL to work with Numpy, but I've tried the latest MKL (10.1) and ran into a problem. With the MKL, I have to link against mkl, guide and iomp5. The problem is that the two last libraries are not in the MKL anymore, but only in the compiler folder. I have thus two folders to put in library_dirs. My issue is that python setup.py config searches for mkl, guide and iomp5 in only one folder at a time, when it should look into the two folders in library_dirs.
You could make some symlinks into one fake dir which you would use only for numpy, as a workardound (if you are on unix, that is).
David

2008/11/10 David Cournapeau david@ar.media.kyoto-u.ac.jp:
Matthieu Brucher wrote:
Hi,
I'm still trying to get the MKL to work with Numpy, but I've tried the latest MKL (10.1) and ran into a problem. With the MKL, I have to link against mkl, guide and iomp5. The problem is that the two last libraries are not in the MKL anymore, but only in the compiler folder. I have thus two folders to put in library_dirs. My issue is that python setup.py config searches for mkl, guide and iomp5 in only one folder at a time, when it should look into the two folders in library_dirs.
You could make some symlinks into one fake dir which you would use only for numpy, as a workardound (if you are on unix, that is).
Yes, that is what I did in the MKL folder ;) But I suppose that you should be able to tell numpy that the libraries are in separate folders, shouldn't you?
Matthieu

Matthieu Brucher wrote:
Yes, that is what I did in the MKL folder ;) But I suppose that you should be able to tell numpy that the libraries are in separate folders, shouldn't you?
Yes, you could :) I have little interest in working on numpy.distutils, but feel free if you want to add this feature,
David
participants (2)
-
David Cournapeau
-
Matthieu Brucher