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/02/11 12:44:03 UTC

[GitHub] arnaghizadeh opened a new issue #9765: Installation with GPU on Fedora 27?

arnaghizadeh opened a new issue #9765: Installation with GPU on Fedora 27?
URL: https://github.com/apache/incubator-mxnet/issues/9765
 
 
   Hi, was anyone successful to compile MXNET with GPU support on Fedora 27? I can successfully compile it with the CPU, but for GPU, I think because installed directories are different from the presumed locations it causes some problems. Here is my cuda directories (installed, NVidia driver, CUDA and cuDNN from negativo17 repository) 
   ` find / -type d -name cuda 2>/dev/null
   /usr/share/cuda
   /usr/include/opencv2/core/cuda
   /usr/include/cuda
   /usr/include/cuda/thrust/system/cuda
   /usr/libexec/cuda
   `
   and here is the error 
   `$ make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/include/cuda USE_CUDNN=1
   Makefile:243: WARNING: Significant performance increases can be achieved by installing and enabling gperftools or jemalloc development packages
   Running CUDA_ARCH:  
   cd /home/mehran/Desktop/incubator-mxnet/dmlc-core; make libdmlc.a USE_SSE=1 config=/home/mehran/Desktop/incubator-mxnet/make/config.mk; cd /home/mehran/Desktop/incubator-mxnet
   make[1]: Entering directory '/home/mehran/Desktop/incubator-mxnet/dmlc-core'
   /usr/include/cuda/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -O3 -ccbin g++    -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/mehran/Desktop/incubator-mxnet/mshadow/ -I/home/mehran/Desktop/incubator-mxnet/dmlc-core/include -fPIC -I/home/mehran/Desktop/incubator-mxnet/nnvm/include -I/home/mehran/Desktop/incubator-mxnet/dlpack/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/include/cuda/include -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_OPERATOR_TUNING=1 -DMXNET_USE_LAPACK -DMSHADOW_USE_CUDNN=1  -I/home/mehran/Desktop/incubator-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0" -M -MT build/src/operator/nn/cudnn/cudnn_batch_norm_gpu.o src/operator/nn/cudnn/cudnn_batch_norm.cu >build/src/operator/nn/cudnn/cudnn_b
 atch_norm_gpu.d
   /bin/sh: /usr/include/cuda/bin/nvcc: No such file or directory
   make: *** [Makefile:398: build/src/operator/nn/cudnn/cudnn_batch_norm_gpu.o] Error 127
   make: *** Waiting for unfinished jobs....
   /usr/include/cuda/bin/nvcc -std=c++11 -Xcompiler -D_FORCE_INLINES -O3 -ccbin g++    -Xcompiler "-DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/home/mehran/Desktop/incubator-mxnet/mshadow/ -I/home/mehran/Desktop/incubator-mxnet/dmlc-core/include -fPIC -I/home/mehran/Desktop/incubator-mxnet/nnvm/include -I/home/mehran/Desktop/incubator-mxnet/dlpack/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/include/cuda/include -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_OPERATOR_TUNING=1 -DMXNET_USE_LAPACK -DMSHADOW_USE_CUDNN=1  -I/home/mehran/Desktop/incubator-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0" -M -MT build/src/operator/contrib/dequantize_gpu.o src/operator/contrib/dequantize.cu >build/src/operator/contrib/dequantize_gpu.d
   /bin/sh: /usr/include/cuda/bin/nvcc: No such file or directory
   make: *** [Makefile:398: build/src/operator/contrib/dequantize_gpu.o] Error 127
   make[1]: 'libdmlc.a' is up to date.
   make[1]: Leaving directory '/home/mehran/Desktop/incubator-mxnet/dmlc-core'`
   

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