diff --git a/gprMax/input_cmds_singleuse.py b/gprMax/input_cmds_singleuse.py index 6d8d9294..3c21b4d8 100644 --- a/gprMax/input_cmds_singleuse.py +++ b/gprMax/input_cmds_singleuse.py @@ -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()) diff --git a/gprMax/utilities.py b/gprMax/utilities.py index e197af01..4b3a697b 100644 --- a/gprMax/utilities.py +++ b/gprMax/utilities.py @@ -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