-
Notifications
You must be signed in to change notification settings - Fork 10
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
cleanup changes to nuopc branch #4
Changes from all commits
7ac0e3d
f41f1e9
e70d1ab
308a1d4
6982ee4
089f60f
46fcfba
6bccf71
b4afd2e
3a1b88b
41855fd
aea1aa8
30a81cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,6 @@ subroutine init_restart_read(ice_ic) | |
endif | ||
endif ! use namelist values if use_restart_time = F | ||
|
||
write(nu_diag,*) 'Restart read at istep=',istep0,time,time_forc | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you deleting this line? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw that---I think this might have been an accidental delete. |
||
endif | ||
|
||
call broadcast_scalar(istep0,master_task) | ||
|
@@ -228,9 +227,7 @@ subroutine init_restart_write(filename_spec) | |
call define_rest_field(ncid,'uvel',dims) | ||
call define_rest_field(ncid,'vvel',dims) | ||
|
||
#ifdef CESMCOUPLED | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding coszen to the restart files replicates EMC_CICE5 behaviour. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great news. We will still need some sort of ifdef around this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the EMC CICE5, there was originally no coszen present as a restart field so I didn't realize this is a coupled-only field. There is no NEMSCOUPLED; do we need one or could we use the exisiting "coupled" ifdef? |
||
call define_rest_field(ncid,'coszen',dims) | ||
#endif | ||
call define_rest_field(ncid,'scale_factor',dims) | ||
call define_rest_field(ncid,'swvdr',dims) | ||
call define_rest_field(ncid,'swvdf',dims) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module cice_wrapper_mod | ||
|
||
#ifdef CESMCOUPLED | ||
use perf_mod , only : t_startf, t_stopf, t_barrierf | ||
use shr_file_mod , only : shr_file_getlogunit, shr_file_setlogunit | ||
|
||
#else | ||
contains | ||
|
||
! These are just stub routines put in place to remove | ||
|
||
subroutine shr_file_setLogUnit(nunit) | ||
integer, intent(in) :: nunit | ||
! do nothing for this stub - its just here to replace | ||
! having cppdefs in the main program | ||
end subroutine shr_file_setLogUnit | ||
subroutine shr_file_getLogUnit(nunit) | ||
integer, intent(in) :: nunit | ||
! do nothing for this stub - its just here to replace | ||
! having cppdefs in the main program | ||
end subroutine shr_file_getLogUnit | ||
|
||
subroutine t_startf(string) | ||
character(len=*) :: string | ||
end subroutine t_startf | ||
subroutine t_stopf(string) | ||
character(len=*) :: string | ||
end subroutine t_stopf | ||
subroutine t_barrierf(string, comm) | ||
character(len=*) :: string | ||
integer:: comm | ||
end subroutine t_barrierf | ||
#endif | ||
|
||
end module cice_wrapper_mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still needs CESMCOUPLED around it as it is not used in the standalone CICE. Is there an equivalent ifdef for NEMS?