From 3b12b536f78557f521704e762c437d91a9f484c2 Mon Sep 17 00:00:00 2001 From: LKedward Date: Fri, 29 Jan 2021 12:09:29 +0000 Subject: Update: fpm_backend with dynamic openmp scheduling. --- fpm/src/fpm_backend.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpm/src/fpm_backend.f90 b/fpm/src/fpm_backend.f90 index ab8d9c5..9d22e25 100644 --- a/fpm/src/fpm_backend.f90 +++ b/fpm/src/fpm_backend.f90 @@ -68,7 +68,7 @@ subroutine build_package(model) do i=1,size(schedule_ptr)-1 ! Build targets in schedule region i - !$omp parallel do default(shared) + !$omp parallel do default(shared) schedule(dynamic,1) do j=schedule_ptr(i),(schedule_ptr(i+1)-1) call build_target(model,queue(j)%ptr) -- cgit v1.2.3