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/10/12 18:15:36 UTC

[GitHub] sahbiept opened a new issue #12815: incubator-mxnet/3rdparty/mshadow/mshadow/./base.h:162:14: fatal error: cblas.h: No such file or directory

sahbiept opened a new issue #12815: incubator-mxnet/3rdparty/mshadow/mshadow/./base.h:162:14: fatal error: cblas.h: No such file or directory
URL: https://github.com/apache/incubator-mxnet/issues/12815
 
 
   Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
   
   For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io 
   
   ## Description
   (I want to install mxnet R package , I followed the instructions in the following site ( http://mxnet.incubator.apache.org/install/ubuntu_setup.html#install-the-mxnet-package-for-r), .but I get this error , I'm stuck a week ago now . I tried to modify the config.mk file by adding the following two lines: 
   # the additional link flags you want to add
   ADD_LDFLAGS =/opt/Anaconda/Anaconda3-5.1.0/envs/mro_env/lib
   
   # the additional compile flags you want to add
   ADD_CFLAGS =/opt/Anaconda/Anaconda3-5.1.0/envs/mro_env/include
   )
   
   ## Environment info (Required)
   
   ```
   What to do:
   1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
   2. Run the script using `python diagnose.py` and paste its output here.
   
   ```
   I installed R 3.5.1 using anaconda using this command: conda create -n mro_env r-essentials mro-base
   
   For Scala user, please provide:
   1. Java version: (`java -version`)
   2. Maven version: (`mvn -version`)
   3. Scala runtime if applicable: (`scala -version`)
   
   For R user, please provide R `sessionInfo()`:
   > sessionInfo()
   sh: 0: getcwd() failed: No such file or directory
   sh: 0: getcwd() failed: No such file or directory
   R version 3.5.1 (2018-07-02)
   Platform: x86_64-pc-linux-gnu (64-bit)
   Running under: Ubuntu 18.04.1 LTS
   
   Matrix products: default
   BLAS: /opt/Anaconda/Anaconda3-5.1.0/envs/mro_env/lib/R/lib/libRblas.so
   LAPACK: /opt/Anaconda/Anaconda3-5.1.0/envs/mro_env/lib/R/lib/libRlapack.so
   
   locale:
    [1] LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C              
    [3] LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8    
    [5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=fr_FR.UTF-8   
    [7] LC_PAPER=fr_FR.UTF-8       LC_NAME=C                 
    [9] LC_ADDRESS=C               LC_TELEPHONE=C            
   [11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C       
   
   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base     
   
   loaded via a namespace (and not attached):
   [1] compiler_3.5.1
   
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio):
   
   MXNet commit hash:
   (Paste the output of `git rev-parse HEAD` here.)
   
   Build config:
   (Paste the content of config.mk, or the build command.)
   
   ## Error Message:
   (In file included from /opt/Anaconda/Anaconda3-5.1.0/channel/linux-64/incubator-mxnet/3rdparty/mshadow/mshadow/tensor.h:16:0,
                    from include/mxnet/./base.h:32,
                    from include/mxnet/operator.h:38,
                    from src/operator/nn/mkldnn/../concat-inl.h:30,
                    from src/operator/nn/mkldnn/mkldnn_concat.cc:25:
   /opt/Anaconda/Anaconda3-5.1.0/channel/linux-64/incubator-mxnet/3rdparty/mshadow/mshadow/./base.h:162:14: fatal error: cblas.h: No such file or directory
        #include <cblas.h>
                 ^~~~~~~~~
   compilation terminated.
   make: *** [Makefile:463: build/src/operator/nn/mkldnn/mkldnn_act.o] Error 1
   make: *** [Makefile:463: build/src/operator/nn/mkldnn/mkldnn_concat.o] Error 1.)
   
   ## 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
   (Paste the commands you ran that produced the error.)
   
   1.git clone --recursive https://github.com/apache/incubator-mxnet
   2.cd incubator-mxnet
   3. make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas
   
   ## What have you tried to solve it?
   
   1.
   2.
   

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