我已经成功地安装了Cuda SDK,并用HelloWorld测试了编译器。然后我打开了Nsight,但是Nsight打不开。
我得到的错误:
nsight
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
CompileCommand: exclude java/lang/reflect/Array.newInstance
Gtk-Message: 16:52:26.477: Failed to load module "canberra-gtk-module"
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/usr/local/cuda-10.2/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
Gtk-Message: 16:52:34.530: Failed to load module "canberra-gtk-module"
发布于 2020-02-07 04:35:17
我也有同样的问题,我找到的所有关于安装各种堪培拉-gtk的帖子-无论是什么包都不能解决它。最终修复它的是install OpenJdk8 and then start nsight with that vm。显然,Nvidia需要完全相同的vm,并且没有对其进行记录。来自Nvida的典型的糟糕文档。
我还安装了OracleJDK11,并且只使用OpenJdk8来运行insight。
https://stackoverflow.com/questions/59321709
复制