-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: "bash: nvcc: command not found" On Jetson Nano (4GB) #446
Comments
Hi @mericgeren! Thanks for submitting this issue - the CCCL team has been notified and we'll get back to you as soon as we can! |
Hi @mericgeren, I fail to see how this is a cccl issue? We are not responsible for OpenCV installation documentation. Furthermore, I am afraid that the installed 10.2 version is not supported, as we require at least 11.0. Anyway you can always download the cuda toolkit from here https://developer.nvidia.com/cuda-downloads |
Hi @miscco The issue is even though i added directories for cuda in ".bashrc" and linked "cuda" and "cuda-10.2" (which is currently installed one) on Jetson Nano (for which CUDA is included in Jetpack) failing to find the installed cuda in the system. If it wouldn't be an issue about CUDA i wouldn't think about reporting here. But, if i am not mistaken it's an issue with CUDA with links to the context which includes the OpenCV installation i have mentioned. |
Just to be clear, we are the cccl project. Our libraries cub, thrust and libcu++ are used to develop c++ programs using cuda. We are indeed packaged with the cuda toolchain, but we have no business regarding its installation. For jetson Nano, I can only refer you to the official site https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit |
Hey @mericgeren You may find better success if you post a question on the Jetson Dev Forums here: https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/jetson-nano/76 Quick digging into your links also pointed me here https://github.com/Qengineering/Jetson-Nano-image where they provide an image that might get you started quickly. They are probably better equipped to help you as well. I hope you can resolve the issue - good luck! |
Is this a duplicate?
Type of Bug
Something else
Component
Not sure
Describe the bug
Hello,
I have installed Jetpack 4.6.4 from quick start guide with micro sd on a Jetson Nano recently. After the installation i had 3 cuda folders inside
usr/local
named "cuda", "cuda-10" and "cuda-10.2" and nvcc was working. Then, i tried to install and build OpenCV with CUDA support following these steps specified here under " Installation script." section. The build have failed. Then, when i checked "usr/local" and saw there is only "cuda-10.2" . After that, i triednvcc --version
and saw:After that, created a link with
sudo ln -sfT /usr/local/cuda-10.2/ /usr/local/cuda
command. Then, checked if it works withls -l /usr/local/cuda
command and got this on my terminal:Then, checked my .bashrc file and there were these lines at the end of .bashrc:
Then tried again the command:
nvcc --version
and gotbash: nvcc: command not found
on my terminal again. Later on, i checked withjtop
and saw these lines at the "info" section:How to Reproduce
nvcc --version
and see "bash: nvcc: command not found"
Expected behavior
Seeing version of nvcc when entering the command
nvcc --version
and seeing CUDA version when checking with "jtop".Reproduction link
No response
Operating System
L4T 32.7.4 (Based on Linux 18.04)
nvidia-smi output
Not available. Since, i am using Jetson Nano.
NVCC version
The issue is not being able to check it.
The text was updated successfully, but these errors were encountered: