Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Runtest Error #86

Open
danielanojan opened this issue Jun 2, 2018 · 2 comments
Open

Make Runtest Error #86

danielanojan opened this issue Jun 2, 2018 · 2 comments

Comments

@danielanojan
Copy link

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants