From 854fbaa50c8865c1d6dfd9e41633c52c3b2ed1e3 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Thu, 22 Feb 2018 13:55:37 -0500 Subject: [PATCH] removed thread affinity from color simulator --- tests/lbpm_color_macro_simulator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lbpm_color_macro_simulator.cpp b/tests/lbpm_color_macro_simulator.cpp index 127f57da..bd290cac 100644 --- a/tests/lbpm_color_macro_simulator.cpp +++ b/tests/lbpm_color_macro_simulator.cpp @@ -516,7 +516,7 @@ int main(int argc, char **argv) int N_threads = 4; if ( provided_thread_support < MPI_THREAD_MULTIPLE ) N_threads = 0; - if ( N_threads > 0 ) { + /*if ( N_threads > 0 ) { // Set the affinity int N_procs = ThreadPool::getNumberOfProcessors(); std::vector procs(N_procs); @@ -524,6 +524,7 @@ int main(int argc, char **argv) procs[i] = i; ThreadPool::setProcessAffinity(procs); } + */ ThreadPool tpool(N_threads); // Create the MeshDataStruct