[Numpy-discussion] Intel MKL on Core2 system

Francesc Alted faltet@pytables....
Wed Mar 11 14:20:18 CDT 2009


A Wednesday 11 March 2009, Ryan May escrigué:
> You know, I knew this sounded familiar.  If you regularly build
> against MKL, can you send me your site.cfg.  I've had a lot more
> success getting the build to work using the autodetection than the
> blas_opt and lapack_opt sections.   Since the autodetection doesn't
> seem like the accepted way, I'd love to see how to get the accepted
> way to actually work. :)

Not that I'm an expert in that sort of black magic, but the next worked 
fine for me and numexpr:

[mkl]

# Example for using MKL 10.0
#library_dirs = /opt/intel/mkl/10.0.2.018/lib/em64t
#include_dirs =  /opt/intel/mkl/10.0.2.018/include

# Example for the MKL included in Intel C 11.0 compiler
library_dirs = /opt/intel/Compiler/11.0/074/mkl/lib/em64t/
include_dirs =  /opt/intel/Compiler/11.0/074/mkl/include/

##the following set of libraries is suited for compilation
##with the GNU C compiler (gcc). Refer to the MKL documentation
##if you use other compilers (e.g., Intel C compiler)
mkl_libs = mkl_gf_lp64, mkl_gnu_thread, mkl_core

HTH,

-- 
Francesc Alted


More information about the Numpy-discussion mailing list