From cb4324c32a656f45ae5b7202cc0f86379ffc96d6 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Wed, 3 Aug 2016 14:47:22 +0100 Subject: [PATCH] Capitalise environment variables for OMP. --- gprMax/input_cmds_singleuse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gprMax/input_cmds_singleuse.py b/gprMax/input_cmds_singleuse.py index 29c6af53..100dec48 100644 --- a/gprMax/input_cmds_singleuse.py +++ b/gprMax/input_cmds_singleuse.py @@ -59,9 +59,9 @@ def process_singlecmds(singlecmds, G): # Number of processors to run on (OpenMP) cmd = '#num_threads' - os.environ['OMP_WAIT_POLICY'] = 'active' - os.environ['OMP_DYNAMIC'] = 'false' - os.environ['OMP_PROC_BIND'] = 'true' + 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())