Skip to content

Commit

Permalink
Merge branch 'jonbob/mpaso/fix-subglacial-omp' (PR #6656)
Browse files Browse the repository at this point in the history
Add missing omp private variables for data subglacial runoff

Adds some variables were introduced in PR #6508 and not icluded in the
appropriate omp private statement. These variables are only used for
data subglacial runoff, so this does not impact current tests. Also
changes the current GMPAS-JRA1p5-DIB-PISMF-DSGR test to PET to watch
for threading issues.

[BFB]
  • Loading branch information
jonbob committed Oct 4, 2024
2 parents 721f8ca + 16e8080 commit 169448a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cime_config/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
"ERS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF.mpaso-jra_1958",
"PEM_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF.mpaso-jra_1958",
"SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-TMIX.mpaso-jra_1958",
"SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.mpaso-jra_1958",
"PET_P480_Ld2.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.mpaso-jra_1958",
)
},

Expand Down
1 change: 1 addition & 0 deletions components/mpas-ocean/src/shared/mpas_ocn_diagnostics.F
Original file line number Diff line number Diff line change
Expand Up @@ -3540,6 +3540,7 @@ subroutine ocn_compute_KPP_input_fields(statePool, forcingPool, &
!$omp parallel
!$omp do schedule(runtime) &
!$omp private(kmin, fracAbsorbed, fracAbsorbedRunoff, fracAbsorbedSubglacialRunoff, &
!$omp zTop, k, zBot, transmissionCoeffTop, transmissionCoeffBot, &
!$omp sumSurfaceStressSquared, i, iEdge)
do iCell = 1, nCells

Expand Down

0 comments on commit 169448a

Please sign in to comment.