Nsight Eclipse 没有found/CUDA11.1 安装问题

Nsight Eclipse not found/CUDA11.1 installation problems

安装cuda后找不到Nsight Eclipse Edition

我在Ubuntu18.04上安装了cuda11.1(之前安装过Nvidia驱动),没有报错。 但是当我在终端上输入“nvcc -V”和“nsight”时,它显示“command 'nvcc' not found”,“command 'nsight' not found”。我通过将环境变量添加到文件夹 /usr/local/cuda-11.1/bin 中的 ~/.bashrc.And 解决了前一个问题,我找不到可执行文件“nsight”(Nsight Eclipse 版本的可执行文件),它应该在cuda安装后就在那里。有人以前遇到过这个吗?

引自CUDA 11 release notes

CUDA Developer Tools

  • Nsight Eclipse Edition standalone is dropped in CUDA 11.0.

Nsight IDE 不再有独立的 Eclipse 分支。相反,插件是在标准 Eclipse IDE 中为 C++ 提供的 运行。请参阅 installation and use.

的文档中的此处