This is on a test cluster with 14 slurm nodes.
When I get the nodes, the error is printed 14 times once for each node.
# python
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyslurm
>>> n = pyslurm.node()
>>> n.get()
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
python: error: Unsupported option 4 for get_nodeinfo.
{u'r7n28': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217129, 'real_memory': 1L, 'node_hostname': u'r7n28', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539625, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n28', 'arch': u'x86_64', 'boards': 1361539625, 'name': u'r7n28', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 1L}, u'r7n29': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217126, 'real_memory': 1L, 'node_hostname': u'r7n29', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539639, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n29', 'arch': u'x86_64', 'boards': 1361539639, 'name': u'r7n29', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 1L}, u'r7n22': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217124, 'real_memory': 1L, 'node_hostname': u'r7n22', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539516, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n22', 'arch': u'x86_64', 'boards': 1361539516, 'name': u'r7n22', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 2L}, u'r7n23': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217127, 'real_memory': 1L, 'node_hostname': u'r7n23', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539509, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n23', 'arch': u'x86_64', 'boards': 1361539509, 'name': u'r7n23', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 2L}, u'r7n20': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217122, 'real_memory': 1L, 'node_hostname': u'r7n20', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539492, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n20', 'arch': u'x86_64', 'boards': 1361539492, 'name': u'r7n20', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 4L}, u'r7n21': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217124, 'real_memory': 1L, 'node_hostname': u'r7n21', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539567, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n21', 'arch': u'x86_64', 'boards': 1361539567, 'name': u'r7n21', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 4L}, u'r7n26': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217126, 'real_memory': 1L, 'node_hostname': u'r7n26', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539578, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n26', 'arch': u'x86_64', 'boards': 1361539578, 'name': u'r7n26', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 3L}, u'r7n27': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1366966932, 'real_memory': 1L, 'node_hostname': u'r7n27', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539632, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n27', 'arch': u'x86_64', 'boards': 1361539632, 'name': u'r7n27', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 5L}, u'r7n24': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217130, 'real_memory': 1L, 'node_hostname': u'r7n24', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539559, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n24', 'arch': u'x86_64', 'boards': 1361539559, 'name': u'r7n24', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 3L}, u'r7n25': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217127, 'real_memory': 1L, 'node_hostname': u'r7n25', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539559, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n25', 'arch': u'x86_64', 'boards': 1361539559, 'name': u'r7n25', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 3L}, u'r7n31': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217125, 'real_memory': 1L, 'node_hostname': u'r7n31', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539506, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n31', 'arch': u'x86_64', 'boards': 1361539506, 'name': u'r7n31', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 3L}, u'r7n30': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217126, 'real_memory': 1L, 'node_hostname': u'r7n30', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539635, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n30', 'arch': u'x86_64', 'boards': 1361539635, 'name': u'r7n30', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 1L}, u'r7n32': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367217127, 'real_memory': 1L, 'node_hostname': u'r7n32', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361539583, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n32', 'arch': u'x86_64', 'boards': 1361539583, 'name': u'r7n32', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 3L}, u'r7n18': {'features': [], 'weight': 1L, 'energy': {'current_watts': 0L, 'consumed_energy': 0L, 'base_consumed_energy': 0L, 'previous_consumed_energy': 0L, 'base_watts': 0L}, 'cpus': 8, 'sockets': 8, 'tmp_disk': 0L, 'slurmd_start_time': 1367262323, 'real_memory': 1L, 'node_hostname': u'r7n18', 'total_cpus': 8, 'err_cpus': 0, 'reason': None, 'alloc_cpus': 0, 'threads': 1, 'boot_time': 1361518886, 'cores': 1, 'reason_uid': 4294967294L, 'node_addr': u'r7n18', 'arch': u'x86_64', 'boards': 1361518886, 'name': u'r7n18', 'gres': [], 'node_state': (4098, 'IDLE~'), 'os': u'Linux', 'cpu_load': 8L}}
>>>