Skip to content

Commit

Permalink
omp directive syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPincus committed Jun 23, 2023
1 parent 2caba63 commit 384beab
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/all-sky/rrtmgp_allsky.F90
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,11 @@ program rte_rrtmgp_allsky
! Clouds and aerosols used enter data - we won't release explicitly

! fluxes - but not flux_dir, which used enter data
!$acc end data
!$omp target end data
!$acc end data
!$omp end target data
! p_lay etc
!$acc end data
!$omp target end data
!$acc end data
!$omp end target data
contains
! ----------------------------------------------------------------------------------
subroutine compute_profiles(SST, ncol, nlay, p_lay, t_lay, p_lev, t_lev, q_lay, o3)
Expand Down Expand Up @@ -478,8 +478,8 @@ subroutine compute_profiles(SST, ncol, nlay, p_lay, t_lay, p_lev, t_lev, q_lay,
t_lev(icol,ilay) = T
end do
end do
!$acc end data
!$omp target end data
!$acc end data
!$omp end target data
end subroutine compute_profiles
! ----------------------------------------------------------------------------------
subroutine stop_on_err(error_msg)
Expand Down

0 comments on commit 384beab

Please sign in to comment.