On Sun, Jun 26, 2022 at 10:10 PM Patrick O'Callaghan pocallaghan@gmail.com wrote:
Could someone please direct me in the process of installing cuda?
Simplest way is probably via rpmfusion:
https://rpmfusion.org/Howto/CUDA?highlight=%28%5CbCategoryHowto%5Cb%29
Thanks, Tom. I have followed all steps, but then I get the following error:
# dnf -y install cuda Last metadata expiration check: 0:04:09 ago on Sun 26 Jun 2022 09:34:42 PM WEST. No match for argument: cuda Error: Unable to find a match: cuda #
$ dnf search cuda Last metadata expiration check: 0:00:18 ago on Sun 26 Jun 2022 22:06:30 BST. =========================================================================== Name & Summary Matched: cuda =========================================================================== xorg-x11-drv-nvidia-340xx-cuda.x86_64 : CUDA libraries for xorg-x11-drv-nvidia-340xx xorg-x11-drv-nvidia-390xx-cuda.x86_64 : CUDA driver for xorg-x11-drv-nvidia-390xx xorg-x11-drv-nvidia-390xx-cuda-libs.i686 : CUDA libraries for xorg-x11-drv-nvidia-390xx xorg-x11-drv-nvidia-390xx-cuda-libs.x86_64 : CUDA libraries for xorg-x11-drv-nvidia-390xx xorg-x11-drv-nvidia-470xx-cuda.x86_64 : CUDA driver for xorg-x11-drv-nvidia-470xx xorg-x11-drv-nvidia-470xx-cuda-libs.i686 : CUDA libraries for xorg-x11-drv-nvidia-470xx xorg-x11-drv-nvidia-470xx-cuda-libs.x86_64 : CUDA libraries for xorg-x11-drv-nvidia-470xx xorg-x11-drv-nvidia-cuda.x86_64 : CUDA driver for xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda-libs.x86_64 : CUDA libraries for xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda-libs.i686 : CUDA libraries for xorg-x11-drv-nvidia
I'm guessing you need "dnf install xorg-x11-drv-nvidia-cuda"
Thanks, Patrick. I have meanwhile done
"dnf install xorg-x11-drv-nvidia-cuda"
However, when I try to compile a .cu program, I get the following error:
$ nvcc x.cu -o x bash: nvcc: command not found $
I did search for nvcc, but:
# dnf search nvcc Last metadata expiration check: 1:18:55 ago on Sun 26 Jun 2022 09:34:42 PM WEST. No matches found. #
Any ideas?
Paul