-
Notifications
You must be signed in to change notification settings - Fork 7
Installing nvtop
Louis Maddox edited this page Nov 14, 2021
·
6 revisions
Issue #68 of nvtop
(a htop-like program for NVIDIA GPUs) notes RE: the apt package
for Ubuntu 20.04, "Canonical ruined the package totally"
The solution is to install the package manually
-
Dependencies are:
CMake,ncurses,gitsudo apt install cmake libncurses5-dev libncursesw5-dev git` -
nvtop build instructions are at the end of the README (I recommend putting it in
~/optsocd ~/optfirst)git clone https://github.com/Syllo/nvtop.git mkdir -p nvtop/build && cd nvtop/build cmake ..
-
I got the message
Found NVML: /usr/local/cuda-11.2/include (found version "11")with no errors (on Ubuntu 20.04, CUDA 11.2) but if you get an error run this:# If it errors with "Could NOT find NVML (missing: NVML_INCLUDE_DIRS)" # try the following command instead, otherwise skip to the build with make. cmake .. -DNVML_RETRIEVE_HEADER_ONLINE=True
then finish the installation with:
make sudo make install
-
Now nvtop will be available on the command line!
- Note: for integrated Intel GPUs,
sudo apt install intel-gpu-toolsand thensudo intel_gpu_topwill show GPU usage