Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [cuda]

CUDA stands for Compute Unified Device Architecture

0
votes
0answers
19 views

Failed to install CUDA

I am trying to install CUDA9.2 on WSL and it's stuck at 'Loading new nvidia-396-396.37 DKMS files...'. The last few lines of the log are: Setting up nvidia-396 (396.37-0ubuntu1) ... update-initramfs:...
0
votes
1answer
55 views

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

I am getting this error when I want to import tensorflow-gpu on Ubuntu 16.04. I have installed CUDA 9.1 properly, cudNN 7.1 properly and tested both without facing any problem. (using python 3.5 2.) ...
0
votes
1answer
47 views

Installing tensorflow with GPU support. libcublas.so.9.0 missing after installing GPU prerequisites

I am trying to install Tensorflow with GPU support on Ubuntu 16.04 64x for an conda environment with Python 3.6. I tried installing all the GPU requirements and then running pip install --ignore-...
1
vote
1answer
50 views

Error installing nvidia graphics driver

I freshly installed Ubuntu18.04 and was trying to install new nvidia drivers to install cuda but can't get rid of this error. Stack Trace: sudo apt --fix-broken install Reading package lists... Done ...
0
votes
0answers
43 views

assign unallocated space to /?

I was installing CUDA on my computer and got an alert that "remaining space not enough". So I checked my partition using gparted and found out that my partition scheme while installing Ubuntu 18.04 in ...
0
votes
0answers
28 views

System root not enough space remaining

I was trying to install CUDA on my Ubuntu 18.04 while an alert like this occurs Not enough space remaining on system root . So I ran following to check: danni@danni:~$ df Filesystem 1K-blocks ...
0
votes
0answers
64 views

Configuring iGPU for xserver and nvidia GPU for CUDA work (kubuntu 18.04, cuda-9.2)

After installing Kubuntu-18.04.1 I needed to configure a dual GPU setup so that Intel onboard iGPU will drive the screen, leaving Nvidia GPU exclusively for ML CUDA work. I followed the first part of ...
0
votes
1answer
40 views

/sbin/ldconfig.real: /usr/local/cuda/lib64/libcudnn.so.7 is not a symbolic link

How should I fix this? $ ls -lha /usr/local/cuda/lib64/libcudnn* -rwxr-xr-x 1 root root 275M Jun 21 15:56 /usr/local/cuda/lib64/libcudnn.so -rwxr-xr-x 1 root root 275M Jun 21 15:56 /usr/local/cuda/...
0
votes
0answers
47 views

Problem installing Tensorflow GPU in Ubuntu 18.04.1

I have a new build PC with Ubuntu 18.04.1 and anaconda 4.5.8, and I'm attempting to install tensorflow_gpu. The graphics card is in place on the motherboard but the drivers have not been installed yet....
0
votes
0answers
16 views

nvcc -V shows output, but nvidia-smi: command not found

I am trying to install CUDA 9.2 on Ubuntu 16.04. I've purged and installed the latest NVIDIA drivers compatible with my GeForce 940MX (version 390). Afterwards, I purged and installed CUDA 9.2 using ...
1
vote
0answers
170 views

apt-get functions fail after installation of cuda 9.2

Following the installation of CUDA 9.2 I cannot use apt-get tools - I cannot install or remove any software. Tried to fix but failed... sudo apt --fix-broken install Reading package lists... Done ...
1
vote
2answers
103 views

NVIDIA card for CUDA and Intel integrated card for display on Ubuntu 16.04 (Dell xps 9560)

I am using Ubuntu 16.04, on a dell XPS 9560 a laptop which is highly compatible with linux. This laptop provides two graphic cards: NVIDIA GeForce GTX 1050 Intel HD Graphics 630 I wanted to use ...
1
vote
1answer
165 views

Fix problem when install Cuda 7.5 in Ubuntu 18.04 LTS

I have Ubuntu 18.04 LTS, and I want to install Cuda 7.5 (because this version is compatible with my Nvidia GF 820m graphics card). I configured gcc-4.8 as default gcc for (because it's the Cuda 7.5 C ...
0
votes
2answers
225 views

Cuda 9.2 is getting installed even after adding cuda 9.0 to list

I am trying to install cuda 9.0 instead of cuda 9.2 as the tensorflow is not compatible with it. I tried the following: aims@aims:~/Downloads$ sudo dpkg -i "cuda-repo-ubuntu1604_9.0.176-1_amd64(1)....
0
votes
0answers
52 views

Ubuntu only old version of cuda being detected

I am currently using a university GPU, for which I don't have root permissions. I was told to add a directory to my .bashrc file so that I could use cuda 8 and cudnn 6. I have done this, when ...
0
votes
0answers
101 views

E: Sub-process /usr/bin/dpkg returned an error code in CUDA Installation

*NOTE : Please care the EDIT 2. And you can see the FULL terminal output clearly on my answer under my question * I have tried to install and uninstall CUDA multiple times, but i got some errors ...
0
votes
0answers
81 views

nvcc can't find appropriate host compiler

I'm trying to write some CUDA code, so I installed $ sudo apt install nvidia-cuda-toolkit I followed the tutorial here, but got this: $ nvcc add.cu -o add_cuda ERROR: No supported gcc/g++ host ...
0
votes
0answers
56 views

nvidia-docker2 on Ubuntu 14.04

I've installed nvidia-docker2 on my server. The specification of the server is following. Ubuntu 14.04 nvidia-smi 375.66 CUDA- 8.0 $docker --version :Docker version 18.03.1-ce, ...
0
votes
2answers
40 views

If lspci command shows nothing, how to check GPU is cuda-capable or not? [duplicate]

From the CUDA documents, I need to check whether my computer is capable by using the command: lspci | grep -i nvidia but for my Thinkpad, this returns nothing. The document further says If you ...
0
votes
0answers
162 views

ERROR: Unable to load the 'nvidia-drm' kernel module

Trying to install Nvidia Driver using cuda_8.0.61_375.26_linux.runon Ubuntu 16.04 with 4.4.0-31-generickernel. While installing I am getting the following errors: -> Would you like to register ...
0
votes
0answers
250 views

How can I verify correct CUDA is installed on my Ubuntu 16.04?

I want to install CUDA 8.0, but I got CUDA 7.5 when using the Nvidia provided *.deb file instead of the *.run installer. I followed the instructions to install on the Nvidia website: https://...
0
votes
1answer
335 views

Unable to install TensorRT 4.0 on Ubuntu 16.04

I am trying to install TensorRT before installing TensorFlow 1.8 from source. When I follow the documentation given here, I run into an error when installing TensorRT 4.0. The error I get is: ...
0
votes
0answers
24 views

use nouveau driver for older geforce and nvidia driver for new nvidia card

I have two gpu in my machine. Older is geforce 9100 with newest nvidia driver supported 340. New gpu is gtx 1060 with newest nvidia driver supported 380. How can I use older gpu with nouveau as my ...
0
votes
1answer
245 views

How to solve “unmet dependencies while installing CUDA-9-0 on Ubuntu 18.04”

I am trying to install CUDA-9-0 on Ubuntu 18.04, but I get the following error when I run the command sudo apt install cuda The following packages have unmet dependencies: cuda : Depends: cuda-9-0 (&...
1
vote
0answers
174 views

Ubuntu 18.04 Unable to use OpenCL/Cuda

- System: Ubuntu 18.04 - Linux Kernel Version: I tried 4.15 through 4.17 (both custom and standard repo kernels) - Nvidia Driver: 396 - Graphics Card (GPU): Nvidia GeForce 1080 - CPU: i7-8700K (...
0
votes
0answers
258 views

compile opencv-3.4.1 with cuda-9.2 on ubuntu 16.04

Can anybody give clear instructions to compile OpenCV-3.4.1 with Cuda-9.2 on Ubuntu 16.04? I have tried different guiding tutorials, but none of them worked. my machine has 2 GPUs (GTX 1080 Ti) and ...
2
votes
0answers
265 views

Installing CUDA on ubuntu 18.04 gives error

I have GeForce 820m on my laptop and want to install cuda, but it gives the following error :` Reading package lists... Done Building dependency tree Reading state information... Done The ...
2
votes
1answer
780 views

Failed installation of package breaks apt-get

I just installed Ubuntu 18.04 for the first time. Excited to play with some GPU codes, I installed CUDA via the deb (local) for 17.10 option, as described on the Nvidia CUDA page. I know 17.10 != 18....
0
votes
2answers
162 views

Having two versions of CUDA GPU Toolkit SDK installed, how to remove one?

I currently two versions of the Toolkit installed cuda-9.2 and cuda-8.0, how can I safely remove the 8.0? I saw a question where the most voted answer was removing the whole folder, which doesn't ...
0
votes
1answer
51 views

Installing Nvidia CUDA - dpkg and apt-get stuck in install process

I was trying to install Nvidia CUDA, in this process gce-compute-image-packages has become installed but not post install configured. I have tried following: sudo dpkg --configure -a # this ...
0
votes
1answer
453 views

How can I install CUDA 9.0 for Ubuntu 17.10 without changing the current nvidia drivers?

I have downloaded and installed CUDA several times, and every time it fails to pass the test samples deviceQuery and checkBandwidth. Also tensorflow is never listing the GPU between accessible devices,...
0
votes
0answers
411 views

missing cudNN for Cuda toolkit 9.2 Ubuntu 16.04

Im installing Theano and setting everything up to use the GPU. I have followed all the steps of the page http://deeplearning.net/software/theano/tutorial/using_gpu.html but at the end when I am ...
0
votes
1answer
100 views

Is my Cuda installation a mess?

I'm trying to make Cuda work with a second GPU that I have recently added to my workstation rig. When I used to download and install Cuda in my computer, I had the Nvidia NVS 315 GPU. Now, I've added ...
1
vote
3answers
579 views

Unable to install CUDA after nvidia driver downgrade on Ubuntu 16.04

Recently I got CUDA upgraded to version 9.2 and nvidia driver to nvidia-396 with a regular auto-update on my Ubuntu 16.04 Optimus-enabled laptop, with Intel video adapter active by default and NVidia ...
5
votes
1answer
2k views

Nvidia driver installs but does not load on ubuntu 18.04

Nvidia driver 384 ran well on Ubuntu 17.04 and 17.10. I switched to Ubuntu 18.04 (clean fresh install) and installed nvidia-driver-396 following this great answer Then I installed cuda toolkit 9.2 ...
1
vote
1answer
32 views

Are nvidea-cuda SDK binaries in ubuntu repositories up to date?

I wonder how can I check those binaries in repo and compare to download from nvidia's site before installing.
2
votes
2answers
3k views

PPA installed driver 396.24 is causing CUDA 9.2 installation error

During installation of CUDA 9.2 on my Ubuntu 18.04 desktop machine it reports an error on finding the already installed driver 396.24 I got from PPA. It is trying to install driver 396.26. How can I ...
1
vote
1answer
311 views

CUDA error while installing, help to uninstall

I use blender for my job and I upgraded my Ubuntu to 18.04. After upgrading, I installed CUDA toolkit, but now I get error about dependencies and I want to remove all I installed. How can I do it? ...
0
votes
0answers
18 views

Terminal being killed by lightdm stop

I am trying to install cuda-9.0 for my machine. So, I followed the following steps: Open a terminal using Alt+Ctrl+F1 Log in using my credentials Run sudo lightdm stop to kill X After this I lost my ...
1
vote
0answers
112 views

Runlevel 3 with nomodeset in kernel to install CUDA 9.0 on Ubuntu 16.04

I am following instructions to install CUDA 9.0 from this link: http://developer.download.nvidia.com/compute/cuda/9.0/Prod/docs/sidebar/CUDA_Quick_Start_Guide.pdf and I am at the instruction: ...
0
votes
0answers
31 views

libfontconfig1 installation/update problem

I have such path to get cuda installed: sudo apt-get update #runned analyst@analyst-PC ~ $ sudo apt-get install nvidia-settings readind pckes.... (translated from russian) Package dependisies: ...
0
votes
0answers
33 views

Cuda installation

I was installing Cuda on ubuntu 18 following the instruction in the nividia doc (cuda installation) : `sudo dpkg -i cuda-repo-ubuntu1704-9-1-local_9.1.85-1_amd64.deb` `sudo apt-key add /var/cuda-repo-...
1
vote
0answers
297 views

ldconfig configuration file cannot be opened i386-linux-gnu_GL.conf

I'm getting the warning message below when I install new libraries or run ldconfig. /sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/i386-linux-...
2
votes
2answers
3k views

The easy way: Install Nvidia drivers, CUDA, CUDNN and Tensorflow GPU on Ubuntu 18.04

How can I easily get tensorflow gpu running?
1
vote
1answer
302 views

How to uninstall ppa + nvidia graphic and reinstall CUDA clean?

I installed the ppa graphic-drivers and nividia-390, now it turned out I need the CUDA packages installed instead. The CUDA-part might be easy, just be doubleclick the .runfile... but: What exact ...
1
vote
2answers
491 views

nVidia 390.48 to 396.24 and no cuda found in Blender

Under 390.48 everything worked well in Blender and having duo Intel-nVidia I could work under Intel by prime-select and have nVidia activated in Blender. After update to 396.24 there's no cuda found ...
-1
votes
2answers
209 views

Install the correct Nvidia driver version for NVIDIA CUDA Toolkit

I have installed Ubuntu on, but now I am trying to install NVIDIA CUDA Toolkit for the GPU. When I install it, it says that there is no driver found, so I have tried to install the driver, but I don't ...
2
votes
0answers
2k views

Issue with Ubuntu 18.04 and CUDA 9.1

I follow the instruction(https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#mandatory-post). At the step(2.6. Download the NVIDIA CUDA Toolkit),there is not a option of ubuntu 18....
6
votes
1answer
7k views

How do I install the NVIDIA CUDA toolkit on 18.04 with Coffee Lake - is it supported?

I love the install of 18.04 and I also work with blender3d a great deal. I need the CUDA toolkit in order to render with my GPU instead of my CPU. I have read that it's critical that I get the right ...
0
votes
0answers
102 views

Not enough disk space for CUDA Toolkit?

Tried repeatedly to install latest Nvidia CUDA 9.1 Toolkit but always get a 'not enough disk space' error at the end, even if I target external drive with over 400GB available! What gives? If I run ...