Giter Club home page Giter Club logo

Comments (8)

Syllo avatar Syllo commented on May 22, 2024 2

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.

nivseg2 avatar nivseg2 commented on May 22, 2024 1

The instructions above should be "git clone https://github.com/Syllo/nvtop.git; mkdir nvtop/build && cd nvtop/build..."

from nvtop.

Ly0n avatar Ly0n commented on May 22, 2024

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.

Syllo avatar Syllo commented on May 22, 2024

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.

lake-effect avatar lake-effect commented on May 22, 2024

For Ubuntu x86_64 I had to modify the above:

cmake -DNVML_INCLUDE_DIRS="/usr/lib/x86_64-linux-gnu/" ..

from nvtop.

Syllo avatar Syllo commented on May 22, 2024

Thank you @lake-effect,
Did you install the driver through the NVIDIA installer or ppa?

from nvtop.

lake-effect avatar lake-effect commented on May 22, 2024

This was through PPA.

from nvtop.

Syllo avatar Syllo commented on May 22, 2024

Updated the search path in b7d626a

from nvtop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.