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

Remove .h from CICE history output filenames #202

Merged
merged 1 commit into from
Aug 21, 2024
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 CICE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ target_sources(OM3_cice PRIVATE
CICE/cicecore/cicedyn/general/ice_flux_bgc.F90
CICE/cicecore/cicedyn/general/ice_forcing.F90
CICE/cicecore/cicedyn/general/ice_forcing_bgc.F90
CICE/cicecore/cicedyn/general/ice_init.F90
CICE/cicecore/cicedyn/general/ice_state.F90
CICE/cicecore/cicedyn/general/ice_step_mod.F90

Expand Down Expand Up @@ -155,6 +154,7 @@ endif()

add_patched_source(OM3_cice CICE/cicecore/cicedyn/infrastructure/ice_domain.F90)
add_patched_source(OM3_cice CICE/cicecore/shared/ice_distribution.F90)
add_patched_source(OM3_cice CICE/cicecore/cicedyn/general/ice_init.F90)

### Install and Export

Expand Down
13 changes: 13 additions & 0 deletions CICE/patches/ice_init.F90.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/cicecore/cicedyn/general/ice_init.F90 b/cicecore/cicedyn/general/ice_init.F90
index 24ac40db..4ad296aa 100644
--- a/cicecore/cicedyn/general/ice_init.F90
+++ b/cicecore/cicedyn/general/ice_init.F90
@@ -872,7 +872,7 @@ subroutine input_data
! runid and runtype are obtained from the driver, not from the namelist

if (my_task == master_task) then
- history_file = trim(runid) // ".cice" // trim(inst_suffix) //".h"
+ history_file = trim(runid) // ".cice" // trim(inst_suffix)
restart_file = trim(runid) // ".cice" // trim(inst_suffix) //".r"
incond_file = trim(runid) // ".cice" // trim(inst_suffix) //".i"
! Note by tcraig - this if test is needed because the nuopc cap sets
Loading