NCC problem in jetson nano

19 views (last 30 days)
Rushabh Nagda
Rushabh Nagda on 19 Feb 2020
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.

Answers (1)

Ramakrishna Mandalapu
Ramakrishna Mandalapu on 25 Feb 2020
Hello Rushabh,
Did you set the ~/.bashrc as mentioned in the documentation?
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 Comments
Ramakrishna Mandalapu
Ramakrishna Mandalapu on 19 Jul 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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!