diff --git a/lib/Threads.h b/lib/Threads.h index 9d1295e5..b8915d74 100644 --- a/lib/Threads.h +++ b/lib/Threads.h @@ -37,7 +37,7 @@ Author: paboyle #ifdef GRID_OMP #include -#define PARALLEL_FOR_LOOP _Pragma("omp parallel for ") +#define PARALLEL_FOR_LOOP _Pragma("omp parallel for schedule(runtime)") #define PARALLEL_NESTED_LOOP2 _Pragma("omp parallel for collapse(2)") #else #define PARALLEL_FOR_LOOP