iot-salzburg / gpu-jupyter

GPU-Jupyter: Leverage the flexibility of Jupyterlab through the power of your NVIDIA GPU to run your code from Tensorflow and Pytorch in collaborative notebooks on the GPU.
Apache License 2.0
699 stars 231 forks source link

nvtop [enhancement] #55

Closed victor-moreno closed 3 years ago

victor-moreno commented 3 years ago

Hi, Could you add nvtop to your builds: https://github.com/Syllo/nvtop

For some reason, I cannot build a new image with this Dockerfile

FROM cschranz/gpu-jupyter:v1.4_cuda-11.0_ubuntu-18.04 RUN git clone https://github.com/Syllo/nvtop.git && \ mkdir -p nvtop/build && cd nvtop/build && \ cmake .. -DNVML_RETRIEVE_HEADER_ONLINE=True && \ make && make install && \ cd /tmp && rm -rf /tmp/nvtop

Error: /usr/bin/ld: cannot find -lnvidia-ml

Some environment variable is missing, because once the image is running I can compile nvtop if I first deactivate conda

ChristophSchranz commented 3 years ago

That's a valuable package.

The commit 148e6579994c386e8a0e6bb921e9c073c6fe0667 should have solved it.

ChristophSchranz commented 3 years ago

Okay it seems it does not work as expected. Additionally, this package currently requires the cuda devel image (nvidia/cuda:-devel-), see here

I suggest we wait until there is a fix for that!

ChristophSchranz commented 3 years ago

Ups, the there was an error on my side. It works now with 5a9c953f7d812e73341afbb30cf40e934ee7e35c