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/12/22 17:29:20 UTC
[GitHub] [incubator-mxnet] yelandgit opened a new issue #17145: Compilation
error
yelandgit opened a new issue #17145: Compilation error
URL: https://github.com/apache/incubator-mxnet/issues/17145
I'm trying to compile MXNet with different configurations:
~~~~~~~~
Configuration 1:
USE_CUDA = 0
USE_CUDNN = 1
USE_BLAS = open
USE_LAPACK = 1
USE_OPENCV = 1
USE_OPENMP = 1
USE_JEMALLOC = 0
USE_MKL_IF_AVAILABLE = 0
USE_CPP_PACKAGE = 1
ctest = ok (151 sec)
~~~~~~~~
~~~~~~~~
Configuration 2:
USE_CUDA = 0
USE_CUDNN = 1
USE_BLAS = open
USE_LAPACK = 1
USE_OPENCV = 1
USE_OPENMP = 1
USE_JEMALLOC = 0
USE_MKL_IF_AVAILABLE = 1
USE_CPP_PACKAGE = 1
ctest = failed (1500 sec)
~~~~~~~~
Why the ctest is failed?
~~~~~~~~
Configuration 3:
USE_CUDA = 0
USE_CUDNN = 0
USE_BLAS = open
USE_LAPACK = 1
USE_OPENCV = 1
USE_OPENMP = 1
USE_JEMALLOC = 1
USE_MKL_IF_AVAILABLE = 1
USE_CPP_PACKAGE = 1
*** compilator error
[ 96%] Built target mxnet
Scanning dependencies of target cpp_package_op_h
Running: OpWrapperGenerator.py
Traceback (most recent call last):
File "OpWrapperGenerator.py", line 433, in <module>
raise(e)
OSError: /usr/local/lib/libjemalloc.so.2: cannot allocate memory in static TLS block
cpp-package/CMakeFiles/cpp_package_op_h.dir/build.make:58: recipe for target 'cpp-package/CMakeFiles/cpp_package_op_h' failed
make[2]: *** [cpp-package/CMakeFiles/cpp_package_op_h] Error 1
CMakeFiles/Makefile2:2569: recipe for target 'cpp-package/CMakeFiles/cpp_package_op_h.dir/all' failed
make[1]: *** [cpp-package/CMakeFiles/cpp_package_op_h.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 96%] Built target image-classification-predict
[ 96%] Built target im2rec
[ 96%] Linking CXX executable mxnet_unit_tests
[ 96%] Built target mxnet_unit_tests
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
~~~~~~~~
What did I make wrong? Invalid parameter combination?
I need MXNet without GPU support, just CPU. How can I do it?
----------------------------------------------------------------
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
[GitHub] [incubator-mxnet] leezu commented on issue #17145: Compilation error
Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17145: Compilation error
URL: https://github.com/apache/incubator-mxnet/issues/17145#issuecomment-568713479
A change in upstream jemalloc means that we can't link with system jemalloc.
This will be fixed once https://github.com/apache/incubator-mxnet/pull/17121 is merged. In the meantime you can use that PR if you like to build with jemalloc.
----------------------------------------------------------------
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