0

I am installing caffe. I succeeded in running make all and make test, but when it comes to the make runtest, I receive the error:

.build_release/tools/caffe: error while loading shared libraries: libcudart.so.7.5: cannot open shared object file: No such file or directory
make: *** [runtest] Error 127

What should I do about it? I am using these instructions.

David Foerster
  • 35,754
  • 55
  • 92
  • 145
  • 1
    Possible duplicate of [How do I find the package that provides a file?](http://askubuntu.com/questions/481/how-do-i-find-the-package-that-provides-a-file) – David Foerster Aug 11 '16 at 23:22

1 Answers1

0

Well, the error seem to be pretty clear, you have to install cuda.

sudo apt install nvidia-cuda-dev

I wouldn't recommend to use CUDA, because 1) CUDA is a crap, 2) You couldn't run ANN you made on most machines, except those with NVidia cards, for obvious reasons.

You can compile without CUDA by uncommenting in Makefile.config the line

CPU_ONLY := 1
Hi-Angel
  • 3,612
  • 1
  • 29
  • 35
  • Comments are not for extended discussion; the conversation that was taking place here has been [moved to chat](http://chat.stackexchange.com/rooms/43828/discussion-on-answer-by-hi-angel-make-runtest-errorinstalling-caffe). – Thomas Ward Aug 11 '16 at 19:28