nsight - 我已经成功安装了 Cuda SDK 并使用 HelloWorld 测试了编译器然后我打开了 Nsight 但无法打开 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"
解决方案
我遇到了同样的问题,我发现的所有关于安装各种 canberra-gtk-whatever 软件包的帖子都没有解决它。最终解决的问题是安装 OpenJdk8,然后使用该 vm 启动 nsight。显然 Nvidia 需要那个确切的虚拟机并且没有记录它。来自 Nvida 的典型不良文档。
我还安装了 Oracle JDK 11,并且只使用 OpenJdk8 来运行洞察力。
推荐阅读
- postgresql - 聚合函数 bool_or() 是否有等效的 PostgresSQL 窗口函数(或替代过程)?
- kotlin - SerializationComponentRegistrar 与此版本的编译器不兼容
- node.js - node-postgres 池管理
- python - 执行 for 循环后列表值更改
- java - Hibernate 源代码中的 volatile 屏障将“与其他线程同步状态”。如何?
- asynchronous - 如何以任何特定顺序使用 Vuex 设置异步进程
- ruby-on-rails - 使用 Ruby on Rails 的 Sendgird 事务性电子邮件和模板
- python-3.x - 将用于实时人脸识别的 k 近邻 (KNN) 算法与 OpenCV 集成
- mysql - MySQL:`GROUP BY` 不包括某些相等的列
- java - 为什么 javaws.exe 每次更新都会移动到不同的文件夹?