I try to install accelerate-llvm-ptx and the directory /usr/nvvm/libdevice
seems to be missing:
Data/Array/Accelerate/LLVM/PTX/Compile/Libdevice/Load.hs:106:23: error:
• Exception when trying to run compile-time code:
/usr/nvvm/libdevice: getDirectoryContents:openDirStream: does not exist (No such file or directory)
Code: libdeviceBitcode (Compute 3 5)
• In the Template Haskell splice $$(libdeviceBitcode (Compute 3 5))
In the expression: $$(libdeviceBitcode (Compute 3 5))
In an equation for ‘libdevice_35_bc’:
libdevice_35_bc = $$(libdeviceBitcode (Compute 3 5))
|
106 | libdevice_35_bc = $$( libdeviceBitcode (Compute 3 5) )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-5023/accelerate-llvm-ptx-1.1.0.0'
I have installed some CUDA packages that are shipped by Ubuntu:
$ dpkg --list "*cuda*"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-=======================-================-================-===================================================
un cuda-license-7-5 <keine> <keine> (keine Beschreibung vorhanden)
un cuda-repo-ubuntu1204 <keine> <keine> (keine Beschreibung vorhanden)
un cuda-repo-ubuntu1404 <keine> <keine> (keine Beschreibung vorhanden)
un cuda-repo-ubuntu1404-7- <keine> <keine> (keine Beschreibung vorhanden)
un cuda-repo-ubuntu1410 <keine> <keine> (keine Beschreibung vorhanden)
un cuda-repo-ubuntu1504 <keine> <keine> (keine Beschreibung vorhanden)
un cuda-repo-ubuntu1504-7- <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-5.0-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-5.5-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-6.0-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-6.5-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-7.0-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-7.5-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda-8.0-1 <keine> <keine> (keine Beschreibung vorhanden)
un libcuda1 <keine> <keine> (keine Beschreibung vorhanden)
ii libcuda1-375 384.90-0ubuntu0. amd64 Transitional package for libcuda1-384
ii libcuda1-384 384.90-0ubuntu0. amd64 NVIDIA CUDA runtime library
ii libcudart7.5:amd64 7.5.18-0ubuntu1 amd64 NVIDIA CUDA Runtime Library
ii nvidia-cuda-dev 7.5.18-0ubuntu1 amd64 NVIDIA CUDA development files
ii nvidia-cuda-doc 7.5.18-0ubuntu1 all NVIDIA CUDA and OpenCL documentation
ii nvidia-cuda-gdb 7.5.18-0ubuntu1 amd64 NVIDIA CUDA Debugger (GDB)
ii nvidia-cuda-toolkit 7.5.18-0ubuntu1 amd64 NVIDIA CUDA development toolkit
What other packages do I have to install? Or shall I deinstall all CUDA
packages from Ubuntu and install the ones from
nvidia.com (cuda-9.0)
instead?