Remove some debug print messages.

这个提交包含在:
Craig Warren
2017-02-27 15:46:04 +00:00
父节点 561554e6cb
当前提交 60ae7d6b6c
共有 2 个文件被更改,包括 2 次插入3 次删除

查看文件

@@ -65,11 +65,11 @@ def process_singlecmds(singlecmds, G):
# Number of threads (OpenMP) to use
cmd = '#num_threads'
if sys.platform == 'darwin':
os.environ['OMP_WAIT_POLICY'] = 'ACTIVE' # Should waiting threads consume CPU power; can drastically effect performance
os.environ['OMP_WAIT_POLICY'] = 'ACTIVE' # Should waiting threads consume CPU power (can drastically effect performance)
os.environ['OMP_DYNAMIC'] = 'FALSE' # Number of threads may be adjusted by the run time environment to best utilize system resources
os.environ['OMP_PLACES'] = 'cores'
os.environ['OMP_PROC_BIND'] = 'spread' # Bind threads to physical cores
os.environ['OMP_DISPLAY_ENV'] = 'TRUE'
# os.environ['OMP_DISPLAY_ENV'] = 'TRUE' # Prints OMP version and environment variables (useful for debug)
if singlecmds[cmd] != 'None':
tmp = tuple(int(x) for x in singlecmds[cmd].split())

查看文件

@@ -174,7 +174,6 @@ def get_host_info():
allcpuinfo = allcpuinfo.split('\n')
sockets = 0
for line in allcpuinfo:
print(line)
if 'CPU' in line:
cpuID = line.strip()
sockets += 1