LIBCUDA.SO.1 No se encuentra a pesar de la instalación de CUDA? -- 16.04 campo con nvidia campo con lubuntu campo con cuda camp askubuntu Relacionados El problema

libcuda.so.1 not found despite installing CUDA?


0
vote

problema

Español

Cuando se ejecuta TensorFlow en Ubuntu 16.04 libcuda.so.1 no se encuentra. Este archivo es parte de las herramientas CUDA que debería haber instalado; Tal vez solo no es el lugar correcto? Intenté buscar los archivos a través de este comando:

ABCDEFGHIJKLMNABCDEFGHIJKLMN0

y Voy a recuperar una lista de archivos (lista reducida):

  ind: ‘/etc/cups/ssl’: Permission denied find: ‘/etc/polkit-1/localauthority’: Permission denied find: ‘/etc/ssl/private’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-QhckWW’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-A46ooI’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-pZ6U3J’: Permission denied find: ‘/lost+found’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-rtkit-daemon.service-vEpGYO’: Permission denied find: ‘/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-colord.service-6sVMbw’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-systemd-timesyncd.service-DifcXc’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-colord.service-j5hYyg’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-systemd-timesyncd.service-dSg1Cz’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-colord.service-FbxlSK’: Permission denied find: ‘/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-colord.service-rq0MKq’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-W2mqTy’: Permission denied find: ‘/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-rtkit-daemon.service-Nmhoc5’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-yD6AKb’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-rtkit-daemon.service-2aRSdk’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-systemd-timesyncd.service-cR7tKn’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-colord.service-RpnOff’: Permission denied find: ‘/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-rtkit-daemon.service-FPP0C0’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-rtkit-daemon.service-KSb7II’: Permission denied find: ‘/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-colord.service-umcrrr’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-zCbfRG’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-rtkit-daemon.service-YUHCBb’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-systemd-timesyncd.service-3gwsBe’: Permission denied find: ‘/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-systemd-timesyncd.service-9KAj0J’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-rtkit-daemon.service-Lua60R’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-colord.service-9wRZuD’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-systemd-timesyncd.service-1IVY9S’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-colord.service-BcEhRd’: Permission denied   

No estoy realmente seguro de lo que significan la mayoría de estos archivos. ¿Están estos archivos parte de la "libcuda"? O esto significa Libcuda no está instalado.

Gracias.

Después de escuchar qué sugirió @ravery:

Intenté esto:

  ls /usr/local/cuda-8.0/doc/man/man7/libcuda.so.7 -la   

que me dio una salida de esto:

  -rw-r--r-- 1 root root 26 Jan 26  2017 /usr/local/cuda-8.0/doc/man/man7/libcuda.so.7   

y si ejecuto nvidia-smi, vuelvo esto:

  ------------------------------------------------------+                        | NVIDIA-SMI 340.104    Driver Version: 340.104        |                        |-------------------------------+----------------------+----------------------+ | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC | | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. | |===============================+======================+======================| |   0  GeForce GTX 260     Off  | 0000:01:00.0     N/A |                  N/A | | 40%   46C   P12    N/A /  N/A |    226MiB /   895MiB |     N/A      Default | +-------------------------------+----------------------+----------------------+      +-----------------------------------------------------------------------------+     | Compute processes:                                               GPU Memory |     |  GPU       PID  Process name                                     Usage      |     |=============================================================================|     |    0            Not Supported         

Entonces tengo que vincular mi libdua.os.7 a mi controlador de tarjeta gráfica?

¿Cuál es la mejor manera de encontrar este conductor? Gracias.

También probé esto:

  ABCDEFGHIJKLMNABCDEFGHIJKLMN5   

Salida:

  failed to create symbolic link '/usr/local/cuda/lib/libcuda.so.1': No such file or directory   

Editar: Después de jugar por unos días. Todavía estoy atascado.

Más información:

Si busco mi directorio informático, noté que hay un CUDA-8.0 en esta ubicación:

  /usr/local/   

También veo una carpeta Cuda con una flecha en ella (que supongo representa un Shorcut) aquí en

  ABCDEFGHIJKLMNABCDEFGHIJKLMN8   

segunda actualización:

Ejecutar este comando:

  ABCDEFGHIJKLMNABCDEFGHIJKLMN9   

ahora nvcc --version devuelve:

  ind: ‘/etc/cups/ssl’: Permission denied find: ‘/etc/polkit-1/localauthority’: Permission denied find: ‘/etc/ssl/private’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-QhckWW’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-A46ooI’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-pZ6U3J’: Permission denied find: ‘/lost+found’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-rtkit-daemon.service-vEpGYO’: Permission denied find: ‘/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-colord.service-6sVMbw’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-systemd-timesyncd.service-DifcXc’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-colord.service-j5hYyg’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-systemd-timesyncd.service-dSg1Cz’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-colord.service-FbxlSK’: Permission denied find: ‘/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-colord.service-rq0MKq’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-W2mqTy’: Permission denied find: ‘/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-rtkit-daemon.service-Nmhoc5’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-yD6AKb’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-rtkit-daemon.service-2aRSdk’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-systemd-timesyncd.service-cR7tKn’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-colord.service-RpnOff’: Permission denied find: ‘/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-rtkit-daemon.service-FPP0C0’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-rtkit-daemon.service-KSb7II’: Permission denied find: ‘/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-colord.service-umcrrr’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-zCbfRG’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-rtkit-daemon.service-YUHCBb’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-systemd-timesyncd.service-3gwsBe’: Permission denied find: ‘/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-systemd-timesyncd.service-9KAj0J’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-rtkit-daemon.service-Lua60R’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-colord.service-9wRZuD’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-systemd-timesyncd.service-1IVY9S’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-colord.service-BcEhRd’: Permission denied 0  

sin embargo,

  ind: ‘/etc/cups/ssl’: Permission denied find: ‘/etc/polkit-1/localauthority’: Permission denied find: ‘/etc/ssl/private’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-QhckWW’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-A46ooI’: Permission denied find: ‘/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-pZ6U3J’: Permission denied find: ‘/lost+found’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-rtkit-daemon.service-vEpGYO’: Permission denied find: ‘/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-colord.service-6sVMbw’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-systemd-timesyncd.service-DifcXc’: Permission denied find: ‘/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-colord.service-j5hYyg’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-systemd-timesyncd.service-dSg1Cz’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-colord.service-FbxlSK’: Permission denied find: ‘/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-colord.service-rq0MKq’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-W2mqTy’: Permission denied find: ‘/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-rtkit-daemon.service-Nmhoc5’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-yD6AKb’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-rtkit-daemon.service-2aRSdk’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-systemd-timesyncd.service-cR7tKn’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-colord.service-RpnOff’: Permission denied find: ‘/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-rtkit-daemon.service-FPP0C0’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-rtkit-daemon.service-KSb7II’: Permission denied find: ‘/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-colord.service-umcrrr’: Permission denied find: ‘/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-zCbfRG’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-rtkit-daemon.service-YUHCBb’: Permission denied find: ‘/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-systemd-timesyncd.service-3gwsBe’: Permission denied find: ‘/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-systemd-timesyncd.service-9KAj0J’: Permission denied find: ‘/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-rtkit-daemon.service-Lua60R’: Permission denied find: ‘/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-colord.service-9wRZuD’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-systemd-timesyncd.service-1IVY9S’: Permission denied find: ‘/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-colord.service-BcEhRd’: Permission denied 1  

todavía devuelve una pantalla vacía.

Original en ingles

When running tensorflow on ubuntu 16.04 libcuda.so.1 isn't being found. This file is part of the CUDA tools which I should have installed ; maybe just no the right place? I tried searching for the files via this command:

find / -type f -name "libcuda.so.1

And I get back a list of files (shortened list):

ind: xe2x80x98/etc/cups/sslxe2x80x99: Permission denied find: xe2x80x98/etc/polkit-1/localauthorityxe2x80x99: Permission denied find: xe2x80x98/etc/ssl/privatexe2x80x99: Permission denied find: xe2x80x98/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-QhckWWxe2x80x99: Permission denied find: xe2x80x98/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-A46ooIxe2x80x99: Permission denied find: xe2x80x98/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-pZ6U3Jxe2x80x99: Permission denied find: xe2x80x98/lost+foundxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-rtkit-daemon.service-vEpGYOxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-colord.service-6sVMbwxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-systemd-timesyncd.service-DifcXcxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-7216baf4e9e24f4b99aa9cd9d37e9779-colord.service-j5hYygxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-systemd-timesyncd.service-dSg1Czxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-colord.service-FbxlSKxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-colord.service-rq0MKqxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-rtkit-daemon.service-W2mqTyxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-5065912711c44bfd880f3aca2d0008e7-rtkit-daemon.service-Nmhoc5xe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-colord.service-yD6AKbxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-rtkit-daemon.service-2aRSdkxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-systemd-timesyncd.service-cR7tKnxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-colord.service-RpnOffxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-rtkit-daemon.service-FPP0C0xe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-rtkit-daemon.service-KSb7IIxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-93e35b4b8e084692829998454c625032-colord.service-umcrrrxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-bfc953f066c54c8f8989b0585e58681d-systemd-timesyncd.service-zCbfRGxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-rtkit-daemon.service-YUHCBbxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-f72e80f0374645bda6c2d99c5628e374-systemd-timesyncd.service-3gwsBexe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-c9508c53c88848febd8d6b9c7758d44d-systemd-timesyncd.service-9KAj0Jxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-81dcc732570e47799cb04c3cb0c5a2c6-rtkit-daemon.service-Lua60Rxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-cc0e6bd6ee4c4e5a8e66d39c662b4262-colord.service-9wRZuDxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-systemd-timesyncd.service-1IVY9Sxe2x80x99: Permission denied find: xe2x80x98/var/tmp/systemd-private-310aa08f8dac48c087fb3d04eb13211d-colord.service-BcEhRdxe2x80x99: Permission denied 

I'm not really sure what most of these files mean. Are these files part of the "libcuda" ? Or does this mean libcuda isn't installed.

Thank you.

After listening to what @ravery suggested:

I tried this:

ls /usr/local/cuda-8.0/doc/man/man7/libcuda.so.7 -la 

which gave me an output of this:

-rw-r--r-- 1 root root 26 Jan 26  2017 /usr/local/cuda-8.0/doc/man/man7/libcuda.so.7 

And if I run nvidia-smi I get back this:

------------------------------------------------------+                        | NVIDIA-SMI 340.104    Driver Version: 340.104        |                        |-------------------------------+----------------------+----------------------+ | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC | | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. | |===============================+======================+======================| |   0  GeForce GTX 260     Off  | 0000:01:00.0     N/A |                  N/A | | 40%   46C   P12    N/A /  N/A |    226MiB /   895MiB |     N/A      Default | +-------------------------------+----------------------+----------------------+      +-----------------------------------------------------------------------------+     | Compute processes:                                               GPU Memory |     |  GPU       PID  Process name                                     Usage      |     |=============================================================================|     |    0            Not Supported       

So I have to link my libdua.os.7 to my graphics card driver?

What's the best way to find this driver. Thank you.

I also tried this:

ln -s /usr/local/cuda-8.0/doc/man/man7/libcuda.so.7 /usr/local/cuda/lib/libcuda.so.1 

output:

failed to create symbolic link '/usr/local/cuda/lib/libcuda.so.1': No such file or directory 

EDIT: After playing around for a few days. I'm still stuck.

More info:

If I browse my computer directory, I noticed that there is a CUDA-8.0 at this location:

/usr/local/ 

I also see a CUDA folder with an arrow on it (which I presume represents a shorcut) here in

   /usr/local 

Second Update:

Running this command:

export PATH=$PATH:/usr/local/cuda-8.0/bin 

Now nvcc --version returns:

vcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Tue_Jan_10_13:22:03_CST_2017 Cuda compilation tools, release 8.0, V8.0.61 

However,

locate libcuda.so.1 

still returns an empty screen.

           
   
   

Lista de respuestas

2
 
vote

Tuve el mismo problema en un NVIDIA GPU Cloud Image en un Standard_NV6 en Azure, ejecutando dentro de Docker. Para mí, el problema era que estaba corriendo

  docker run -it tensorflow/tensorflow:latest-gpu-py3 bash   

y debería haberlo ejecutado con la bandera --runtime=nvidia o abcdefhijklmnabcdefghijklmn8 en lugar de docker :

  sudo apt-get install ppa-purge 0  
 

I had the same problem on an NVIDIA GPU Cloud Image on a Standard_NV6 on Azure, running inside Docker. For me, the problem was that I was running

docker run -it tensorflow/tensorflow:latest-gpu-py3 bash 

and I should have run it with the flag --runtime=nvidia or nvidia-docker instead of docker:

nvidia-docker run -it tensorflow/tensorflow:latest-gpu-py3 bash docker run --runtime=nvidia -it tensorflow/tensorflow:latest-gpu-py3 bash 
 
 
0
 
vote

Puede haber varios problemas. No solo con CUDA sino también con los conductores de NVIDIA.

Mis consejos: instale TensorFlow-GPU con Conda.

Si ha instalado CUDA9.0, no creo que haya mucho que pueda hacer. Por favor, marque el sitio web de TensorFlow para versiones de CUDA compatibles.

 

There might be various issues. Not only with CUDA but with Nvidia-drivers too.

My advice : Install tensorflow-gpu with conda.

If you have installed CUDA9.0, I don't think there is much you can do. Please check tensorflow website for supported CUDA versions.

 
 
 
 
0
 
vote

Estos no son archivos, son directorios que no se pudieron abrir debido a los permisos. Su archivo no estará allí.

libcuda.so.1 es en realidad un enlace, no un archivo. Se conecta a su archivo de versión: por ejemplo, libcuda.so.1 enlaces a libcuda.so.361.42.

Los siguientes comandos imprimirán la ruta donde se debe ubicar su enlace y encontrar su archivo de versión.

  sudo apt-get install ppa-purge 1  

Si encuentra a LIBCUDA.SO.1, luego cópielo en su camino. Si no hace un enlace en su camino que apunta al archivo de versión.

 

these are not files, they are directories that could not be opened due to permissions. Your file won't be there.

libcuda.so.1 is actually a link not a file. It links to your version file:for example, libcuda.so.1 links to libcuda.so.361.42.

The following commands will print the path where your link has to be located and find your version file.

echo $LD_LIBRARY_PATH #path sudo find /usr/ -name 'libcuda.so.*' #version 

If you find libcuda.so.1, then copy it into your path. If not make a link in your path that points to the version file.

 
 
     
     
0
 
vote

debe enlazar a sudo apt-get install ppa-purge 2

 

It should link to /usr/local/lib/cuda/lib64/stubs/libcuda.so.1

 
 

Relacionados problema

30  ¿Cómo puedo obtener NVIDIA CUDA u OPENCL trabajando en una computadora portátil con NVIDIA Discrete Card / Intel integrados gráficos?  ( How can i get nvidia cuda or opencl working on a laptop with nvidia discrete car ) 
Fondo: Soy un artista en 3D (como un hobby) y recientemente ha comenzado a usar Ubuntu 12.04 LTS como un arranque dual con Windows 7. Está ejecutando en mi co...

0  No se puede ejecutar Cudaminer en Jetson  ( Unable to run cudaminer on jetson ) 
Después de descargar y ejecutar ./autogen.sh y ./configure la ejecución del comando HACK le da el siguiente error en mi Jetson TK1 gcc -std = gnu99 -dhave_...

58  Instalación y prueba CUDA en Ubuntu 14.04  ( Installing and testing cuda in ubuntu 14 04 ) 
No estoy seguro de cómo instalar CUDA en mi sistema. Mirando a su alrededor, hay muchos tutoriales sobre CUDA en 12.04 LTS y algunos de los 13.04 y 13.10, per...

12  ¿Alguien ha instalado con éxito CUDA 7.5 en Ubuntu 14.04.3 LTS X86_64?  ( Has anyone successfully installed cuda 7 5 on ubuntu 14 04 3 lts x86 64 ) 
Mi estación de trabajo tiene dos GPUs (Quadro K5200 y Quadro K2200) con el último controlador NVIDIA instalado (Versión: 352.41). Después de descargar el arch...

0  Actualizaciones automáticas de NVIDIA, CUDA bajo Ubuntu 18.04  ( Automatic updates of nvidia cuda under ubuntu 18 04 ) 
Tengo dos GPUS NVIDIA (RTX 2060 y RTX 2080 TI) que uso con TensorFlow 2 (instalado en un Python VirtualEnv). He instalado CUDA 10.1 (que no es la última versi...

7  Compruebe la actividad de la tarjeta de gráficos  ( Check graphics card activity ) 
Tengo una solicitud instalada que puede hacer uso de mi tarjeta gráfica CUDA, pero no estoy seguro de si lo tengo configurado correctamente. ¿Hay alguna forma...

0  CUDA Y CONDUCTOR: ¿Puedo eliminar el conductor o cambiar la resolución?  ( Cuda and driver can i remove driver or change resolution ) 
Acabo de instalar CUDA. Las 3 partes (muestras, kit de herramientas, conductor). ¿Tengo que tener instalado este controlador NVIDIA? $ lspci | grep VGA 01:...

2  Ubuntu 14.04 no inicia sesión después de la actualización de NVIDIA  ( Ubuntu 14 04 not logging in after nvidia update ) 
Quiero ejecutar un programa CUDA en Ubuntu 14.04 LTS 64bit, pero el error que obtuve fue: La versión del controlador CUDA es insuficiente para CUDA RUNTETE...

3  NVIDIA-SMI muestra la versión de CUDA, pero CUDA no está instalada  ( Nvidia smi shows cuda version but cuda is not installed ) 
Estoy en Ubuntu 18.10. Cuando recibí mi GPU (RTX 2070), hice "Sudo Ubuntu-Drivers AutoInstall". Esto instaló los controladores. Cuando hago "nvidia-smi" en la...

0  ¿Qué versión de CUDA muestras en GitHub para elegir para NVIDIA-CUDA-TOOLKIT en 20.04?  ( Which version of cuda samples on github to choose for nvidia cuda toolkit in 20 ) 
Estoy usando 20.04 LTS e instalé CUDA de UBUNTU REPO usando ABCDEFGHIJKLMNABCDEFGHIJKLMN2 . La versión mostrada por apt show nvidia-cuda-toolkit es 10.1.24...




© 2022 respuesta.top Reservados todos los derechos. Centro de preguntas y respuestas reservados todos los derechos