Closed lhk closed 4 years ago
/usr/local
is for locally-installed packages & applications, not system-installed packages from the distribution. Debian packaging does not install files to /usr/local
. Ideally these samples would be corrected to automatically detect the CUDA path.
oh, I didn't know that. Thanks for the clarification.
This package installs cuda to
/usr/lib
. However, the default seems to be/usr/local
. For example, the mnistCUDNN sample code from the code samples available here only compiles after editing the Makefile to your path.I've tried torch and it works fine. But there are packages that rely on the /usr/local as the installation directory. For example jax, which only worked after I symlinked
/usr/lib/cuda
to/usr/local/cuda
Is there a reason for this installation directory?