diff options
author | Milan Curcic <caomaco@gmail.com> | 2021-02-05 11:55:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 11:55:19 -0500 |
commit | 889855ac6e75741b988b2355609d12af9f691a2d (patch) | |
tree | 4507c40f8cacbc1747b64c63a56d2073903acb3e | |
parent | a16e812730c1b438e887679df44d7b83ba584f8e (diff) | |
parent | 3b12b536f78557f521704e762c437d91a9f484c2 (diff) | |
download | fpm-889855ac6e75741b988b2355609d12af9f691a2d.tar.gz fpm-889855ac6e75741b988b2355609d12af9f691a2d.zip |
Merge pull request #345 from LKedward/omp-dyn-sched
Update: fpm_backend with dynamic openmp scheduling
-rw-r--r-- | fpm/src/fpm_backend.f90 | 2 |
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) |