You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/09/07 11:37:23 UTC

[GitHub] [incubator-mxnet] Yongle-Fu opened a new issue #19098: emscripten emcmake failed

Yongle-Fu opened a new issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098


   emcmake failed. 
   emcmake cmake .. -DUSE_CUDA=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 -DUSE_CPP_PACKAGE=1
   
   but without emcmake success.
   cmake .. -DUSE_CUDA=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 -DUSE_CPP_PACKAGE=1
   
   > emcmake cmake .. -DUSE_CUDA=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 -DUSE_CPP_PACKAGE=1
   configure: cmake .. -DUSE_CUDA=0 -DUSE_OPENCV=0 -DUSE_OPENMP=0 -DUSE_CPP_PACKAGE=1 -DCMAKE_TOOLCHAIN_FILE=/path/to/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR="/path/to/emsdk/node/12.18.1_64bit/bin/node"
   -- CMAKE_CROSSCOMPILING TRUE
   -- CMAKE_HOST_SYSTEM_PROCESSOR x86_64
   -- CMAKE_SYSTEM_PROCESSOR x86
   -- CMAKE_SYSTEM_NAME Emscripten
   -- CMake version '3.18.2' using generator 'Unix Makefiles'
   -- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_INTEL_LIBRARY MKL_INTEL_THREAD_LIBRARY MKL_CORE_LIBRARY IOMP_LIBRARY)
   -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
   -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
   CMake Error at cmake/Modules/FindOpenBLAS.cmake:82 (MESSAGE):
   Could not find OpenBLAS
   Call Stack (most recent call first):
   cmake/ChooseBlas.cmake:42 (find_package)
   CMakeLists.txt:303 (include)
   
   -- Configuring incomplete, errors occurred!
   See also "/path/to/mxnet/build_emsdk/CMakeFiles/CMakeOutput.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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] Yongle-Fu commented on issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
Yongle-Fu commented on issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098#issuecomment-688607445


   resolved by add setting 
   >
   IF(NOT OpenBLAS_LIB)
     set(OpenBLAS_INCLUDE_DIR "/usr/local/opt/openblas/include")
     set(OpenBLAS_LIB "/usr/local/opt/openblas/lib/libopenblas.dylib")
   ENDIF()


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha commented on issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
szha commented on issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098#issuecomment-688525833


   hmm it should have been found in this path https://github.com/apache/incubator-mxnet/blob/master/cmake/Modules/FindOpenBLAS.cmake#L29. What might be happening is that the emcmake wrapper didn't pass on the environment variables that helped you find openblas due to its choice of shebang. Try setting `${OpenBLAS_HOME}` instead.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha commented on issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
szha commented on issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098#issuecomment-688438239


   @Yongle-Fu it looks like when you use emcmake, the build system can't find a blas library. Which blas are you using?


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] Yongle-Fu closed issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
Yongle-Fu closed issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098


   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] Yongle-Fu commented on issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
Yongle-Fu commented on issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098#issuecomment-688524578


   openblas 0.3.10_1 
   /usr/local/opt/openblas


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha edited a comment on issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
szha edited a comment on issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098#issuecomment-688525833


   hmm it should have been found in this path https://github.com/apache/incubator-mxnet/blob/master/cmake/Modules/FindOpenBLAS.cmake#L29. What might be happening is that the emcmake wrapper didn't pass on the environment variables that helped you find openblas due to its [choice of shebang](https://github.com/emscripten-core/emscripten/blob/master/emcmake#L1). Try setting `${OpenBLAS_HOME}` instead.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #19098: emscripten emcmake failed

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #19098:
URL: https://github.com/apache/incubator-mxnet/issues/19098#issuecomment-688268749


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org