[Numpy-discussion] Wrong lapack version detection (32/64bits)

Xavier Gnata gnata@obs.univ-lyon1...
Thu Jul 19 07:58:50 CDT 2007


Hi,

I'm trying to update numpy by compiling the up to date svn:

I get this error :
gcc: numpy/linalg/lapack_litemodule.c
gcc -pthread -shared 
build/temp.linux-i686-2.4/numpy/linalg/lapack_litemodule.o 
-lmkl_lapack32 -lmkl_lapack64 -lmkl -lvml -lguide -lpthread -o 
build/lib.linux-i686-2.4/numpy/linalg/lapack_lite.so
/usr/bin/ld: cannot find -lmkl_lapack64
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -lmkl_lapack64
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared 
build/temp.linux-i686-2.4/numpy/linalg/lapack_litemodule.o 
-lmkl_lapack32 -lmkl_lapack64 -lmkl -lvml -lguide -lpthread -o 
build/lib.linux-i686-2.4/numpy/linalg/lapack_lite.so" failed with exit 
status 1

There must be something wrong in the distutils/makefile because I'm on a 
debian sid *i386* so why should I link against mkl_lapack64 ??
Of course, I do not have lapack64 installed on this i386 machine.
I have try to simply fix that in the config file of numpy replacing 
lapack64 by lapack32 everywhere but it fails (and it is not an acceptable fix).

Can anyone reproduce that??

Xavier


-- 
############################################
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: gnata@obs.univ-lyon1.fr
############################################ 



More information about the Numpy-discussion mailing list