justanotheruser commented on issue #20099:
URL: 
https://github.com/apache/incubator-mxnet/issues/20099#issuecomment-808975408


   I tried to build with settings in 
https://github.com/apache/incubator-mxnet/blob/master/ci/build_windows.py
   This is exact command that I used: `python build_windows.py --flavour 
WIN_GPU_MKLDNN`
   <details>
   <summary>Build log (start)</summary>
   (venv) D:\incubator-mxnet\ci>python build_windows.py --flavour WIN_GPU_MKLDNN
   2021-03-29 02:03:58,868 MXNet Windows build helper
   2021-03-29 02:03:58,868 Build flavour: WIN_GPU_MKLDNN
   2021-03-29 02:03:58,868 Detected Windows platform
   2021-03-29 02:03:58,868 Using vcvars environment:
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
   2021-03-29 02:03:58,868 Found MXNet root: D:\incubator-mxnet
   2021-03-29 02:03:59,158 Generating project with CMake:
   "C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" && cmake -GNinja 
-DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DUSE_CUDA=ON -DUSE_CUDNN=ON
    -DENABLE_CUDA_RTC=ON -DUSE_OPENCV=ON -DUSE_OPENMP=ON -DUSE_BLAS=open 
-DUSE_LAPACK=ON -DUSE_DIST_KVSTORE=OFF -DMXNET_CUDA_ARCH="5.2" -DUSE_MKLDNN=ON 
-DCMAKE_BUILD_TYPE=Release D:\incubato
   r-mxnet
   **********************************************************************
   ** Visual Studio 2019 Developer Command Prompt v16.9.2
   ** Copyright (c) 2021 Microsoft Corporation
   **********************************************************************
   [vcvarsall.bat] Environment initialized for: 'x64'
   -- The C compiler identification is MSVC 19.28.29913.0
   -- The CXX compiler identification is MSVC 19.28.29913.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual 
Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual 
Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- CMAKE_CROSSCOMPILING FALSE
   -- CMAKE_HOST_SYSTEM_PROCESSOR AMD64
   -- CMAKE_SYSTEM_PROCESSOR AMD64
   -- CMAKE_SYSTEM_NAME Windows
   -- CMake version '3.20.0-rc4' using generator 'Ninja'
   -- Looking for a CUDA compiler
   -- Looking for a CUDA compiler - C:/Program Files/NVIDIA GPU Computing 
Toolkit/CUDA/v10.2/bin/nvcc.exe
   -- The CUDA compiler identification is NVIDIA 10.2.89
   -- Detecting CUDA compiler ABI info
   -- Detecting CUDA compiler ABI info - done
   -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing 
Toolkit/CUDA/v10.2/bin/nvcc.exe - skipped
   -- Detecting CUDA compile features
   -- Detecting CUDA compile features - done
   -- The ASM_MASM compiler identification is MSVC
   -- Found assembler: C:/Program Files (x86)/Microsoft Visual 
Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/ml64.exe
   CMake Deprecation Warning at 3rdparty/mkldnn/CMakeLists.txt:17 
(cmake_minimum_required):
     Compatibility with CMake < 2.8.12 will be removed from a future version of
     CMake.
   
     Update the VERSION argument <min> value or use a ...<max> suffix to tell
     CMake that the project does not need compatibility with older versions.
   
   
   -- Intel MKL-DNN compat: set DNNL_BUILD_EXAMPLES to MKLDNN_BUILD_EXAMPLES 
with value `OFF`
   -- Intel MKL-DNN compat: set DNNL_BUILD_TESTS to MKLDNN_BUILD_TESTS with 
value `OFF`
   -- Intel MKL-DNN compat: set DNNL_ENABLE_JIT_PROFILING to 
MKLDNN_ENABLE_JIT_PROFILING with value `OFF`
   -- Intel MKL-DNN compat: set DNNL_LIBRARY_TYPE to MKLDNN_LIBRARY_TYPE with 
value `STATIC`
   -- Intel MKL-DNN compat: set DNNL_ARCH_OPT_FLAGS to MKLDNN_ARCH_OPT_FLAGS 
with value ``
   -- Looking for pthread.h
   -- Looking for pthread.h - not found
   -- Found Threads: TRUE
   -- Found OpenMP_C: -openmp (found version "2.0")
   -- Found OpenMP_CXX: -openmp (found version "2.0")
   -- Found OpenMP: TRUE (found version "2.0")
   -- GPU support is disabled
   -- Found Git: C:/Program Files/Git/cmd/git.exe (found version 
"2.29.2.windows.3")
   -- Primitive cache is enabled
   -- Found OpenBLAS libraries: 
D:/OpenBLAS-v0.2.19-Win64-int32/lib/libopenblas.dll.a
   -- Found OpenBLAS include: D:/OpenBLAS-v0.2.19-Win64-int32/include
   -- OpenCV ARCH: x64
   -- OpenCV RUNTIME: vc15
   -- OpenCV STATIC: OFF
   -- Found OpenCV: C:/.conan/87a46b/1 (found version "4.1.1") found 
components: core highgui imgproc imgcodecs
   -- Found OpenCV 4.1.1 in C:/.conan/87a46b/1/cmake/x64/vc15/lib
   -- You might need to add C:\.conan\87a46b\1\cmake\x64\vc15\bin to your PATH 
to be able to run your applications.
   -- OpenCV 4.1.1 found (C:/.conan/87a46b/1/cmake/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:47 (project):
     VERSION keyword not followed by a value or was followed by a value that
     expanded to nothing.
   
   
   CMake Deprecation Warning at 
3rdparty/googletest/googletest/CMakeLists.txt:49 (cmake_minimum_required):
     Compatibility with CMake < 2.8.12 will be removed from a future version of
     CMake.
   
     Update the VERSION argument <min> value or use a ...<max> suffix to tell
     CMake that the project does not need compatibility with older versions.
   
   
   -- Found PythonInterp: D:/incubator-mxnet/ci/venv/Scripts/python.exe (found 
version "3.6.8")
   -- Found GTest: gtest
   -- Found CUDNN: C:/Program Files/NVIDIA GPU Computing 
Toolkit/CUDA/v10.2/lib/x64/cudnn.lib
   -- Looking for clock_gettime in rt
   -- Looking for clock_gettime in rt - not found
   -- Looking for fopen64
   -- Looking for fopen64 - not found
   -- Looking for C++ include cxxabi.h
   -- Looking for C++ include cxxabi.h - not found
   -- Looking for nanosleep
   -- Looking for nanosleep - not found
   -- Looking for backtrace
   -- Looking for backtrace - not found
   -- Could NOT find Backtrace (missing: Backtrace_LIBRARY 
Backtrace_INCLUDE_DIR)
   -- D:/incubator-mxnet/3rdparty/dmlc-core/cmake/build_config.h.in -> 
include/dmlc/build_config.h
   -- CUDA: Using the following NVCC architecture flags 
-gencode;arch=compute_52,code=sm_52
   -- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing 
Toolkit/CUDA/v10.2/include (found version "10.2.89")
   -- Performing Test SUPPORT_MSSE3
   -- Performing Test SUPPORT_MSSE3 - Failed
   -- Performing Test SUPPORT_MSSE2
   -- Performing Test SUPPORT_MSSE2 - Failed
   -- Determining F16C support
   F16C instruction set is not yet supported for MSVC
   -- CUDA: Adding NVCC options: --fatbin-options --compress-all
   -- Google Test not found
   -- Configuring done
   CMake Warning (dev) in CMakeLists.txt:
     Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
     empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
     for policy details.  Use the cmake_policy command to set the policy and
     suppress this warning.
   
     CUDA_ARCHITECTURES is empty for target "mxnet_52".
   This warning is for project developers.  Use -Wno-dev to suppress it.
   
   CMake Warning (dev) in CMakeLists.txt:
     Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
     empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
     for policy details.  Use the cmake_policy command to set the policy and
     suppress this warning.
   
     CUDA_ARCHITECTURES is empty for target "customop_gpu_lib".
   This warning is for project developers.  Use -Wno-dev to suppress it.
   
   -- Generating done
   -- Build files have been written to: D:/incubator-mxnet/ci/build
   2021-03-29 02:04:21,538 Building:
   "C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" && ninja
   **********************************************************************
   ** Visual Studio 2019 Developer Command Prompt v16.9.2
   ** Copyright (c) 2021 Microsoft Corporation
   **********************************************************************
   [vcvarsall.bat] Environment initialized for: 'x64'
   [2/877] Building CXX object 
CMakeFiles\mxnet_52.dir\src\operator\identity_attach_KL_sparse_reg.cc.obj
   </details>
   After 1800000 more lines of build ends with **ninja: build stopped: 
subcommand failed.** with no clear error code.
   Pls halp
   


-- 
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]

Reply via email to