Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to timing statistics collection #72

Open
wants to merge 1 commit into
base: eCSE-ARCHER2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions src/time_p.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2304,12 +2304,12 @@ SUBROUTINE CALL_FLUX_SUBROUTINES_3D


IF (statistics.eq.1)THEN
!$OMP BARRIER
!$OMP MASTER
pr_t3=MPI_Wtime()
prace_t2=pr_t3-pr_t2
!$OMP END MASTER
!$OMP BARRIER
!$OMP BARRIER
!$OMP MASTER
pr_t3=MPI_Wtime()
prace_t2=pr_t3-pr_t2
!$OMP END MASTER
!$OMP BARRIER
END IF


Expand All @@ -2335,6 +2335,15 @@ SUBROUTINE CALL_FLUX_SUBROUTINES_3D

end if

IF (statistics.eq.1)THEN
!$OMP BARRIER
!$OMP MASTER
pr_t4=MPI_Wtime()
prace_t3=pr_t4-pr_t3
!$OMP END MASTER
!$OMP BARRIER
END IF

CALL EXHBOUNDHIGHER(N)


Expand Down Expand Up @@ -2363,19 +2372,6 @@ SUBROUTINE CALL_FLUX_SUBROUTINES_3D

end if

IF (statistics.eq.1)THEN
!$OMP BARRIER
!$OMP MASTER
pr_t4=MPI_Wtime()
prace_t3=pr_t4-pr_t3
!$OMP END MASTER
!$OMP BARRIER
END IF






IF (statistics.eq.1)THEN
!$OMP BARRIER
Expand Down