error building scipy on linux with mkl
![](https://secure.gravatar.com/avatar/2c34268f8e526e0f2ae8495c9396b191.jpg?s=120&d=mm&r=g)
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@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@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
![](https://secure.gravatar.com/avatar/2c34268f8e526e0f2ae8495c9396b191.jpg?s=120&d=mm&r=g)
uggh... please disregard. not paying attention... doesn't help to add a non-library path to the LD_LIBRARY_PATH variable! :| On 12/14/06, WB <cssmwbs@gmail.com> wrote:
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@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@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
participants (1)
-
WB