Skip to content

Commit

Permalink
turn off OMP around seabed stress, causes aborts on cheyenne with pgi (
Browse files Browse the repository at this point in the history
  • Loading branch information
apcraig authored Dec 1, 2021
1 parent cc0e716 commit a141535
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions cicecore/cicedynB/dynamics/ice_dyn_eap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ subroutine eap (dt)

if (seabed_stress) then

!$OMP PARALLEL DO PRIVATE(iblk)
! tcraig, evp omp causes abort on cheyenne with pgi, turn off here too
!$TCXOMP PARALLEL DO PRIVATE(iblk)
do iblk = 1, nblocks

if ( seabed_stress_method == 'LKD' ) then
Expand All @@ -421,7 +422,7 @@ subroutine eap (dt)
endif

enddo
!$OMP END PARALLEL DO
!$TCXOMP END PARALLEL DO
endif

do ksub = 1,ndte ! subcycling
Expand Down
5 changes: 3 additions & 2 deletions cicecore/cicedynB/dynamics/ice_dyn_evp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ subroutine evp (dt)

if (seabed_stress) then

!$OMP PARALLEL DO PRIVATE(iblk)
! tcraig, causes abort with pgi compiler on cheyenne
!$TCXOMP PARALLEL DO PRIVATE(iblk)
do iblk = 1, nblocks

select case (trim(grid_system))
Expand Down Expand Up @@ -605,7 +606,7 @@ subroutine evp (dt)
end select

enddo
!$OMP END PARALLEL DO
!$TCXOMP END PARALLEL DO
endif

call ice_timer_start(timer_evp_2d)
Expand Down
5 changes: 3 additions & 2 deletions cicecore/cicedynB/dynamics/ice_dyn_vp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ subroutine implicit_solver (dt)

if (seabed_stress) then

!$OMP PARALLEL DO PRIVATE(iblk)
! tcraig, evp omp causes abort on cheyenne with pgi, turn off here too
!$TCXOMP PARALLEL DO PRIVATE(iblk)
do iblk = 1, nblocks

if ( seabed_stress_method == 'LKD' ) then
Expand All @@ -467,7 +468,7 @@ subroutine implicit_solver (dt)
endif

enddo
!$OMP END PARALLEL DO
!$TCXOMP END PARALLEL DO
endif

!-----------------------------------------------------------------
Expand Down

0 comments on commit a141535

Please sign in to comment.