[SciPy-user] error building scipy on linux with mkl

WB cssmwbs at gmail.com
Fri Dec 15 02:37:54 EST 2006


hi,
i am attempting to build scipy on a linux machine with mkl 9.0 installed.
when i do

python setup.py install

i get lots of warnings, and then build failure with the following output:

begin error out>>

In file included from Lib/fftpack/src/drfft.c:7:
Lib/fftpack/src/fftpack.h:44:22: error: mkl_dfti.h: No such file or
directory
In file included from Lib/fftpack/src/drfft.c:7:
Lib/fftpack/src/fftpack.h:44:22: error: mkl_dfti.h: No such file or
directory
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -DSCIPY_MKL_H
-DSCIPY_MKL_H -I/usr/local/include -I/usr/include -Ibuild/src.linux-
i686-2.4 -I/usr/lib/python2.4/site-packages/numpy/core/include
-I/usr/include/python2.4 -c Lib/fftpack/src/drfft.c -o build/temp.linux-
i686-2.4/Lib/fftpack/src/drfft.o" failed with exit status 1

<<end error out

so i checked to see if i had the file it is complaining about:
[bryan at localhost ~]$ locate mkl_dfti.h
/opt/intel/mkl/9.0/include/mkl_dfti.h

and checked to see if that directory is on my LD_LIBRARY_PATH:
[bryan at localhost ~]$ echo $LD_LIBRARY_PATH
/opt/intel/mkl/9.0/lib/32:/opt/intel/cc/9.1.045/lib:/opt/intel/mkl/9.0/include

anyone know what i am supposed to do to get this to work?

thanks,
bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20061214/f3cf44fb/attachment.html>


More information about the SciPy-User mailing list