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/03/29 22:48:05 UTC

[GitHub] [incubator-mxnet] apeforest commented on issue #14535: [DOC] Updated install instructions for mac

apeforest commented on issue #14535: [DOC] Updated install instructions for mac
URL: https://github.com/apache/incubator-mxnet/pull/14535#issuecomment-478171923
 
 
   I treid to follow this doc to use cmake on my Mac, but got the following error message:
   
   ```
   -- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_RT_LIBRARY) 
   -- Found OpenBLAS libraries: /usr/local/opt/openblas/lib/libopenblas.dylib
   -- Found OpenBLAS include: /System/Library/Frameworks/vecLib.framework/Headers
   -- Could NOT find Gperftools (missing: GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR) 
   -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
   -- Could NOT find Jemalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR) 
   -- Found OpenCV: /usr/local (found version "3.4.3") found components:  core highgui imgproc imgcodecs 
   --  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
   -- OpenCV 3.4.3 found (/usr/local/share/OpenCV)
   CMake Error at /usr/local/Cellar/cmake/3.13.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
     Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
   Call Stack (most recent call first):
     /usr/local/Cellar/cmake/3.13.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
     /usr/local/Cellar/cmake/3.13.0/share/cmake/Modules/FindOpenMP.cmake:473 (find_package_handle_standard_args)
     CMakeLists.txt:408 (find_package)
   
   
   -- Configuring incomplete, errors occurred!
   See also "/Users/lnyuan/work/mxnet/build/CMakeFiles/CMakeOutput.log".
   Traceback (most recent call last):
     File "./dev_menu.py", line 242, in <module>
       sys.exit(main())
     File "./dev_menu.py", line 238, in main
       globals()[args.command](args)
     File "./dev_menu.py", line 197, in use_menu_ui
       handle_commands(COMMANDS[command_list[choice]])
     File "./dev_menu.py", line 183, in handle_commands
       handle_commands(cmd)
     File "./dev_menu.py", line 187, in handle_commands
       cmds()
     File "./dev_menu.py", line 92, in __call__
       check_call(cmd_lst)
     File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 347, in check_call
       raise CalledProcessError(retcode, cmd)
   subprocess.CalledProcessError: Command '['cmake', '-DUSE_CUDA=OFF', '-DUSE_OLDCMAKECUDA=OFF', '-DUSE_NCCL=OFF', '-DUSE_OPENCV=ON', '-DUSE_OPENMP=ON', '-DUSE_CUDNN=ON', '-DUSE_SSE=ON', '-DUSE_F16C=ON', '-DUSE_LAPACK=ON', '-DUSE_MKL_IF_AVAILABLE=ON', '-DUSE_MKLML_MKL=ON', '-DUSE_MKLDNN=ON', '-DUSE_OPERATOR_TUNING=ON', '-DUSE_GPERFTOOLS=ON', '-DUSE_JEMALLOC=ON', '-DUSE_PROFILER=ON', '-DUSE_DIST_KVSTORE=OFF', '-DUSE_PLUGINS_WARPCTC=OFF', '-DUSE_PLUGIN_CAFFE=OFF', '-DUSE_CPP_PACKAGE=OFF', '-DUSE_MXNET_LIB_NAMING=ON', '-DUSE_GPROF=OFF', '-DUSE_CXX14_IF_AVAILABLE=OFF', '-DUSE_VTUNE=OFF', '-DENABLE_CUDA_RTC=ON', '-DBUILD_CPP_EXAMPLES=ON', '-DINSTALL_EXAMPLES=OFF', '-DUSE_SIGNAL_HANDLER=ON', '-DUSE_TENSORRT=OFF', '-DUSE_ASAN=OFF', '-DENABLE_TESTCOVERAGE=OFF', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_CUDA_COMPILER_LAUNCHER=ccache', '-DCMAKE_C_COMPILER_LAUNCHER=ccache', '-DCMAKE_CXX_COMPILER_LAUNCHER=ccache', '-GNinja', '..']' returned non-zero exit status 1.
   ```

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