How to get NCCL_ROOT_DIR and NCCL_LIBRARIES path in ubuntu22? I'm using nvidia/cuda:11.8.0-devel-ubuntu22.04 Docker image, and when I run ldconfig -v | grep "libnccl.so" | tail -n1 | sed -r 's/^.*\.so\.//'
Can anyone help me set the correct path?
Here is the output:
/sbin/ldconfig.real: Path `/usr/local/cuda-11/targets/x86_64-linux/lib' given more than once(from /etc/ld.so.conf.d/989_cuda-11.conf:1 and /etc/ld.so.conf.d/000_cuda.conf:1)/sbin/ldconfig.real: Path `/usr/local/cuda-11.8/targets/x86_64-linux/lib' given more than once(from /etc/ld.so.conf.d/gds-11-8.conf:1 and /etc/ld.so.conf.d/000_cuda.conf:1)/sbin/ldconfig.real: Can't stat /usr/local/nvidia/lib: No such file or directory/sbin/ldconfig.real: Can't stat /usr/local/nvidia/lib64: No such file or directory/sbin/ldconfig.real: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once(from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:4 and /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once(from <builtin>:0 and /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once(from <builtin>:0 and /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)/sbin/ldconfig.real: Path `/usr/lib' given more than once(from <builtin>:0 and <builtin>:0)/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 is the dynamic linker, ignoring2.15.5