Hi Cristóbal
Under Debian Stretch/Buster I had to set
LDFLAGS=-L/usr/lib/x86_64-linux-gnu/nvidia/current for configure to find
the NVML shared library.
Best,
Stephan
On 15.04.21 19:46, Cristóbal Navarro wrote:
> Hi Michael,
> Thanks, Indeed I don't have it. Slurm must have not detected it.
> I double checked and NVML is installed (libnvidia-ml-dev for Ubuntu)
> Here is some output, including the relevant paths for nvml.
> Is it possible to tell the slurm compilation to check these paths for nvml ?
> best
>
> *NVML PKG CHECK*
> ➜ ~ sudo apt search nvml
> Sorting... Done
> Full Text Search... Done
> cuda-nvml-dev-11-0/unknown 11.0.167-1 amd64
> NVML native dev links, headers
>
> cuda-nvml-dev-11-1/unknown,unknown 11.1.74-1 amd64
> NVML native dev links, headers
>
> cuda-nvml-dev-11-2/unknown,unknown 11.2.152-1 amd64
> NVML native dev links, headers
>
> *libnvidia-ml-dev/focal,now 10.1.243-3 amd64 [installed]
> NVIDIA Management Library (NVML) development files*
> python3-pynvml/focal 7.352.0-3 amd64
> Python3 bindings to the NVIDIA Management Library
>
>
>
> *NVML Shared library location*
> ➜ ~ find /usr/lib | grep libnvidia-ml
> /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
> /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.450.102.04
> /usr/lib/x86_64-linux-gnu/libnvidia-ml.so
>
>
>
> *NVML Header*
> ➜ ~ find /usr | grep nvml
> /usr/include/nvml.h
>
>
>
>
> *SLURM LIBS*
-------------------------------------------------------------------
Stephan Roth |
ISG.EE D-ITET ETH Zurich |
http://www.isg.ee.ethz.ch
+4144 632 30 59 | ETF D 104 | Sternwartstrasse 7 | 8092 Zurich
-------------------------------------------------------------------