[Numpy-discussion] numpy with icc
Sun May 18 20:59:10 CDT 2008
On Sun, 2008-05-18 at 12:14 -0700, rex wrote:
> The last relevant MKL library name change I'm aware of occurred
> when MKL 9.X was released in 2006:
No, they heavily changed how to link against mkl in 10. There is a whole
chapter about it in the releases notes.
> ldd shows MKL was linked:
> # ldd /usr/local/lib/python2.5/site-packages/numpy/linalg/lapack_lite.so
> linux-gate.so.1 => (0xffffe000)
> libmkl_lapack.so => /opt/intel/mkl/10.0.3.020/lib/32/libmkl_lapack.so (0xb7ae1000)
> /opt/intel/mkl/10.0.3.020/lib/32/libmkl_intel.so (0xb79a3000)
> /opt/intel/mkl/10.0.3.020/lib/32/libmkl_intel_thread.so (0xb77a6000)
> /opt/intel/mkl/10.0.3.020/lib/32/libmkl_core.so (0xb7742000)
> libguide.so => /opt/intel/cc/10.1.015/lib/libguide.so (0xb76e0000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb76b4000)
> libimf.so => /opt/intel/cc/10.1.015/lib/libimf.so (0xb7484000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb745f000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7454000)
> libintlc.so.5 => /opt/intel/cc/10.1.015/lib/libintlc.so.5 (0xb7411000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb72e0000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb72db000)
> /lib/ld-linux.so.2 (0x80000000)
I don't have the same thing at all. You have many more libraries than I
have, and that's because you were using the intel compiler, I think
(libguide is from intel cc, imf is also used by icc and ifort).
Remove the installer numpy AND the build directory, and retry building
numpy with the mkl.
> Interestingly, the above shows libmkl_lapack.so is being used even
> though it is not in the site.cfg. Apparently, mkl and guide are
> sufficient in site.cfg.
I am not sure I understand: there is a mkl_lapack section in the
site.cfg, and you need it.
> So why do Erik and I get failures (with both gcc & icc) when MKL
> is used and you don't?
I don't know. I would ask Intel about this error if the above does not
work, maybe you did not install it correctly, or there was a bug in your
version (my version is a bit more recent, I downloaded it a few days
More information about the Numpy-discussion