You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/27 14:22:38 UTC

[GitHub] [incubator-mxnet] Crunchy9 opened a new issue #15391: Fails to build with MKL-DNN on Windows (VS 15 14.16), Intel MKL FATAL ERROR

Crunchy9 opened a new issue #15391: Fails to build with MKL-DNN on Windows (VS 15 14.16), Intel MKL FATAL ERROR
URL: https://github.com/apache/incubator-mxnet/issues/15391
 
 
   
   ## Description
   
   I use mxnet with R API , OpenCV works and then error comes:
   Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.
   
   ## Environment info (Required)
   ## Build info (Required if built from source)
   Compiler (gcc/clang/mingw/visual studio):
   
   Visual Studio 2017 14.16.27023
   OpenCV 4.1.0
   Cmake 3.14.0
   R 3.6.0
   Rtools 3.5
   OpenCV_DIR=C:\build_mxnet\with_mkldnn\opencv\build
   MKL_ROOT=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\mkl
   PATH=...;C:\Program Files\Git\cmd;C:\build_mxnet\with_mkldnn\opencv\build\x64\vc15\bin;C:\Program Files\CMake\bin
   
   MXNet commit hash: 51acd4d328c6da475c058806565d93bcddee7402
   
   Build config:
   cmd x64 Native Tools VS 2017:
   
   c:\build_mxnet\with_mkldnn\incubator-mxnet\build>"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl\bin\mklvars.bat" intel64
   c:\build_mxnet\with_mkldnn\incubator-mxnet\build>cmake -G "Visual Studio 15 Win64" .. -DUSE_CUDA=0 -DUSE_CUDNN=0 -DUSE_NVRTC=0 -DUSE_OPENCV=1 -DUSE_OPENMP=1 -DUSE_PROFILER=1 -DUSE_BLAS=mkl -DUSE_LAPACK=1 -DUSE_DIST_KVSTORE=0 -DCUDA_ARCH_NAME=All -DUSE_MKLDNN=1 -DCMAKE_BUILD_TYPE=Release -DMKL_ROOT="C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl"
   
   (Extracting archive: C:\build_mxnet\with_mkldnn\incubator-mxnet\build\mklml\mklml_win_2019.0.5.20190502.zip)
   (Setting MKLROOT path to C:/build_mxnet/with_mkldnn/incubator-mxnet/build/mklml/mklml_win_2019.0.5.20190502) ?
   
   c:\build_mxnet\with_mkldnn\incubator-mxnet\build>msbuild mxnet.sln /p:Configuration=Release;Platform=x64 /maxcpucount
   
   ## Error Message:
   Start training with 1 devices
   Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.
   
   ## Minimum reproducible example
   Make R package and  try to start training any network.
   
   ## What have you tried to solve it?
   
   1. https://stackoverflow.com/questions/55017740/mxnet-build-with-intel-mkl-always-throw-error-intel-mkl-fatal-error-cannot-loa (doesn't work)
   2. https://zhuanlan.zhihu.com/p/58918998 (don't know if I understand properly)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services