diff --git a/LSF-Script/node/nodeSample b/LSF-Script/node/nodeSample index b765e07053224abc7478a68f5b378cc0957d633d..d2cf2b40231aadcd52d1ffba85c24af1b4bc4688 100644 --- a/LSF-Script/node/nodeSample +++ b/LSF-Script/node/nodeSample @@ -140,7 +140,7 @@ for hostinfo in nodeArrayList: hostinfo['swap'] = None if host['maxswp'] == '-' else transferMemToMB(host['maxswp']) hostinfo['cpuModel'] = host['model'] hostinfo['cpuBuildType'] = 'x86_64' if host['type'] == 'X86_64' else host['type'] - if (hostinfo['state'] == 'CLOSED' and hostinfo['coreFree'] == 0): + if (hostinfo['state'] == 'CLOSE' and hostinfo['coreFree'] == 0): hostinfo['coreFree'] = host['ncpus'] for cluster in bclusterinfo: hostinfo['cluster'] = cluster['CLUSTER_NAME']