removed thread affinity from color simulator

This commit is contained in:
James E McClure
2018-02-22 13:55:37 -05:00
parent 49118d1f92
commit 854fbaa50c

View File

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