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

7 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with GPU Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by