Comments (8)
From the error message it managed to find the headers and extract the version (i.e. found version "9"). Although, the "NVML_LIBRARIES" variable, which should contain the path(s) to the library location, remains empty.
You can search on your system for libnvidia-ml (e.g. find / -name "libnvidia-ml*" 2>/dev/null
).
Once located try cmake -DCMAKE_LIBRARY_PATH="/path/to/library/directory"
modified with the path found with the previous command to see if it is able to build with the added information.
If this works, can you please provide me the library locations so I can update the search paths of CMake accordingly.
from nvtop.
The instructions above should be "git clone https://github.com/Syllo/nvtop.git; mkdir nvtop/build && cd nvtop/build..."
from nvtop.
Thanks for your support. I works like you said. Here my installation process
$ find / -name "libnvidia-ml*" 2>/dev/null
/usr/lib32/nvidia-384/libnvidia-ml.so
/usr/lib32/nvidia-384/libnvidia-ml.so.1
/usr/lib32/nvidia-384/libnvidia-ml.so.384.81
/usr/lib/nvidia-384/libnvidia-ml.so
/usr/lib/nvidia-384/libnvidia-ml.so.1
/usr/lib/nvidia-384/libnvidia-ml.so.384.81
/usr/local/cuda-9.0/targets/x86_64-linux/lib/stubs/libnvidia-ml.so
/var/lib/nvidia-docker/volumes/nvidia_driver/384.81/lib64/libnvidia-ml.so.1
/var/lib/nvidia-docker/volumes/nvidia_driver/384.81/lib64/libnvidia-ml.so.384.81
/var/lib/nvidia-docker/volumes/nvidia_driver/384.81/lib/libnvidia-ml.so.1
/var/lib/nvidia-docker/volumes/nvidia_driver/384.81/lib/libnvidia-ml.so.384.81
$ git clone https://github.com/Syllo/nvtop.git
$ mkdir build && cd build
$ sudo apt-get install libncurses5-dev
$ cmake -DCMAKE_LIBRARY_PATH="/usr/lib/nvidia-384/" ..
$ make
from nvtop.
You are welcome.
I will release a new version that will fix this shortly along with installation instructions for the most common linux distributions to help with these matters.
from nvtop.
For Ubuntu x86_64 I had to modify the above:
cmake -DNVML_INCLUDE_DIRS="/usr/lib/x86_64-linux-gnu/" ..
from nvtop.
Thank you @lake-effect,
Did you install the driver through the NVIDIA installer or ppa?
from nvtop.
This was through PPA.
from nvtop.
Updated the search path in b7d626a
from nvtop.
Related Issues (20)
- 7900xtx not being found HOT 1
- Delay caused by still reading nvidia info when the driver isn't loaded
- The cpu usage is too high. It's 100%.
- No CPU process info when running nvtop in a Docker container - but it shows just fine on the same machine outside of Docker HOT 1
- Encoder usage not available on 4090 HOT 1
- ```thank you! I solved it using this method HOT 1
- Looks like something mislead about PCIe GEN HOT 6
- nvtop doesn't show my second GPU
- AMDGPU power usage no longer shows up in kernel 6.6 HOT 5
- Include GDDR6(X) VRAM temperatures HOT 2
- How to install and run Nvtop? HOT 1
- amd = "No GPU to monitor" HOT 7
- Feature request - use number keys to select signal to send
- Feature request: Collumn for process container name HOT 2
- nvtop doesn't display the correct GPU usage of processes on MIG devices HOT 11
- [Feature Request] Graph size adjustment
- ADD option to show GPU name (or custom short name) in charts instead of "GPU123"
- apt install nvtop destroyed my nvidia drivers HOT 3
- nvtop not detecting GPUs when used with Slurm HOT 2
- Ubuntu 24.04 ppa? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvtop.