ganglia / gmond_python_modules

Repository of user-contributed Gmond Python DSO metric modules
http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_gmond_python_modules
389 stars 354 forks source link

Unsupported NVML Commands #234

Open Hatric opened 6 years ago

Hatric commented 6 years ago

After installation and enabling the python module my node becomes DOWN in ganglia. Testing the python module directly results in the following error:

# python nvidia_smi.py
Traceback (most recent call last):
  File "nvidia_smi.py", line 873, in <module>
    print(XmlDeviceQuery())
  File "nvidia_smi.py", line 503, in XmlDeviceQuery
    strResult += GetClocksThrottleReasons(handle);
  File "nvidia_smi.py", line 184, in GetClocksThrottleReasons
    val = handleError(NVML_ERROR_NOT_SUPPORTED);
  File "nvidia_smi.py", line 196, in handleError
    if (err.value == NVML_ERROR_NOT_SUPPORTED):
AttributeError: 'int' object has no attribute 'value'
[root@snc-gpu site-packages]# python --version
Python 2.7.5

Thoughts?