[SciPy-dev] scipy distutils questions

Pearu Peterson pearu at scipy.org
Wed Dec 14 06:20:28 CST 2005



On Wed, 14 Dec 2005, Pearu Peterson wrote:

> So the problem boils down to adding mkl support to system_info.

I have added mkl support to system_info. It is tested against mkl 
8.0.1 version:

pearu at p4:~/svn/core$ python scipy/distutils/system_info.py lapack_opt
lapack_opt_info:
lapack_mkl_info:
mkl_info:
   FOUND:
     libraries = ['mkl_ia32', 'mkl', 'vml', 'guide', 'pthread']
     library_dirs = ['/opt/intel/mkl/8.0.1/lib/32']
     include_dirs = ['/opt/intel/mkl/8.0.1/include']

   FOUND:
     libraries = ['mkl_lapack', 'mkl_ia32', 'mkl', 'vml', 'guide', 
'pthread']
     library_dirs = ['/opt/intel/mkl/8.0.1/lib/32']
     include_dirs = ['/opt/intel/mkl/8.0.1/include']

( library_dirs = /usr/local/lib:/usr/lib )
   FOUND:
     libraries = ['mkl_lapack', 'mkl_ia32', 'mkl', 'vml', 'guide', 
'pthread']
     library_dirs = ['/opt/intel/mkl/8.0.1/lib/32']
     include_dirs = ['/opt/intel/mkl/8.0.1/include']

and all scipy core tests pass ok.

To disable detecting mkl, define environment variable MKL=None.
For mkl 7.x versions one may need to fix library names (8.x does not have 
ifcore, for instance) in system_info.py.

Pearu




More information about the Scipy-dev mailing list