From 66847394528d32fd54d4f7abc580b58cda180040 Mon Sep 17 00:00:00 2001 From: paboyle Date: Sat, 28 Nov 2015 16:52:44 -0800 Subject: [PATCH] Better to drop KMP_AFFINITY override --- lib/Threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Threads.h b/lib/Threads.h index 519a2a5b..64dcf893 100644 --- a/lib/Threads.h +++ b/lib/Threads.h @@ -44,7 +44,7 @@ class GridThread { }; static void SetMaxThreads(void) { #ifdef GRID_OMP - setenv("KMP_AFFINITY","balanced",1); + // setenv("KMP_AFFINITY","balanced",1); _threads = omp_get_max_threads(); omp_set_num_threads(_threads); #else