Merge branch 'ScaLBL' of github.com:JamesEMcClure/LBPM-WIA into ScaLBL

This commit is contained in:
James E McClure 2018-02-22 14:09:57 -05:00
commit f616c960f3

View File

@ -516,7 +516,7 @@ int main(int argc, char **argv)
int N_threads = 4; int N_threads = 4;
if ( provided_thread_support < MPI_THREAD_MULTIPLE ) if ( provided_thread_support < MPI_THREAD_MULTIPLE )
N_threads = 0; N_threads = 0;
if ( N_threads > 0 ) { /*if ( N_threads > 0 ) {
// Set the affinity // Set the affinity
int N_procs = ThreadPool::getNumberOfProcessors(); int N_procs = ThreadPool::getNumberOfProcessors();
std::vector<int> procs(N_procs); std::vector<int> procs(N_procs);
@ -524,6 +524,7 @@ int main(int argc, char **argv)
procs[i] = i; procs[i] = i;
ThreadPool::setProcessAffinity(procs); ThreadPool::setProcessAffinity(procs);
} }
*/
ThreadPool tpool(N_threads); ThreadPool tpool(N_threads);
// Create the MeshDataStruct // Create the MeshDataStruct