hszhao / PSPNet

Pyramid Scene Parsing Network, CVPR2017.
https://hszhao.github.io/projects/pspnet
Other
1.59k stars 545 forks source link

Make Runtest Error #86

Open danielanojan opened 6 years ago

danielanojan commented 6 years ago

When i Make runtest the libcudart.so error occurs

.build_release/tools/caffe: error while loading shared libraries: libcudart.so.9.0: cannot open shared object file: No such file or directory make: *** [runtest] Error 127 (workspace) [anojan@localhost PSPNET-cudnn5]$ source $HOME/.bashrc (workspace) [anojan@localhost PSPNET-cudnn5]$ vi $HOME/.bashrc (workspace) [anojan@localhost PSPNET-cudnn5]$ source $HOME/.bashrc (workspace) [anojan@localhost PSPNET-cudnn5]$ sudo make runtest -j8 .build_release/tools/caffe

and i solved using sudo LD_LIBRARY_PATH=/home/anojan/workspace/cuda_install/lib64make runtest

once i use it i get libmatio.so error which is different lib folder(/usr/local/lib)

i tried adding LD_LIBRARY_PATHS in .bashrc but i still get the error

how to solve this?

leeesangwon commented 6 years ago

try this $ sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/anojan/workspace/cuda_install/lib64: instead of $ sudo LD_LIBRARY_PATH=/home/anojan/workspace/cuda_install/lib64

jianrui1 commented 5 years ago

@danielanojan @leeesangwon Have you solve the problem? I have a similar problem. As follow: [ 73%] Building CXX object src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o /home/jr/SegStereo/src/caffe/test/test_deconvolution_layer.cpp:8:47: fatal error: caffe/layers/cudnn_deconv_layer.hpp: No such file or directory compilation terminated. src/caffe/test/CMakeFiles/test.testbin.dir/build.make:643: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o' failed make[3]: [src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o] Error 1 CMakeFiles/Makefile2:394: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/all' failed make[2]: [src/caffe/test/CMakeFiles/test.testbin.dir/all] Error 2 CMakeFiles/Makefile2:367: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed make[1]: [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2 Makefile:253: recipe for target 'runtest' failed make: [runtest] Error 2

I check the code file, it did not have the 'cudnn_deconv_layer.hpp' file.While in my computer's caffe, the 'cudnn_deconv_layer.hpp' appeared.

Can you help me out. Thanks for advance.