Skip to content

Commit 9daa693

Browse files
author
cheolhochoi
committed
Revert "fix: synchronize int2 OpenMP workshares (#135)"
This reverts commit baf987e.
1 parent 179a38b commit 9daa693

2 files changed

Lines changed: 1 addition & 32 deletions

File tree

source/integrals/int2.F90

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -504,12 +504,7 @@ subroutine int2_twoei(this, int2_consumer)
504504

505505
end do
506506
end do
507-
! Do not use NOWAIT here. This workshare is encountered once per (i,j)
508-
! shell pair inside the surrounding parallel region. All threads must leave
509-
! the current workshare before any thread can enter the next shell-pair
510-
! workshare, otherwise the OpenMP runtime can see overlapping dynamic
511-
! workshares with different loop bounds and hand out invalid shell indices.
512-
!$omp end do
507+
!$omp end do nowait
513508
end do
514509
end do
515510

tests/test_int2_openmp_workshare.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)