[SciPy-Dev] Many Problems Building w/ MKL 11, ifort, icc; scipy.test() Fails w/ Undefined Symbols
Thu Aug 29 01:47:21 CDT 2013
Thanks, but, I had already added them to ld.so.conf.d/ and ran ldconfig. I
eventually got it to run without LD_RUN_PATH somehow by removing everything
in build/ (had previously been running python setup.py clean) and finally
got everything to work fairly sanely with:
library_dirs = /opt/intel/mkl/lib/intel64:/opt/intel/lib/intel64
include_dirs = /opt/intel/mkl/include:/opt/intel/include
mkl_libs = mkl_def, mkl_intel_lp64, mkl_intel_thread, mkl_core, mkl_mc,
> Also, isn't libmkl_mc specific to the mic architecture? I don't think
it's necessary to explicitly link against it. Instead, libiomp5, libimf and
libirc are libraries I often find are required.
So I know nothing about the MKL stack, or BLAS for that matter. Intel docs
say "Kernel library for processors based on the Intel(R) Core(TM)
microarchitecture". My CPUs are "Intel(R) Xeon(R) CPU E7- 4860 @ 2.27GHz".
Also keep in mind, this is MKL 11 and a lot has changed since
9x, apparently, and it seems most everyone writing docs on MKL w/
SciPy/NumPy is using older MKL. What I really want to figure out is how to
get "mkl_rt" working properly.
Should I have something in lapack_libs?
On Thu, Aug 22, 2013 at 3:40 PM, Alex Leach <firstname.lastname@example.org> wrote:
> Looks to me like you need to update your system's ldconfig files. Without
> an -rpath / -R linker flag, the lib. directories will need to be known by
> the dynamic linker during run time, as well as during compile-time linking
> (which appears to complete successfully).
> This is accomplished by creating a file in /etc/ldconfig.d/ and putting
> each of Intel's lib directories on a separate line. Finally, run ldconfig
> as root.
> Also, isn't libmkl_mc specific to the mic architecture? I don't think it's
> necessary to explicitly link against it. Instead, libiomp5, libimf and
> libirc are libraries I often find are required.
> KR, and good luck!
> SciPy-Dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev