Capitalise environment variables for OMP.

这个提交包含在:
Craig Warren
2016-08-03 14:47:22 +01:00
父节点 da8f487b0a
当前提交 cb4324c32a

查看文件

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