Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Wrong path in environment variable #789

Closed
1 of 8 tasks
LuisAyuso opened this issue Jul 10, 2018 · 1 comment
Closed
1 of 8 tasks

Wrong path in environment variable #789

LuisAyuso opened this issue Jul 10, 2018 · 1 comment

Comments

@LuisAyuso
Copy link

LuisAyuso commented Jul 10, 2018

1. Issue or feature description

The path provided in LD_LIBRARY_PATH does not exist: it points to to
LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 but libraries are in
/usr/local/cuda/lib64/

2. Steps to reproduce the issue

  • nvidia/cuda:9.1-devel-centos7
  • type env

3. Information to attach (optional if deemed irrelevant)

  • Kernel version from uname -a
    Linux 7d2581f6a11e 4.15.0-24-generic nvidia-docker does not work with complex commands #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Any relevant kernel output lines from dmesg
  • Driver information from nvidia-smi -a
  • Docker version from docker version
  • NVIDIA packages version from dpkg -l '*nvidia*' or rpm -qa '*nvidia*'
  • NVIDIA container library version from nvidia-container-cli -V
  • NVIDIA container library logs (see troubleshooting)
  • Docker command, image and tag used
@flx42
Copy link
Member

flx42 commented Jul 10, 2018

This is normal. This LD_LIBRARY_PATH points to the path where the driver libraries are installed when using nvidia-docker v1. If you are using nvidia-docker v2, this variable has no effect and is harmless.

The libraries in /usr/local/cuda/lib64/ are already in ld.so.cache:

root@dc4df078359e:/# ldconfig -p | grep libcublas
        libcublas.so.9.0 (libc6,x86-64) => /usr/local/cuda-9.0/targets/x86_64-linux/lib/libcublas.so.9.0
        libcublas.so (libc6,x86-64) => /usr/local/cuda-9.0/targets/x86_64-linux/lib/libcublas.so

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

No branches or pull requests

2 participants