[SciPy-User] mkl_lapack32 ?

Matthieu Brucher matthieu.brucher@gmail....
Tue Jul 24 11:55:34 CDT 2012


Hi,

I think the latest Intel Composer versions have a builtin flag for using
the mkl (-mkl). Perhaps if you use a mock .cfg, it could work?

Matthieu

2012/7/17 Nicolas Greneche <nicolas.greneche@univ-paris13.fr>

> Hi,
>
> I have some trouble to build scipy on my computer.
>
> Here is my site.cfg (at top level of scipy directory) :
>
> [mkl]
> library_dirs = /opt/intel/composerxe-2011.0.084/mkl/lib/intel64
> include_dirs = /opt/intel/composerxe-2011.0.084/mkl/include
> mkl_libs = mkl_intel_lp64,mkl_intel_thread,mkl_core
>
> cc_exe = 'icc -O2 -g -openmp -avx'
>
> I run config / build / install :
>
> python setup.py config --compiler=intelem --fcompiler=intelem build_clib
> --compiler=intelem --fcompiler=intelem build_ext --compiler=intelem
> --fcompiler=intelem install --prefix=/usr/local
>
> icc: build/src.linux-x86_64-2.6/fortranobject.c
> creating build/lib.linux-x86_64-2.6/scipy/lib/lapack
> icc -m64 -fPIC -shared
>
> build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/lib/lapack/flapackmodule.o
> build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/fortranobject.o
> -L/opt/intel/composerxe-2011.0.084/mkl/lib/intel64 -L/usr/lib64
> -Lbuild/temp.linux-x86_64-2.6 -lmkl_lapack32 -lmkl_lapack64
> -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lpython2.6 -o
> build/lib.linux-x86_64-2.6/scipy/lib/lapack/flapack.so
> ld: cannot find -lmkl_lapack32
> ld: cannot find -lmkl_lapack32
> error: Command "icc -m64 -fPIC -shared
>
> build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/lib/lapack/flapackmodule.o
> build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/fortranobject.o
> -L/opt/intel/composerxe-2011.0.084/mkl/lib/intel64 -L/usr/lib64
> -Lbuild/temp.linux-x86_64-2.6 -lmkl_lapack32 -lmkl_lapack64
> -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lpython2.6 -o
> build/lib.linux-x86_64-2.6/scipy/lib/lapack/flapack.so" failed with exit
> status 1
>
> I don't understand why it attempts to link with mkl_lapack32 and
> mkl_lapack64 whereas it runs on a 64 bits system.
>
> Anyone can help ?
>
> Regards,
>
> --
> Nicolas Grenèche
>
> Centre de Ressources Informatiques
> Université Paris NORD / UP13
> 99, avenue Jean-Baptiste Clément
> 93430 Villetaneuse
>
> Tel : 01 49 40 40 35
> Fax : 01 48 22 81 50
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



-- 
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
Music band: http://liliejay.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120724/02c2476b/attachment.html 


More information about the SciPy-User mailing list