{"action":"created","issue":{"url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/13","repository_url":"https://api.github.com/repos/mahyarnajibi/SNIPER","labels_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/13/comments","events_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/13/events","html_url":"https://github.com/mahyarnajibi/SNIPER/issues/13","id":335149707,"node_id":"MDU6SXNzdWUzMzUxNDk3MDc=","number":13,"title":"CMake fails","user":{"login":"liyangliu","id":5159489,"node_id":"MDQ6VXNlcjUxNTk0ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/5159489?v=4","gravatar_id":"","url":"https://api.github.com/users/liyangliu","html_url":"https://github.com/liyangliu","followers_url":"https://api.github.com/users/liyangliu/followers","following_url":"https://api.github.com/users/liyangliu/following{/other_user}","gists_url":"https://api.github.com/users/liyangliu/gists{/gist_id}","starred_url":"https://api.github.com/users/liyangliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyangliu/subscriptions","organizations_url":"https://api.github.com/users/liyangliu/orgs","repos_url":"https://api.github.com/users/liyangliu/repos","events_url":"https://api.github.com/users/liyangliu/events{/privacy}","received_events_url":"https://api.github.com/users/liyangliu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-24T04:20:09Z","updated_at":"2018-06-28T12:51:41Z","closed_at":null,"author_association":"NONE","body":"Hello, @mahyarnajibi, I am new to mxnet and when I run the cmake command, it turns out:\r\n\r\n-- The C compiler identification is GNU 4.8.4\r\n-- The CXX compiler identification is GNU 4.8.4\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- CMake version '3.11.4' using generator 'Unix Makefiles'\r\n-- The CUDA compiler identification is NVIDIA 8.0.26\r\n-- Check for working CUDA compiler: /usr/local/cuda-8.0/bin/nvcc\r\n-- Check for working CUDA compiler: /usr/local/cuda-8.0/bin/nvcc -- works\r\n-- Detecting CUDA compiler ABI info\r\n-- Detecting CUDA compiler ABI info - done\r\n-- Performing Test SUPPORT_CXX11\r\n-- Performing Test SUPPORT_CXX11 - Success\r\n-- Performing Test SUPPORT_CXX0X\r\n-- Performing Test SUPPORT_CXX0X - Success\r\n-- Performing Test SUPPORT_MSSE2\r\n-- Performing Test SUPPORT_MSSE2 - Success\r\nCMake Deprecation Warning at 3rdparty/mkldnn/CMakeLists.txt:21 (cmake_policy):\r\n  The OLD behavior for policy CMP0048 will be removed from a future version\r\n  of CMake.\r\n\r\n  The cmake-policies(7) manual explains that the OLD behaviors of all\r\n  policies are deprecated and that a policy should be set to OLD only under\r\n  specific short-term circumstances.  Projects should be ported to the NEW\r\n  behavior and not rely on setting a policy to OLD.\r\n\r\n\r\nCMake Deprecation Warning at 3rdparty/mkldnn/CMakeLists.txt:22 (cmake_policy):\r\n  The OLD behavior for policy CMP0054 will be removed from a future version\r\n  of CMake.\r\n\r\n  The cmake-policies(7) manual explains that the OLD behaviors of all\r\n  policies are deprecated and that a policy should be set to OLD only under\r\n  specific short-term circumstances.  Projects should be ported to the NEW\r\n  behavior and not rely on setting a policy to OLD.\r\n\r\n\r\n-- CMAKE_BUILD_TYPE is unset, defaulting to Release\r\n-- Detecting Intel(R) MKL: trying mklml_intel\r\n-- Detecting Intel(R) MKL: trying mklml\r\n-- Detecting Intel(R) MKL: trying mkl_rt\r\nCMake Warning at 3rdparty/mkldnn/cmake/MKL.cmake:178 (message):\r\n  Intel(R) MKL not found.  Some performance features may not be available.\r\n  Please run scripts/prepare_mkl.sh to download a minimal set of libraries or\r\n  get a full version from https://software.intel.com/en-us/intel-mkl\r\nCall Stack (most recent call first):\r\n  3rdparty/mkldnn/cmake/OpenMP.cmake:25 (include)\r\n  3rdparty/mkldnn/CMakeLists.txt:57 (include)\r\n\r\n\r\n-- Found OpenMP_C: -fopenmp (found version \"3.1\") \r\n-- Found OpenMP_CXX: -fopenmp (found version \"3.1\") \r\n-- Found OpenMP: TRUE (found version \"3.1\")  \r\n-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) \r\n-- VTune profiling environment is unset\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - found\r\n-- Found Threads: TRUE  \r\n-- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKLML_GNU_LIBRARY MKLDNN_LIBRARY) \r\n--  MKL not found\r\n-- Found CUDA: /usr/local/cuda-8.0 (found version \"8.0\") \r\n-- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKLML_GNU_LIBRARY MKLDNN_LIBRARY) \r\n-- Found OpenBLAS libraries: /usr/lib/libopenblas.so\r\n-- Found OpenBLAS include: /usr/include\r\n-- Could NOT find Gperftools (missing: GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR) \r\n-- Found PkgConfig: /usr/bin/pkg-config (found version \"0.26\") \r\n-- Could NOT find Jemalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR) \r\n--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc\r\n-- OpenCV found (/usr/share/OpenCV)\r\n-- Found OpenMP_C: -fopenmp  \r\n-- Found OpenMP_CXX: -fopenmp  \r\n-- Found OpenMP: TRUE   \r\nCMake Error at SNIPER/SNIPER-mxnet/build/3rdparty/openmp/runtime/CMakeFiles/CMakeTmp/CMakeLists.txt:3 (project):\r\n  Generator\r\n\r\n    Unix Makefiles\r\n\r\n  does not support toolset specification, but toolset\r\n\r\n    cuda=,host=x64\r\n\r\n  was specified.\r\n\r\n\r\nCMake Error: CMAKE_C_COMPILER not set, after EnableLanguage\r\nCMake Error at 3rdparty/openmp/runtime/cmake/LibompGetArchitecture.cmake:57 (try_run):\r\n  Failed to configure test project build system.\r\nCall Stack (most recent call first):\r\n  3rdparty/openmp/runtime/CMakeLists.txt:40 (libomp_get_architecture)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\n\r\nWould you please be so kind as to help me out? Thanks."},"comment":{"url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/comments/401023507","html_url":"https://github.com/mahyarnajibi/SNIPER/issues/13#issuecomment-401023507","issue_url":"https://api.github.com/repos/mahyarnajibi/SNIPER/issues/13","id":401023507,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTAyMzUwNw==","user":{"login":"liyangliu","id":5159489,"node_id":"MDQ6VXNlcjUxNTk0ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/5159489?v=4","gravatar_id":"","url":"https://api.github.com/users/liyangliu","html_url":"https://github.com/liyangliu","followers_url":"https://api.github.com/users/liyangliu/followers","following_url":"https://api.github.com/users/liyangliu/following{/other_user}","gists_url":"https://api.github.com/users/liyangliu/gists{/gist_id}","starred_url":"https://api.github.com/users/liyangliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyangliu/subscriptions","organizations_url":"https://api.github.com/users/liyangliu/orgs","repos_url":"https://api.github.com/users/liyangliu/repos","events_url":"https://api.github.com/users/liyangliu/events{/privacy}","received_events_url":"https://api.github.com/users/liyangliu/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T12:51:41Z","updated_at":"2018-06-28T12:51:41Z","author_association":"NONE","body":"Hi, @mahyarnajibi, my g++ version is 4.8.4 and conda is 4.4.7\r\n\r\nI tried to compile SNIPER-mxnet according to your README, but error occurs as:\r\n**error: ‘CUDA_R_32I’ was not declared in this scope**"}}
{"actor":{"display_login":"liyangliu"}}