Effacer les filtres
Effacer les filtres

Checking for CUDA availability on the Target... Checking for 'nvcc' in the target system path... Warning: Unable to find 'nvcc' on the system path. Update the '.bashrc' script

12 vues (au cours des 30 derniers jours)
Hello
I have been trying to generate a cuda optimised code for jetson nano using matlab.
But I am having a major problem. The NVCC is shown as missing. The nano is also shown as a TX1 for some reason. I am using Matlab 2019b and using jetpack 4.6.1. I have attached some photo and how i edited .bashrc file.
Checking for CUDA availability on the Target...
Checking for 'nvcc' in the target system path...
Warning: Unable to find 'nvcc' on the system path. Update the '.bashrc' script on the target to set up the required
environment variables.

Réponse acceptée

Venkat Siddarth Reddy
Venkat Siddarth Reddy le 16 Jan 2024
Hi MD Limon Apu,
I understand that you are trying to generate optimized CUDA code for jetson NANO but you are facing "NVCC" not found error in MATLAB.
Upon reviewing the ".bashrc" script provided, I noticed that the "LD_LIBRARY_PATH" is set to "/usr/local/cuda/lib" instead of "/usr/local/cuda/lib64" which might be causing the "NVCC" not found error.
I would also recommend you to make the ".bashrc" script similar to example ".bashrc" file in the documentation:
As it follows all the recommended actions required in creating the ".bashrc" script.
I hope this helps!

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with GPU Coder dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by