mahyarnajibi / SNIPER

SNIPER / AutoFocus is an efficient multi-scale object detection training / inference algorithm
Other
2.69k stars 449 forks source link

cudnn_algoreg.o Failed Error #108

Open balajiselvaraj1601 opened 5 years ago

balajiselvaraj1601 commented 5 years ago

Makefile:166: "USE_LAPACK disabled because libraries were not found" Running CUDA_ARCH: -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=[sm_70,compute_70] --fatbin-options -compress-all g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_convolution.cc -o build/src/operator/nn/mkldnn/mkldnn_convolution.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_act.cc -o build/src/operator/nn/mkldnn/mkldnn_act.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_deconvolution.cc -o build/src/operator/nn/mkldnn/mkldnn_deconvolution.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_fully_connected.cc -o build/src/operator/nn/mkldnn/mkldnn_fully_connected.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_base.cc -o build/src/operator/nn/mkldnn/mkldnn_base.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_softmax.cc -o build/src/operator/nn/mkldnn/mkldnn_softmax.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_pooling.cc -o build/src/operator/nn/mkldnn/mkldnn_pooling.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_sum.cc -o build/src/operator/nn/mkldnn/mkldnn_sum.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_copy.cc -o build/src/operator/nn/mkldnn/mkldnn_copy.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/mkldnn/mkldnn_concat.cc -o build/src/operator/nn/mkldnn/mkldnn_concat.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/cudnn/cudnn_algoreg.cc -o build/src/operator/nn/cudnn/cudnn_algoreg.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/cudnn/cudnn_batch_norm.cc -o build/src/operator/nn/cudnn/cudnn_batch_norm.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/pooling.cc -o build/src/operator/nn/pooling.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/softmax.cc -o build/src/operator/nn/softmax.o In file included from include/mxnet/./resource.h:31:0, from include/mxnet/operator.h:39, from src/operator/nn/cudnn/./../convolution-inl.h:33, from src/operator/nn/cudnn/./cudnn_algoreg-inl.h:34, from src/operator/nn/cudnn/cudnn_algoreg.cc:26: include/mxnet/./../../src/common/random_generator.h: In static member function ‘static void mxnet::common::random::RandGenerator<mshadow::gpu, DType>::AllocState(mxnet::common::random::RandGenerator<mshadow::gpu, DType>)’: include/mxnet/./../../src/common/random_generator.h:154:5: error: there are no arguments to ‘CUDA_CALL’ that depend on a template parameter, so a declaration of ‘CUDA_CALL’ must be available [-fpermissive] CUDACALL(cudaMalloc(&inst->states, ^~~~~ include/mxnet/./../../src/common/random_generator.h:154:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) include/mxnet/./../../src/common/random_generator.h: In static member function ‘static void mxnet::common::random::RandGenerator<mshadow::gpu, DType>::FreeState(mxnet::common::random::RandGenerator<mshadow::gpu, DType>)’: include/mxnet/./../../src/common/random_generator.h:159:5: error: there are no arguments to ‘CUDA_CALL’ that depend on a template parameter, so a declaration of ‘CUDA_CALL’ must be available [-fpermissive] CUDACALL(cudaFree(inst->states)); ^~~~~ In file included from src/operator/nn/mkldnn/../../linalg.h:31:0, from src/operator/nn/mkldnn/../fully_connected-inl.h:37, from src/operator/nn/mkldnn/mkldnn_fully_connected.cc:26: src/operator/nn/mkldnn/../.././c_lapack_api.h:330:25: note: #pragma message: Warning: lapack usage not enabled, linalg-operators will not be available. Ensure that lapack library is installed and build with USE_LAPACK=1 to get lapack functionalities. " functionalities.") ^ In file included from src/operator/nn/mkldnn/../../linalg.h:31:0, from src/operator/nn/mkldnn/../convolution-inl.h:44, from src/operator/nn/mkldnn/mkldnn_convolution.cc:26: src/operator/nn/mkldnn/../.././c_lapack_api.h:330:25: note: #pragma message: Warning: lapack usage not enabled, linalg-operators will not be available. Ensure that lapack library is installed and build with USE_LAPACK=1 to get lapack functionalities. " functionalities.") ^ In file included from src/operator/nn/cudnn/./../../linalg.h:31:0, from src/operator/nn/cudnn/./../convolution-inl.h:44, from src/operator/nn/cudnn/./cudnn_algoreg-inl.h:34, from src/operator/nn/cudnn/cudnn_algoreg.cc:26: src/operator/nn/cudnn/./../.././c_lapack_api.h: At global scope: src/operator/nn/cudnn/./../.././c_lapack_api.h:330:25: note: #pragma message: Warning: lapack usage not enabled, linalg-operators will not be available. Ensure that lapack library is installed and build with USE_LAPACK=1 to get lapack functionalities. " functionalities.") ^ g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/deconvolution.cc -o build/src/operator/nn/deconvolution.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/activation.cc -o build/src/operator/nn/activation.o g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -Wsign-compare -O3 -DNDEBUG=1 -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/mshadow/ -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dmlc-core/include -fPIC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/dlpack/include -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/nnvm/tvm/include -Iinclude -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -mf16c -I/usr/local/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=0 -fopenmp -DMXNET_USE_OPERATOR_TUNING=1 -DMSHADOW_USE_CUDNN=1 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DUSE_JEMALLOC -I/content/sample_data/SNIPER/SNIPER-mxnet/3rdparty/cub -DMXNET_ENABLE_CUDA_RTC=1 -DMXNET_USE_NCCL=0 -DMXNET_USE_LIBJPEG_TURBO=0 -MMD -c src/operator/nn/batch_norm.cc -o build/src/operator/nn/batch_norm.o Makefile:392: recipe for target 'build/src/operator/nn/cudnn/cudnn_algoreg.o' failed make: [build/src/operator/nn/cudnn/cudnn_algoreg.o] Error 1 make: Waiting for unfinished jobs....

Following are the configuration:

I have tried CUDA 10.1 with associated cUDNN CUDA 10.0 with associated cUDNN CUDA 9.2 with associated cUDNN

I am getting the same error in all the CUDA setup.

I am using google Colab. Its currently using Ubuntu 18.0.4

Kindly help me.. I am stuck on this for very long time.

jczestochowska commented 5 years ago

same here

Andrea-Chang commented 5 years ago

Switching to gcc 5 solves my issue! I am using CUDA10.0, Ubuntu18.04

patrick-su commented 5 years ago

switching to gcc-6 in config.mk solved my problem. https://github.com/apache/incubator-mxnet/issues/9267#issuecomment-355507125