Skip to content

Commit 3b12b53

Browse files
committed
Update: fpm_backend with dynamic openmp scheduling.
1 parent c485357 commit 3b12b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fpm/src/fpm_backend.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ subroutine build_package(model)
6868
do i=1,size(schedule_ptr)-1
6969

7070
! Build targets in schedule region i
71-
!$omp parallel do default(shared)
71+
!$omp parallel do default(shared) schedule(dynamic,1)
7272
do j=schedule_ptr(i),(schedule_ptr(i+1)-1)
7373

7474
call build_target(model,queue(j)%ptr)

0 commit comments

Comments
 (0)