1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Better to drop KMP_AFFINITY override

This commit is contained in:
paboyle 2015-11-28 16:52:44 -08:00
parent e9ff25b06b
commit 6684739452

View File

@ -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