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 2018/01/20 00:46:11 UTC

[GitHub] Myrthan opened a new issue #9502: Cannot compile sources

Myrthan opened a new issue #9502: Cannot compile sources
URL: https://github.com/apache/incubator-mxnet/issues/9502
 
 
   ## Description
   Cannot fully compile mxnet on ubuntu because of out of memory error.
   
   ## Environment info (Required)
   Linux ip-172-31-12-26 4.4.0-1048-aws #57-Ubuntu SMP Tue Jan 9 21:45:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
   
   What to do:
   https://mxnet.incubator.apache.org/get_started/install.html
   Linux/Python/CPU/Build from Sources
   Step 4: $ make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas
   
   Package used (Python/R/Scala/Julia):
   Python
   
   ## Build info (Required if built from source)
   
   Compiler gcc.
   
   MXNet commit hash:
   This is my requirement.
   HEAD detached at 998378a
   
   ## Error Message:
   
   ## Minimum reproducible example
   (If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
   
   ## Steps to reproduce
   command:make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas
   Output:
   g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/ubuntu/mxnet/mshadow/ -I/home/ubuntu/mxnet/dmlc-core/include -fPIC -I/home/ubuntu/mxnet/nnvm/include -I/home/ubuntu/mxnet/dlpack/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMXNET_USE_LAPACK  -DMXNET_USE_NVRTC=0 -MMD -c src/operator/tensor/control_flow_op.cc -o build/src/operator/tensor/control_flow_op.o
   
   cc1plus: out of memory allocating 85573424 bytes after a total of 383340544 bytes
   Makefile:270: recipe for target 'build/src/operator/tensor/control_flow_op.o' failed
   make: *** [build/src/operator/tensor/control_flow_op.o] Error 1
   
   ## What have you tried to solve it?
   
   I know that those files could be created with different encoding on Windows which can cause my problem? I'm not sure about this and I;m not sure what is the best way to deal with it.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services