From 95d5db7bd12030fea797f4a8fa9c3591c9b6063e Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Fri, 19 Aug 2016 13:03:10 +0100 Subject: [PATCH] Switch off setting any extra OMP variables for now. --- 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 c756ab08..1df2c899 100644 --- a/gprMax/input_cmds_singleuse.py +++ b/gprMax/input_cmds_singleuse.py @@ -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())