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 issue when compiling with opnemp in MOM_diabatic_driver.F90 #43

Merged
merged 1 commit into from
Aug 27, 2014
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
8 changes: 5 additions & 3 deletions src/parameterizations/vertical/MOM_diabatic_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,8 @@ subroutine applyBoundaryFluxes(CS, G, dt, fluxes, optics, ea, h, tv)
!$OMP hGrounding,CS,ksort) &
!$OMP private(opacityBand,h2d,T2d,eps,htot,netThickness, &
!$OMP netHeat,netSalt,Pen_SW_bnd,fractionOfForcing, &
!$OMP dThickness,dTemp,dSalt,hOld,Ithickness,Ttot)
!$OMP dThickness,dTemp,dSalt,hOld,Ithickness,Ttot, &
!$OMP netMassOut)
do j=js,je ! Work in vertical slices (this is a hold over from the routines called with a j argument)
Ttot = 0
! Copy state into 2D-slice arrays
Expand Down Expand Up @@ -2302,10 +2303,11 @@ subroutine applyBoundaryFluxesInOut(CS, G, dt, fluxes, optics, ea, h, tv)
!$OMP H_limit_fluxes,use_riverHeatContent, &
!$OMP useCalvingHeatContent,ea,IforcingDepthScale, &
!$OMP numberOfGroundings,iGround,jGround, &
!$OMP hGrounding,CS,ksort) &
!$OMP hGrounding,CS,ksort,Idt) &
!$OMP private(opacityBand,h2d,T2d,eps,htot,netMassInOut,netMassOut, &
!$OMP netHeat,netSalt,Pen_SW_bnd,fractionOfForcing, &
!$OMP dThickness,dTemp,dSalt,hOld,Ithickness,Ttot)
!$OMP dThickness,dTemp,dSalt,hOld,Ithickness,Ttot, &
!$OMP netMassIn,netHeatOut,netMassOut0)

! work in vertical slices for efficiency
do j=js,je
Expand Down