Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CICE to Consortium/main 6.4.2 #68

Merged
merged 43 commits into from
Sep 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9424497
Fix CESMCOUPLED compile issue in icepack. (#823)
dabail10 Mar 23, 2023
5b0418a
Update global reduction implementation to improve performance, fix VP…
apcraig Apr 5, 2023
35ec167
Add functionality to change hist_avg for each stream (#827)
dabail10 May 17, 2023
b98b8ae
Update Icepack to #6703bc533c968 May 22, 2023 (#829)
apcraig May 24, 2023
8e2aab2
Fix for mesh check in CESM driver (#830)
dabail10 Jun 20, 2023
7eb4dd7
Update .readthedocs.yaml, add pdf (#837)
apcraig Jun 20, 2023
bd0ee2c
add run time info
junwang-noaa Jun 27, 2023
e01660b
change real(8) to real(dbl)kind)
junwang-noaa Jul 6, 2023
b475ad4
fix syntax
junwang-noaa Jul 6, 2023
dc73c66
fix write unit
junwang-noaa Jul 6, 2023
1e65452
use cice_wrapper for ufs timer functionality
DeniseWorthen Jul 6, 2023
c6049c5
add elapsed model time for logtime
DeniseWorthen Jul 6, 2023
34dc667
Namelist option for time axis position. (#839)
dabail10 Jul 7, 2023
b7d88d9
tidy up the wrapper
DeniseWorthen Jul 7, 2023
fead17f
add timer and forecast log
DeniseWorthen Jul 7, 2023
a744734
only one time is needed
DeniseWorthen Jul 8, 2023
1c98b43
modify message written for log.ice.fXXX
DeniseWorthen Jul 10, 2023
dd13d6f
change info in fXXX log file
DeniseWorthen Jul 10, 2023
766ff8d
Update Icepack to #d024340f19676b July 6, 2023 (#841)
apcraig Jul 11, 2023
f9d3002
Add support for JRA55do (#843)
apcraig Jul 13, 2023
9f42a62
Update Icepack to Consortium main #4728746, July 18 2023 (#846)
apcraig Jul 20, 2023
1870b3a
Merge remote-tracking branch 'Consortium/main' into feature/updcice
DeniseWorthen Jul 24, 2023
4cb296c
Modification of edge mask computation when l_fixed_area=T in horizont…
JFLemieux73 Jul 25, 2023
8baa3eb
Merge remote-tracking branch 'Consortium/main' into feature/updcice
DeniseWorthen Jul 25, 2023
7e8dc5b
Update conda_macos to fix problems with Github Actions testing (#853)
apcraig Aug 10, 2023
7c0a18e
Merge branch 'NOAA-EMC:emc/develop' into feature/runtime
DeniseWorthen Aug 16, 2023
8322416
Updates to advanced snow physics implementation (#852)
eclare108213 Aug 18, 2023
a1f066b
reset timer after Advance to retrieve "wait time"
DeniseWorthen Aug 21, 2023
357103a
Deprecate zsalinity (#851)
apcraig Aug 22, 2023
c7876eb
Merge remote-tracking branch 'Consortium/main' into feature/updcice
DeniseWorthen Aug 23, 2023
aa22374
Merge branch 'feature/runtime' into feature/updcice
DeniseWorthen Aug 23, 2023
897ea65
add logical control for enabling runtime info
DeniseWorthen Aug 23, 2023
48cf726
Merge branch 'feature/runtime' into feature/updcice
DeniseWorthen Aug 23, 2023
76c3f7f
remove zsal items from cap
DeniseWorthen Aug 23, 2023
84427a6
fix typo
DeniseWorthen Aug 23, 2023
933b148
Extend restart output controls, provide multiple frequency options (#…
apcraig Aug 24, 2023
e8a69ab
Add logging features to nuopc/cmeps cap; deprecates zsalinity in cap …
DeniseWorthen Aug 28, 2023
32dc48e
Update Icepack to #23b6c1272b50d42ca, Aug 30, 2023 (#857)
apcraig Aug 31, 2023
cbbac74
Only print messages in CAP on master task (#861)
dabail10 Sep 5, 2023
714bab9
Update Cheyenne and Derecho ports (#863)
apcraig Sep 7, 2023
06282a5
Update version to 6.4.2 (#864)
apcraig Sep 8, 2023
fae9a07
Merge branch 'NOAA-EMC:emc/develop' into feature/updcice
DeniseWorthen Sep 11, 2023
0d0f2b4
Merge remote-tracking branch 'Consortium/main' into feature/updcice
DeniseWorthen Sep 11, 2023
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
Prev Previous commit
Next Next commit
modify message written for log.ice.fXXX
DeniseWorthen committed Jul 10, 2023
commit 1c98b436f8d506cd3e466636b162ca8f1b1e9087
11 changes: 7 additions & 4 deletions cicecore/drivers/nuopc/cmeps/CICE_RunMod.F90
Original file line number Diff line number Diff line change
@@ -111,8 +111,8 @@ subroutine ice_step
use ice_constants, only: c3600
use ice_boundary, only: ice_HaloUpdate
use ice_calendar, only: dt, dt_dyn, ndtd, diagfreq, write_restart, istep
use ice_calendar, only: idate, msec, timesecs
use ice_calendar, only: write_history, nstreams, histfreq
use ice_calendar, only: idate, myear, mmonth, mday, msec, timesecs
use ice_calendar, only: calendar_sec2hms, write_history, nstreams, histfreq
use ice_diagnostics, only: init_mass_diags, runtime_diags, debug_model, debug_ice
use ice_diagnostics_bgc, only: hbrine_diags, zsal_diags, bgc_diags
use ice_domain, only: halo_info, nblocks
@@ -155,7 +155,8 @@ subroutine ice_step
character(len=*), parameter :: subname = '(ice_step)'

character (len=char_len) :: plabeld
integer (kind=int_kind) :: ns
integer (kind=int_kind) :: hh,mm,ss,ns
character (len=char_len) :: logmsg

if (debug_model) then
plabeld = 'beginning time step'
@@ -391,7 +392,9 @@ subroutine ice_step
if (my_task == master_task) then
do ns = 1,nstreams
if (write_history(ns) .and. histfreq(ns) .eq. 'h') then
call ufs_logfhour(idate,msec,timesecs/c3600)
call calendar_sec2hms(msec,hh,mm,ss)
write(logmsg,'(6(i4,2x))')myear,mmonth,mday,hh,mm,ss
call ufs_logfhour(trim(logmsg),timesecs/c3600)
end if
end do
end if
44 changes: 21 additions & 23 deletions cicecore/drivers/nuopc/cmeps/cice_wrapper_mod.F90
Original file line number Diff line number Diff line change
@@ -10,23 +10,22 @@ module cice_wrapper_mod
contains
! Define stub routines that do nothing - they are just here to avoid
! having cppdefs in the main program
subroutine ufs_file_setLogUnit(filename,nunit)
character(len=*), intent(in) :: filename
integer, intent(out) :: nunit
end subroutine ufs_file_setLogUnit
subroutine ufs_settimer(timevalue)
real(dbl_kind), intent(out) :: timevalue
real(dbl_kind), intent(out) :: timevalue
end subroutine ufs_settimer
subroutine ufs_logtimer(nunit,esecs,string,time0)
integer, intent(in) :: nunit
integer(int_kind), intent(in) :: esecs
character(len=*), intent(in) :: string
real(dbl_kind), intent(in) :: time0
subroutine ufs_logtimer(nunit,elapsedsecs,string,time0)
integer, intent(in) :: nunit
integer(int_kind), intent(in) :: elapsedsecs
character(len=*), intent(in) :: string
real(dbl_kind), intent(in) :: time0
end subroutine ufs_logtimer
subroutine ufs_logfhour(date,esecs,hour)
integer(int_kind), intent(in) :: date
integer(int_kind), intent(in) :: esecs
real(dbl_kind), intent(in) :: hour
subroutine ufs_file_setLogUnit(filename,nunit)
character(len=*), intent(in) :: filename
integer, intent(out) :: nunit
end subroutine ufs_file_setLogUnit
subroutine ufs_logfhour(msg,hour)
character(len=*), intent(in) :: msg
real(dbl_kind), intent(in) :: hour
end subroutine ufs_logfhour
#else

@@ -42,33 +41,32 @@ subroutine ufs_settimer(timevalue)
timevalue = MPI_Wtime()
end subroutine ufs_settimer

subroutine ufs_logtimer(nunit,esecs,string,time0)
subroutine ufs_logtimer(nunit,elapsedsecs,string,time0)
integer, intent(in) :: nunit
integer(int_kind), intent(in) :: esecs
integer(int_kind), intent(in) :: elapsedsecs
character(len=*), intent(in) :: string
real(dbl_kind), intent(in) :: time0
real(dbl_kind) :: MPI_Wtime, timevalue
if (time0 > 0.) then
timevalue = MPI_Wtime()-time0
write(nunit,*)esecs,' CICE '//trim(string),timevalue
write(nunit,*)elapsedsecs,' CICE '//trim(string),timevalue
end if
end subroutine ufs_logtimer

subroutine ufs_file_setLogUnit(filename,nunit)
character(len=*), intent(in) :: filename
integer, intent(out) :: nunit
character(len=*), intent(in) :: filename
integer, intent(out) :: nunit
open (newunit=nunit, file=trim(filename))
end subroutine ufs_file_setLogUnit

subroutine ufs_logfhour(date,esecs,hour)
integer(int_kind), intent(in) :: date
integer(int_kind), intent(in) :: esecs
subroutine ufs_logfhour(msg,hour)
character(len=*), intent(in) :: msg
real(dbl_kind), intent(in) :: hour
character(len=char_len) :: filename
integer(int_kind) :: nunit
write(filename,'(a,i3.3)')'log.ice.f',int(hour)
open(newunit=nunit,file=trim(filename))
write(nunit,'(a,f8.2,a,2i10)')'completed CICE fhour = ',hour,' complete ',date,esecs
write(nunit,'(a,f10.3,a)')'completed CICE fhour = ',hour,' validation time: '//trim(msg)
close(nunit)
end subroutine ufs_logfhour