Cuda installation problems on Fedora 34


I am trying to install CUDA from the CUDA toolkit documentation on Fedora 34 and I got errors in section 12.1.2.

As I write the line code:

“systemctl status nvidia-persistenced”

I have:

“nvidia-persistenced.service - NVIDIA Persistence Daemon
Loaded: loaded (/usr/lib/systemd/system/nvidia-persistenced.service; enabled; vendor preset: disabled)
Active: inactive (dead)
dic 08 22:26:30 localhost.localdomain systemd[1]: /usr/lib/systemd/system/nvidia-persistenced.service:7: sistenced.service:7: PIDFile= references a path below legacy directory /var/run/, updating /var/run/nvidia-persistenced/ → /run/nvidia-persistenced/; please update the unit file accordingly.”

Could someone help me? I would like to use CUDA Fortran.

Thank you in advance.