Reputation: 85
Ran into two errors while building caffe with MKL. MKL is installed into /opt/intel
Upvotes: 0
Views: 1981
Reputation: 85
The errors 1 & 2 were resolved after specifying the following two
BLAS := mkl
BLAS_INCLUDE := /opt/intel/compilers_and_libraries_2017.0.098/linux/mkl/include/
BLAS_LIB := /opt/intel/compilers_and_libraries_2017.0.098/linux/mkl/lib/intel64_lin/
For 3, see https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/402497
I had to add /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/ to LD_LIBRARY_PATH.
Also added /opt/intel/compilers_and_libraries_2017.0.098/linux/mkl/lib/intel64_lin/ to LD_LIBRARY_PATH.
Upvotes: 0