aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2021-01-29 12:09:29 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2021-01-29 12:09:29 +0000
commit3b12b536f78557f521704e762c437d91a9f484c2 (patch)
tree47433fe8da3338d0e353f3d71f83635712616bdf
parentc4853579ebdf22b21c172557e114c19bced62a23 (diff)
downloadfpm-3b12b536f78557f521704e762c437d91a9f484c2.tar.gz
fpm-3b12b536f78557f521704e762c437d91a9f484c2.zip
Update: fpm_backend with dynamic openmp scheduling.
-rw-r--r--fpm/src/fpm_backend.f902
1 files changed, 1 insertions, 1 deletions
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)