git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8496 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -91,11 +91,7 @@ Comm::Comm(LAMMPS *lmp) : Pointers(lmp)
|
||||
|
||||
nthreads = 1;
|
||||
#ifdef _OPENMP
|
||||
#pragma omp parallel default(shared)
|
||||
{
|
||||
#pragma omp master
|
||||
{ nthreads = omp_get_num_threads(); }
|
||||
}
|
||||
nthreads = omp_get_max_threads();
|
||||
if (me == 0) {
|
||||
if (screen)
|
||||
fprintf(screen," using %d OpenMP thread(s) per MPI task\n",nthreads);
|
||||
|
||||
Reference in New Issue
Block a user