CUDA Toolkit installed but nvcc not found

Thank you very much! Was able to fix it by creating a cuda.sh in /etc/profiled.d and specifying the PATH there. Also downloading cuda 11.2 again (Slurm errors were caused by a library being updated in cuda 12.1 so the system wasn’t able to find the necessary files)