[SciPy-dev] scipy distutils questions
pearu at scipy.org
Wed Dec 14 03:09:57 CST 2005
On Wed, 14 Dec 2005, Arnd Baecker wrote:
> I got some further info on this:
> The lapack stuff is provided in
> libmkl_lapack64.so and libmkl.so
> which are in /opt/intel/mkl72/lib/64
> To link correctly, they need
> libifcore.so libguide.so
> which are in /opt/intel/fc_90/lib/
> which is in /usr/lib/
> We tried the following, but without success
> library_dirs = /opt/intel/mkl72/lib/64:/opt/intel/fc_90/lib/
> include_dirs = /opt/intel/mkl72/include/
> atlas_libs = mkl_lapack64,mkl,ifcore
First, mkl is NOT atlas.
system_info assumes that atlas libraries are used
according to official instructions given in
mkl and atlas are different libraries of optimized blas/lapack/..
libraries. So the problem boils down to adding mkl support to system_info.
Btw, then also fftpack, ufunc's, random could take advantage of mkl some
Adding mkl support means implementing
section = 'intelmkl'
dir_env_var = 'INTELMKL'
_lib_names = ['mkl']
class in system_info.py and adding required hooks to lapack_opt, blas_opt
seems to be broken but to implement intelmkl support, one needs to know
how/where mkl libraries are installed and how to use them (the order of
libraries, etc), this information should come with mkl, I couldn't find
this information from internet.
More information about the Scipy-dev