-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could NOT find NVML (missing: NVML_LIBRARIES) (found version "10") #45
Comments
CMake complains because it cannot find the library (libnvml.so file), not the header. |
I'm getting the same issue on only one machine (mine says found version "9"). The driver is definitely installed and I can run |
If you have a conda enable. Try to ‘conda deactivate’ first before you make nvtop (even if conda at base environment) |
Awesome this worked. I guess my compilers were set to the conda compilers on this one machine. Thanks for the suggestion! |
Thank you @lamhoangtung for providing a solution. I added a comment about conda in the README, hopefully this will help. |
Thanks ^^. Looks like we can close the issue for now |
Here's the full script that takes care of deactivating conda and the reactivating it after install. It would be great to add this in git as something like
|
For me did not: /bin/sh: 1: conda: not found . The library itself should be installed, because I run sudo apt-get install cuda-nvml-dev-10-1. It is also only on one machine. It can be observed when building on the docker image nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 that should have all CUDA install (and can run apt-get install cuda-nvml-dev-10-1 without errors). |
I'm also getting I have tried Here is the log; |
i see this too |
@pharpe I'm seeing the same thing - |
The only thing I can think of at this point is adding more hints for CMake. Can you please try with the version on the branch If this does not work, can you please provide the path where the library is located and I will add it to the hint list. |
Removed the old git clone
cloned the cmake_nvml_notfound branch
Created the build directory and cd to it
Ran cmake
I tried
-- Configuring incomplete, errors occurred! |
Thanks @pharpe, is your |
I am having the same issue, libnvidia-ml.so is installed in |
fixed with my patch https://github.com/Mistobaan/nvtop#master and adding. This washappening building from an nvidia TensorRT container
|
Alright, I added some hints to help CMake find the library in the patch 5fb0ab5. |
Close as we don't rely on the nvml header anymore. |
Under the lastest Jetpack version 4.2.1 for embedded devices like Xavier or TX2 I'm seeing this issue when trying to cmake:
I get the error:
It seems it finds NVML and doesn't find it in the download part where you look for:
Any insight is appreciated!
The text was updated successfully, but these errors were encountered: