compile mxnet with Cuda7.5
I install cuda in /usr/local/cuda-7.5, and run ./deviceQuery pass;edit ~/.bashrc like this: export LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:/home/a/warp-ctc/build:/usr/local/cuda-7.5/lib64" export PATH=/usr/local/cuda-7.5/bin:/home/a/anaconda2/bin:$PATH and edit config.mk: USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda-7.5 USE_BLAS=openblas
But Terminal show the message:
g++ -std=c++11 -DMSHADOW_FORCE_STREAM -Wall -O3 -I/home/a/GPU_mxnet/mxnet/mshadow/ -I/home/a/GPU_mxnet/mxnet/dmlc-core/include -fPIC -Iinclude -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -I/usr/local/cuda /include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSDHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 pkg-config --cflags opencv -fopenmp -DMSHADOW_USE_CUDNN=1 -DMXNET_USE_NVRTC=0 -MM -MT build/src/resource.o src/resource.cc >build/src/resource.d
g++: error: /include: No such file or directory make: *** [build/src/resource.o] Error 1
mxnet could install through binary package like tensorflow: pip install --upgrade $TF_BINARY_URL or pip install mxnet.whl. Install will be much more easy.
@anxingle The make should be fine. Maybe you are not running make under the MXNet directory?
@sxjscience Thank you. I run make in mxnet. and I can run (compile ) mxnet in cpu model.
@anxingle @sxjscience I'm having the same issue compiling mxnet using cuda-8.0. I can compile it in cpu mode. I'm running make in the mxnet root directory, and I've set cuda related path in config.mk
I figured that when I chance USE_CUDA_PATH, there was an extra space. Everything works now.
how to fix it?
Where can I found a guide to how enable CUDA compiling in R (for Windows)? I've already installed CUDA 8.0, but then?
This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!