I’m trying to get a working CUDA 11.0.2 installation on a Jetson Xavier NX. I installed only the base Jetson OS (Jetpack 4.6) using the Nvidia SDK manager. I didn’t install CUDA at that time because SDK manager’s CUDA install is version 10.2, and fills almost the entire 16 GB of eMMC with other stuff I don’t want. There was no option to install only the CUDA toolkit; if there were, I would have gladly chosen it.
So instead, I followed instructions from these two websites; the instrux are identical:
These all appear to have succeeded. Afterwards, I added /usr/local/cuda/bin
to my PATH, and /usr/local/cuda/lib64
to my LD_LIBRARY PATH
. Executing nvcc --version
gives me valid-looking output:
zeus@neptune:/usr/local/cuda/samples/bin/sbsa/linux/release$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Thu_Jun_11_22:26:42_PDT_2020
Cuda compilation tools, release 11.0, V11.0.194
Build cuda_11.0_bu.TC445_37.28540450_0
I then tried to build and run the CUDA sample applications, as suggested in NVidia’s documentation here:
Most of the samples built (but not all). Fortunately one that did build was the deviceQuery
sample. Running the deviceQuery
sample, as suggested above, gives me this not-so-encouraging output:
zeus@neptune:/usr/local/cuda/samples/bin/sbsa/linux/release$ sudo ./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 999
-> unknown error
Result = FAIL
I also notice that my 16 GB of eMMC storage is now 87% full. It was only about 30% full with just the base Jetson OS installed. Does CUDA 11 really need 10+ GB of drive space?
Any ideas for what I might have missed? Is there an easier means of getting CUDA 11 onto the Xavier NX?
Thanks!