我已经成功安装了Cuda SDK并使用HelloWorld测试了编译器,然后打开了Nsight,但无法打开Nsight

时间:2019-12-13 11:29:31

标签: nsight

我已经成功安装了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"

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,我发现有关安装各种canberra-gtk-任何软件包的所有帖子均未解决。最终解决的是install OpenJdk8 and then start nsight with that vm。显然,Nvidia需要该确切的虚拟机,而没有对其进行记录。来自Nvida的典型不良文档。

我还安装了Oracle JDK 11,仅使用OpenJdk8来运行洞察力。