Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/common/include/macros.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

#:def DEALLOCATE(*args)
@:LOG({'@:DEALLOCATE(${re.sub(' +', ' ', ', '.join(args))}$)'})
deallocate (${', '.join(args)}$)
!$acc exit data delete(${', '.join(args)}$)
deallocate (${', '.join(args)}$)
#:enddef DEALLOCATE

#:def ACC_SETUP_VFs(*args)
Expand Down
2 changes: 1 addition & 1 deletion src/simulation/m_data_output.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module m_data_output
real(wp), allocatable, dimension(:, :, :) :: ccfl_sf !< CCFL stability criterion
real(wp), allocatable, dimension(:, :, :) :: Rc_sf !< Rc stability criterion
real(wp), public, allocatable, dimension(:, :) :: c_mass
!$acc declare create(icfl_sf, vcfl_sf, ccfl_sf, Rc_sf)
!$acc declare create(icfl_sf, vcfl_sf, ccfl_sf, Rc_sf, c_mass)

real(wp) :: icfl_max_loc, icfl_max_glb !< ICFL stability extrema on local and global grids
real(wp) :: vcfl_max_loc, vcfl_max_glb !< VCFL stability extrema on local and global grids
Expand Down
Loading