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
조회 수: 8 (최근 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.
댓글 수: 0
채택된 답변
Venkat Siddarth Reddy
2024년 1월 16일
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 Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!