I don’t see an option for CUDA-toolkit underneath the host section in sdkmanager. However, when I use
/usr/local/cuda-10.0/bin/nsight
This is what comes up in the terminal when I run the code above…
connor@connor-ubuntu:~$ /usr/local/cuda-10.0/bin/nsight
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
CompileCommand: exclude java/lang/reflect/Array.newInstance
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/usr/local/cuda-10.0/libnsight/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
I am able to open NSight and select a directory but then it crashes, leaving an error log here
“An error has occurred. See the log file
/home/connor/cuda-workspace/.metadata/.log”
The full log is ~2000 lines long, is this related to installing the CUDA-toolkit? Would it be ok for me to install the CUDA-toolkit 10-2 from here (CUDA Toolkit 11.7 Update 1 Downloads | NVIDIA Developer) instead of sdkmanager?
Edit: Running…
nsight -vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
Allows me to use NSight Eclipse.
However, I am still wondering about installing the CUDA-toolkit since I don’t see it installed by the sdkmanager. Running the command
nvcc --version
tells me to install the nvidia-cuda-toolkit
Edit2: Sorry for the all the edits…
I can see nvcc in
/usr/local/cuda-10.0/bin
How should I edit what is in (Installation Guide Linux :: CUDA Toolkit Documentation) section 7 to add this to my PATH? I have followed the instructions in sections 7.1.1 but “nvcc --version” still does not work.
Edit3: Adjusted PATH env variables…all seems to be working now.
So back to my main reason for this post. Is there any other setup or preparation needed in order to setup my Xavier for cross compile with NSight? Or are there any other suggested changes that should be made?
To this point I have flashed my Xavier using SDK manager with Jetpack 4.3 and a have installed all host components on my pc (Ubuntu 18.04).