aaronmarkham commented on issue #13875: importing mxnet causing subprocess to 
crash
URL: 
https://github.com/apache/incubator-mxnet/issues/13875#issuecomment-455257763
 
 
   Researching the build logs from the first crash... I see that mkldnn is set 
to 0 in some of the earlier build routines, but when making the docs, mkldnn 
files are being built by mshadow:
   ```
   + make docs SPHINXOPTS=-W
   /work/mxnet /work/mxnet
   make -C docs html
   make[1]: Entering directory '/work/mxnet/docs'
   export BUILD_VER=
   Env var set for BUILD_VER: 
   sphinx-build -b html -d _build/doctrees  -W . _build/html
   Running Sphinx v1.5.6
   making output directory...
   Building version default
   Document sets to generate:
   scala_docs    : 1
   java_docs     : 1
   clojure_docs  : 1
   doxygen_docs  : 1
   r_docs        : 0
   Building MXNet!
   Building Doxygen!
   Building Scala!
   Building Scala Docs!
   Building Java Docs!
   Building Clojure Docs!
   loading pickled environment... not yet created
   make[2]: Entering directory '/work/mxnet'
   g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -g -O0 
-I/work/mxnet/3rdparty/mshadow/ -I/work/mxnet/3rdparty/dmlc-core/include -fPIC 
-I/work/mxnet/3rdparty/tvm/nnvm/include -I/work/mxnet/3rdparty/dlpack/include 
-I/work/mxnet/3rdparty/tvm/include -Iinclude -funroll-loops 
-Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 
-mf16c -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 
-I/include -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 
-DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp 
-DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_LAPACK  -DMXNET_USE_NCCL=0 
-DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c 
src/operator/subgraph/mkldnn/mkldnn_conv_property.cc -o 
build/src/operator/subgraph/mkldnn/mkldnn_conv_property.o
   ```
   
   Then down further I see more...
   ```
   ar crv lib/libmxnet.a 
build/src/operator/subgraph/mkldnn/mkldnn_conv_property.o 
   build/src/operator/subgraph/mkldnn/mkldnn_conv_post_quantize_property.o 
build/src/operator/subgraph/mkldnn/mkldnn_conv.o 
build/src/operator/nn/mkldnn/mkldnn_convolution.o 
build/src/operator/nn/mkldnn/mkldnn_concat.o 
build/src/operator/nn/mkldnn/mkldnn_base.o 
build/src/operator/nn/mkldnn/mkldnn_act.o 
build/src/operator/nn/mkldnn/mkldnn_softmax.o 
build/src/operator/nn/mkldnn/mkldnn_deconvolution.o 
build/src/operator/nn/mkldnn/mkldnn_copy.o 
   ...
   a - build/src/operator/subgraph/mkldnn/mkldnn_conv_property.o
   a - build/src/operator/subgraph/mkldnn/mkldnn_conv_post_quantize_property.o
   a - build/src/operator/subgraph/mkldnn/mkldnn_conv.o
   a - build/src/operator/nn/mkldnn/mkldnn_convolution.o
   a - build/src/operator/nn/mkldnn/mkldnn_concat.o
   ...
   ```
   So would this help reveal why docs is experiencing the same kind of crashing?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to