Switch off setting any extra OMP variables for now.

这个提交包含在:
Craig Warren
2016-08-19 13:03:10 +01:00
父节点 6aeaa315b5
当前提交 95d5db7bd1

查看文件

@@ -62,9 +62,9 @@ def process_singlecmds(singlecmds, G):
# Number of threads (OpenMP) to use
cmd = '#num_threads'
os.environ['OMP_WAIT_POLICY'] = 'ACTIVE' # What to do with threads when they are waiting
os.environ['OMP_DYNAMIC'] = 'FALSE'
os.environ['OMP_PROC_BIND'] = 'TRUE' # Bind threads to physical cores
# os.environ['OMP_WAIT_POLICY'] = 'ACTIVE' # What to do with threads when they are waiting
# os.environ['OMP_DYNAMIC'] = 'FALSE'
# os.environ['OMP_PROC_BIND'] = 'TRUE' # Bind threads to physical cores
if singlecmds[cmd] != 'None':
tmp = tuple(int(x) for x in singlecmds[cmd].split())