Closed sfraczek closed 4 years ago
Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.
@anko-intel
Description
cmake/Modules/FindMKL.cmake
doesn't search$HOME/intel
path, but only/opt/intel
. I believe it could search both because if mkl is installed without sudo, it is installed in$HOME/intel
.mklvars.sh
exports env variableMKLROOT
therefore FindMKL should search inENV{MKLROOT}
instead ofENV{MKL_ROOT}
becauseMKL_ROOT
is cmake variable.INTEL_ROOT
INTEL_RTL_ROOT
should be replaced withMKL_ROOT
.To Reproduce
Run cmake after running source ../path/to/mklvars.sh or set environment variable MKLROOT manually and see that it doesn't find MKL properly.