PSPNet icon indicating copy to clipboard operation
PSPNet copied to clipboard

Make Runtest Error

Open danielanojan opened this issue 7 years ago • 2 comments

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?

danielanojan avatar Jun 02 '18 14:06 danielanojan

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

leeesangwon avatar Jun 26 '18 05:06 leeesangwon

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

jianrui1 avatar Feb 20 '19 00:02 jianrui1