Reputation: 1
I installed NVML on Jetson TK1 and compiled a cuda program. The compilation does not show any error but when running it shows the error
/NVML-installed-path/usr/src/gdk/nvml/lib//libnvidia-ml.so: file not recognized: File format not recognized.
The downloaded NVML library is for Linux 64 bit. Does Jetson TK1 supports NVML library?
Thanks
Upvotes: 0
Views: 1453
Reputation: 1096
NVML and nvidia-smi are currently (April 2020) not supported on the Jetson platform. For more information, see the JetPack documentation.
you can install jetson-stats to monitor GPU, CPU, Mem, swap, Disk usage, Power, clocks, etc
sudo -H pip3 install -U jetson-stats
you may need to update pip. for that use -
python3 -m pip install --upgrade pip
after installation -
sudo jtop
Upvotes: 0
Reputation:
If you take a look at NVML API reference there is no support for Tegra devices. Jetson TK1 comes with a Tegra K1 SOC processor.
If that is not the reason why it doesn't work I only can think of one possibility: Tegra K1 SOC has a Kepler inside and NVML library came out for CUDA 4, which if I don't missunderstood is a later release of the Nvidia computing toolkit.
Upvotes: 2