概述
问题1:
Error using vl_compilenn>nvcc_compile (line 535)
Command "/usr/local/cuda/bin/nvcc" -c
"/mnt/omnisky/personal/xiao/CREST-Release-master/CREST-Release-master/matconvnet/matlab/src/bits/impl/nnconv_cudnn.cu" -DNDEBUG -DENABLE_GPU
-DENABLE_CUDNN -I"local/cudnn/include" -DENABLE_DOUBLE -gencode=arch=compute_75,code="sm_75,compute_75" -I"/usr/local/MATLAB/R2017a/extern/include"
-I"/usr/local/MATLAB/R2017a/toolbox/distcomp/gpu/extern/include" -Xcompiler -mssse3,-ftree-vect-loop-version,-ffast-math,-funroll-all-loops
-gencode=arch=compute_75,code="sm_75,compute_75" -O3 -Xcompiler -fPIC -D_FORCE_INLINES -o
"/mnt/omnisky/personal/xiao/CREST-Release-master/CREST-Release-master/matconvnet/matlab/mex/.build/bits/impl/nnconv_cudnn.o" failed.
Error in vl_compilenn (line 480)
nvcc_compile(opts, srcs{i}, objfile, flags.nvcc) ;
Error in CompileGPU (line 3)
vl_compilenn('enableGpu', true, ...
解决:
cd /usr/local/MATLAB2017/sys/os/glnxa64 #where I installed my matlab
sudo mv libstdc++.so.6.0.20 libstdc++.so.6.0.20_bak
sudo mv libstdc++.so.6 libstdc++.so.6_bak
sudo ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.24 ./
sudo ln -sf ./libstdc++.so.6.0.24 ./libstdc++.so.6
https://github.com/vlfeat/matconvnet/issues/937
最后
以上就是真实金针菇为你收集整理的Matconvnet各种编译错误总结的全部内容,希望文章能够帮你解决Matconvnet各种编译错误总结所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复