Clear Filters
Clear Filters

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 views (last 30 days)
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.

Accepted Answer

Venkat Siddarth Reddy
Venkat Siddarth Reddy on 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!

More Answers (0)

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!