NCC problem in jetson nano
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
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.
Checking for cuDNN library availability on the Target...
Checking for TensorRT library availability on the Target...
Checking for prerequisite libraries is complete.
Gathering hardware details...
Gathering hardware details is complete.
Board name : NVIDIA Jetson TX1
CUDA Version :
cuDNN Version : 7.6
TensorRT Version : 6.0
Available Webcams :
Available GPUs :
However, when I checked the command line of the jetson, I received the following -
shane@jetsonnano:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Mon_Mar_11_22:13:24_CDT_2019
Cuda compilation tools, release 10.0, V10.0.326
Which clearly shows that NVIC is installed and that too in the correct place.
When I try to use the same command via the MATLAB interface in the Jetson nano shell using the openShell(obj) command, it shows that the NVIC is missing and the command is not defined.
Please help, I am getting a bit confused. I tried changing the bashrc file, and added the path variables etc, but to no avail.
0 comentarios
Respuestas (1)
Ramakrishna Mandalapu
el 25 de Feb. de 2020
Hello Rushabh,
You have to update the environment variables in the non-interactive portion of the ~/.bashrc as mentioned in the example bashrc file in the documentation.
Ramakrishna
2 comentarios
Dishant Shah
el 26 de Feb. de 2020
Editada: Dishant Shah
el 26 de Feb. de 2020
I am having the same issue - i changed the bashrc file and that solved the problem on the jetson nano shell opened via matlab but while generating cuda code it still shows that nvcc is not found. A similar problem is mentioned here - https://in.mathworks.com/matlabcentral/answers/394142-use-cuda-and-cudnn-with-matlab
It still seems to be unresolved. There is some bug associated with setenv
Ramakrishna Mandalapu
el 19 de Jul. de 2021
Hi Dishant,
The non interactive session of the bashrc need to be updated with the required paths. An example bashrc is atached below.
Ramakrishna
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!