I have found a solution: Installing the Fedora 35 cuda repository:
https://developer.download.nvidia.com/compute/cuda/repos/fedora35/x86_64/
The Fedora 36 repository
https://developer.download.nvidia.com/compute/cuda/repos/fedora36/x86_64/
has missing packages, I suspect.
It works fine, but
--------------------------------------- Problem: package cuda-11-7-11.7.0-1.x86_64 requires cuda-runtime-11-7
= 11.7.0, but none of the providers can be installed
- package cuda-11.7.0-1.x86_64 requires cuda-11-7 >= 11.7.0, but none of the providers can be installed - package cuda-runtime-11-7-11.7.0-1.x86_64 requires cuda-drivers >= 515.43.04, but none of the providers can be installed - cannot install the best update candidate for package cuda-11.6.2-1.x86_64 - package cuda-drivers-515.43.04-1.x86_64 is filtered out by modular filtering - package cuda-drivers-515.48.07-1.x86_64 is filtered out by modular filtering ---------------------------------------
Paul
On Sun, Jun 26, 2022 at 11:21 PM Michael D. Setzer II mikes@guam.net wrote:
https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/in dex.html
Has a link for linux and commands. dnf whatprovides */nvcc didn't find anything, so looks like it has to be downloaded from other site.
On 26 Jun 2022 at 23:03, Paul Smith wrote:
From: Paul Smith phhs80@gmail.com Date sent: Sun, 26 Jun 2022 23:03:34 +0100 Subject: Re: Installing cuda on Fedora 36 To: Community support for Fedora users users@lists.fedoraproject.org Send reply to: Community support for Fedora users users@lists.fedoraproject.org
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 _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+