Skip to content

Commit

Permalink
Fix openMP directive in MOM_forcing_type.F90
Browse files Browse the repository at this point in the history
- A new local variable was missing from the openmp directives.
  • Loading branch information
adcroft committed Jul 5, 2017
1 parent 0192c3c commit 6db42af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/MOM_forcing_type.F90
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ subroutine calculateBuoyancyFlux2d(G, GV, fluxes, optics, h, Temp, Salt, tv, &
netT(G%isc:G%iec) = 0. ; netS(G%isc:G%iec) = 0.

!$OMP parallel do default(none) shared(G,GV,fluxes,optics,h,Temp,Salt,tv,buoyancyFlux,&
!$OMP netHeatMinusSW,netSalt) &
!$OMP netHeatMinusSW,netSalt,skip_diags) &
!$OMP firstprivate(netT,netS)
do j = G%jsc, G%jec
call calculateBuoyancyFlux1d(G, GV, fluxes, optics, h, Temp, Salt, tv, j, buoyancyFlux(:,j,:), &
Expand Down

0 comments on commit 6db42af

Please sign in to comment.