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

GitHub Issue NOAA-EMC/GSI#658 Issues of undefined values and thread safety in intrad.f90 #659

Merged
Merged
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
5 changes: 3 additions & 2 deletions src/gsi/intrad.f90
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ subroutine intrad_(radhead,rval,sval,rpred,spred)
i4n(k) = i4n(k-1)+latlon11
enddo

!$omp parallel do schedule(dynamic,1) private(k,i1,i2,i3,i4,mm)
tdir=zero
!$omp parallel do schedule(dynamic,1) private(k,i1,i2,i3,i4)
do k=1,nsig
i1 = i1n(k)
i2 = i2n(k)
Expand Down Expand Up @@ -525,7 +526,7 @@ subroutine intrad_(radhead,rval,sval,rpred,spred)
end do
end if

!$omp parallel do schedule(dynamic,1) private(nn,k,ncr1)
!$omp parallel do schedule(dynamic,1) private(nn,k,ncr1,val_quad,mm)
do nn=1,radptr%nchan

! include observation increment and lapse rate contributions to bias correction
Expand Down