liangyong928 commented on issue #19897: URL: https://github.com/apache/incubator-mxnet/issues/19897#issuecomment-779158247
在win10系统,如何编译使用GPU的mxnet? 系统中安装了CUDA 10.1, 下载了最新的mxnet源码,安装了python、git、7zip、cmake、ninja、opencv. 把新的googletest源码拷贝到incubator-mxnet\3rdparty目录. 用cmake-gui生成vs2019工程失败. In Win10 system, how to compile using GPU mxnet? The system installed CUDA 10.1, downloaded the latest mxnet source code, installed Python, git, 7zip, CMake, Ninja, OpenCV. Copy the new googletest source code into the incubator-mxnet\3rdparty directory. Failed to generate VS2019 project with cmake-gui. cmake-gui generate result: Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041. CMAKE_CROSSCOMPILING FALSE CMAKE_HOST_SYSTEM_PROCESSOR AMD64 CMAKE_SYSTEM_PROCESSOR AMD64 CMAKE_SYSTEM_NAME Windows CMake version '3.19.4' using generator 'Visual Studio 16 2019' CMake Warning at cmake/ChooseBlas.cmake:26 (find_package): By not providing "FindMKL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "MKL", but CMake did not find one. Could not find a package configuration file provided by "MKL" with any of the following names: MKLConfig.cmake mkl-config.cmake Add the installation prefix of "MKL" to CMAKE_PREFIX_PATH or set "MKL_DIR" to a directory containing one of the above files. If "MKL" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:312 (include) Found OpenBLAS libraries: D:/OpenBLAS/lib/libopenblas.dll.a Found OpenBLAS include: D:/OpenBLAS After choosing blas, linking to D:/OpenBLAS/lib/libopenblas.dll.a OpenCV ARCH: x64 OpenCV RUNTIME: vc15 OpenCV STATIC: OFF Found OpenCV 4.1.2 in C:/tools/opencv/build/x64/vc15/lib You might need to add C:\tools\opencv\build\x64\vc15\bin to your PATH to be able to run your applications. OpenCV 4.1.2 found (C:/tools/opencv/build/x64/vc15/lib) OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs USE_LAPACK is ON CMake Warning at 3rdparty/googletest/googletest/CMakeLists.txt:54 (project): VERSION keyword not followed by a value or was followed by a value that expanded to nothing. CMake Error at 3rdparty/googletest/googletest/CMakeLists.txt:129 (set_target_properties): set_target_properties called with incorrect number of arguments. CMake Error at 3rdparty/googletest/googletest/CMakeLists.txt:131 (set_target_properties): set_target_properties called with incorrect number of arguments. Could NOT find CUDNN (missing: CUDNN_LIBRARY CUDNN_INCLUDE) Could NOT find CUTENSOR (missing: CUTENSOR_LIBRARY CUTENSOR_INCLUDE) Autodetected CUDA architecture(s): 7.5 -- CUDA: Using the following NVCC architecture flags -gencode;arch=compute_75,code=sm_75 Using 64-bit integer for tensor size -- CUDA: Adding NVCC options: --fatbin-options --compress-all Google Test not found Configuring incomplete, errors occurred! See also "D:/study/bulid/CMakeFiles/CMakeOutput.log". See also "D:/study/bulid/CMakeFiles/CMakeError.log". ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
