You are not logged in.

#1 2021-01-17 17:39

postquantum
Member
Registered: 2020-06-04
Posts: 24

Mathematica install CUDA GPU driver - Error code: 256?

Hello,

My goal is to use the GPU via Mathematica and so I need to install the CUDA Tools.

I failed up to now.

My steps:

1) In updated Q4OS.
2) Install CUDA Link
  wget https://developer.download.nvidia.com/c … _linux.run
  sudo sh cuda_11.2.0_460.27.04_linux.run

>> Installation failed. See log at /var/log/cuda-installer.log for details.

cuda-installer.log:
{{"[INFO]: Driver not installed."}, {"[INFO]: Checking compiler \
version..."}, {"[INFO]: gcc location: /usr/bin/gcc"}, {}, {"[INFO]: \
gcc version: gcc version 8.3.0 (Debian 8.3.0-6)"}, {}, {"[INFO]: \
Initializing menu"}, {"[INFO]: Setup complete"}, {"[INFO]: Components \
to install:"}, {"[INFO]: Driver"}, {"[INFO]: 460.27.04"}, {"[INFO]: \
Executing NVIDIA-Linux-x86_64-460.27.04.run --ui=none --no-questions \
--accept-license --disable-nouveau --no-cc-version-check \
--install-libglvnd  2>&1"}, {"[INFO]: Finished with code: 256"}, \
{"[ERROR]: Install of driver component failed."}, {"[ERROR]: Install \
of 460.27.04 failed", "quitting"}}

What does it mean code: 256?
How I can fix it?

Kind Regards

Offline

#2 2021-01-17 18:07

postquantum
Member
Registered: 2020-06-04
Posts: 24

Re: Mathematica install CUDA GPU driver - Error code: 256?

Hello,

might it be a problem that I have an AMD CPU and there is no CUDA driver for Debian amd64?

# uname -r
4.19.0-13-amd64

Kind Regards

https://developer.nvidia.com/cuda-downl … version=20
https://docs.nvidia.com/cuda/cuda-insta … stallation

Offline

#3 2021-01-17 19:15

postquantum
Member
Registered: 2020-06-04
Posts: 24

Re: Mathematica install CUDA GPU driver - Error code: 256?

Hello,
the Debian AMD64 CUDA driver exists, I found this:

cuda-repo-debian10-11-2-local_11.2.0-460.27.04-1_amd64.deb

https://developer.nvidia.com/cuda-downl … e=deblocal
>> Debian - local

But if I follow the instruction to install it, again I run into some error:

Input:

wget https://developer.download.nvidia.com/c … _amd64.deb
sudo dpkg -i cuda-repo-debian10-11-2-local_11.2.0-460.27.04-1_amd64.deb
sudo apt-key add /var/cuda-repo-debian10-11-2-local/7fa2af80.pub
sudo add-apt-repository contrib
sudo apt-get update
sudo apt-get -y install cuda

Output:
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
cuda : Hängt ab von: cuda-11-2 (>= 11.2.0) soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pa   

Interpretation:

Why the cuda driver is dependet of the same cuda driver, this seem not logical.

How I can fix this can install the CUDA driver?

Kind Regards

Offline

Board footer

Powered by FluxBB