[SciPy-dev] scipy distutils questions

Arnd Baecker arnd.baecker at web.de
Wed Dec 14 09:13:55 CST 2005


Hi Pearu,

On Wed, 14 Dec 2005, Pearu Peterson wrote:

> 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.

Fantastic! *** Many thanks ***

> 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.

Is there a way to convince him to look for the 64 Bit variant
under /opt/intel/mkl72/64 ??

Presently  the result is

#------------------
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/mkl72/lib/32']
    include_dirs = ['/opt/intel/mkl72/include']

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

( library_dirs = /home/baecker/python2/lib:/usr/local/lib:/usr/lib )
  FOUND:
    libraries = ['mkl_lapack', 'mkl_ia32', 'mkl', 'vml', 'guide',
'pthread']
    library_dirs = ['/opt/intel/mkl72/lib/32']
    include_dirs = ['/opt/intel/mkl72/include']
#----------------


I tried

[mkl_libs]    or [mkl_lapack]  or [mkl]
library_dirs = /opt/intel/mkl72/lib/64
include_dirs = /opt/intel/mkl72/include/

but non worked?

> 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.


For the full scipy I suspect that we will run into
the single/double precision lapack routines problem
(libmkl_lapack32.so provides all the s* and c*
while libmkl_lapack64.so provides the d* and z* routines),
but one thing after another ... ;-)

Many thanks, Arnd




More information about the Scipy-dev mailing list