pengzhao-intel edited a comment on issue #13576: [MXNET-679] Improved 
CMakeLists.txt
URL: https://github.com/apache/incubator-mxnet/pull/13576#issuecomment-452717669
 
 
   @lebeg any progress in this PR?
   
   someone reported the issue of cmake with MKLDNN as below.
   Dose the fix include in this PR?
   
   Thanks in advance.
   
   
https://u6052710.ct.sendgrid-xxxxx.net/wf/click?upn=7iQp6pMzDQFUNi-2FJMnzaqNEGTAlGNdcA7-2B18LuEt5ZkrIimBpLD-2FvUcJ7NWKLaY9_zLgeriaWEsDSmQ4sYGYmHuimdrzK5MHJ-2BxdQxeDHYkAFHBeZOyO7o-2B9m8ArrXiaK6HILt4C0dOX2lvZJRISrhWgNki6NFARP1Qz610NnVatrXzhTgn-2BqsQBxdiSGjAjK6n3uzLrCdSHtI9IjJZ00xn64uc4TlBeoYl3bHXjIwHnXNHtNd9bcO6SLXjY9ewln97JlGOSryxbxg0sGi6duSw-3D-3D
   
   
   > `cmake -DUSE_MKLDNN=1 -DBLAS=mkl -DMKL_ROOT=/opt/intel/mkl .
   > – The C compiler identification is GNU 5.4.0
   > – The CXX compiler identification is GNU 5.4.0
   > – Check for working C compiler: /usr/bin/cc
   > – Check for working C compiler: /usr/bin/cc – works
   > – Detecting C compiler ABI info
   > – Detecting C compiler ABI info - done
   > – Detecting C compile features
   > – Detecting C compile features - done
   > – Check for working CXX compiler: /usr/bin/c++
   > – Check for working CXX compiler: /usr/bin/c++ – works
   > – Detecting CXX compiler ABI info
   > – Detecting CXX compiler ABI info - done
   > – Detecting CXX compile features
   > – Detecting CXX compile features - done
   > – CMAKE_SYSTEM_NAME Linux
   > – CMake version ‘3.12.1’ using generator ‘Unix Makefiles’
   > – The CUDA compiler identification is NVIDIA 10.0.130
   > – Check for working CUDA compiler: /usr/local/cuda/bin/nvcc
   > – Check for working CUDA compiler: /usr/local/cuda/bin/nvcc – works
   > – Detecting CUDA compiler ABI info
   > – Detecting CUDA compiler ABI info - done
   > – Performing Test SUPPORT_CXX11
   > – Performing Test SUPPORT_CXX11 - Success
   > – Performing Test SUPPORT_CXX0X
   > – Performing Test SUPPORT_CXX0X - Success
   > – Performing Test SUPPORT_MSSE2
   > – Performing Test SUPPORT_MSSE2 - Success
   > – Determining F16C support
   > – Performing Test COMPILER_SUPPORT_MF16C
   > – Performing Test COMPILER_SUPPORT_MF16C - Success
   > – Downloading MKLML…
   > – Setting MKLROOT path to 
/home/usrname/Install/mxnet/mklml/mklml_lnx_2019.0.1.20180928
   > – CMAKE_BUILD_TYPE is unset, defaulting to Release
   > – Detecting Intel® MKL: trying mklml_intel
   > – Intel® MKL: include 
/home/usrname/Install/mxnet/mklml/mklml_lnx_2019.0.1.20180928/include
   > – Intel® MKL: lib 
/home/usrname/Install/mxnet/mklml/mklml_lnx_2019.0.1.20180928/lib/libmklml_intel.so
   > – Found OpenMP_C: -fopenmp (found version “4.0”)
   > – Found OpenMP_CXX: -fopenmp (found version “4.0”)
   > – Found OpenMP: TRUE (found version “4.0”)
   > – OpenMP lib: 
/home/usrname/Install/mxnet/mklml/mklml_lnx_2019.0.1.20180928/lib/libiomp5.so
   > – Found Doxygen: /usr/bin/doxygen (found version “1.8.11”) found 
components: doxygen dot
   > – VTune profiling environment is unset
   > – Looking for pthread.h
   > – Looking for pthread.h - found
   > – Looking for pthread_create
   > – Looking for pthread_create - not found
   > – Looking for pthread_create in pthreads
   > – Looking for pthread_create in pthreads - not found
   > – Looking for pthread_create in pthread
   > – Looking for pthread_create in pthread - found
   > – Found Threads: TRUE
   > – Found CUDA: /usr/local/cuda (found version “10.0”)
   > CMake Warning (dev) at cmake/ChooseBlas.cmake:23 (find_package):
   > Policy CMP0074 is not set: find_package uses _ROOT variables.
   > Run “cmake --help-policy CMP0074” for policy details. Use the cmake_policy
   > command to set the policy and suppress this warning.
   > CMake variable MKL_ROOT is set to:
   > /opt/intel/mkl
   > 
   > For compatibility, CMake is ignoring the variable.
   > Call Stack (most recent call first):
   > CMakeLists.txt:283 (include)
   > This warning is for project developers. Use -Wno-dev to suppress it.
   > – Could NOT find MKL (missing: MKLML_GNU_LIBRARY MKLDNN_LIBRARY)
   > CMake Error at 
/usr/local/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 
(message):
   > Could NOT find MKL (missing: MKLML_GNU_LIBRARY MKLDNN_LIBRARY)
   > Call Stack (most recent call first):
   > 
/usr/local/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 
(_FPHSA_FAILURE_MESSAGE)
   > cmake/Modules/FindMKL.cmake:199 (find_package_handle_standard_args)
   > cmake/ChooseBlas.cmake:47 (find_package)
   > CMakeLists.txt:283 (include)
   > – Configuring incomplete, errors occurred!`
   

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


With regards,
Apache Git Services

Reply via email to