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 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Venkat Siddarth Reddy
Venkat Siddarth Reddy el 16 de En. de 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!

Más respuestas (0)

Categorías

Más información sobre GPU Computing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by