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/12/28 04:08:44 UTC

[GitHub] s0nghuiming opened a new issue #13739: Building mxnet over OpenBLAS fails

s0nghuiming opened a new issue #13739: Building mxnet over OpenBLAS fails
URL: https://github.com/apache/incubator-mxnet/issues/13739
 
 
   ## Description
   I am building mxnet over OpenBLAS but it fails due to missing file 'cblas.h'.
   Does anyone meet the same error?
   
   ## Environment info
   
   Package used (Python/R/Scala/Julia):
   I'm using Python.
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio):
   g++
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   3bfcd93dff33d27a6087e39dd9387718456b5f51
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   export CPATH=/usr/include/openblas; make -j40 USE_BLAS=openblas USE_CUDA=1 USE_CUDNN=1 USE_CUDA_PATH=/usr/local/cuda-9.0 USE_OPENCV=1
   
   ## Error Message:
   (Paste the complete error message, including stack trace.)
   In file included from /home/mxnet/workspace/source/incubator-mxnet/3rdparty/mshadow/mshadow/tensor.h:16:0,
                    from include/mxnet/./base.h:32,
                    from include/mxnet/operator_util.h:43,
                    from src/operator/contrib/nnz.cc:25:
   /home/mxnet/workspace/source/incubator-mxnet/3rdparty/mshadow/mshadow/./base.h:162:23: fatal error: cblas.h: No such file or directory
        #include <cblas.h>
                          ^
   compilation terminated.
   
   
   ## Steps to reproduce
   export CPATH=/usr/include/openblas; make -j40 USE_BLAS=openblas USE_CUDA=1 USE_CUDNN=1 USE_CUDA_PATH=/usr/local/cuda-9.0 USE_OPENCV=1
   
   

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