diff --git a/AMSS_NCKU_source/ShellPatch.C b/AMSS_NCKU_source/ShellPatch.C index 00a46f0..278e520 100644 --- a/AMSS_NCKU_source/ShellPatch.C +++ b/AMSS_NCKU_source/ShellPatch.C @@ -2953,7 +2953,7 @@ void ShellPatch::setupintintstuff(int cpusize, MyList *CPatL, int Symmetr } while (sPp) { -#pragma omp parallel for collapse(3) schedule(guided) +#pragma omp parallel for collapse(3) schedule(static) for (int iz = 0; iz < sPp->data->shape[2]; iz++) for (int is = 0; is < sPp->data->shape[1]; is++) for (int ir = 0; ir < sPp->data->shape[0]; ir++) @@ -3073,7 +3073,7 @@ void ShellPatch::setupintintstuff(int cpusize, MyList *CPatL, int Symmetr llb[j] = Pp->data->bbox[j] + (CS_width + 0.0001) * CDH[j]; uub[j] = Pp->data->bbox[dim + j] - (CS_width + 0.0001) * CDH[j]; } -#pragma omp parallel for collapse(3) schedule(guided) +#pragma omp parallel for collapse(3) schedule(static) for (int iz = 0; iz < Pp->data->shape[2]; iz++) for (int iy = 0; iy < Pp->data->shape[1]; iy++) for (int ix = 0; ix < Pp->data->shape[0]; ix++)