Skip to content

Commit

Permalink
Merge pull request #2 from MJHarrison-GFDL/gcc_7_4_0_patch
Browse files Browse the repository at this point in the history
Gcc 7 4 0 patch
  • Loading branch information
marshallward authored Nov 1, 2019
2 parents 1b96028 + 251b0d9 commit 77e7342
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 158 deletions.
5 changes: 5 additions & 0 deletions .testing/tc4/MOM_input
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,11 @@ DAYMAX = 0.25 ! [days]
! The final time of the whole simulation, in units of TIMEUNIT seconds. This
! also sets the potential end time of the present run segment if the end time is
! not set via ocean_solo_nml in input.nml.

ENERGYSAVEDAYS = 0.125 ! [days] default = 1.44E+04
! The interval in units of TIMEUNIT between saves of the
! energies of the run and other globally summed diagnostics.

RESTART_CONTROL = 3 ! default = 1
! An integer whose bits encode which restart files are written. Add 2 (bit 1)
! for a time-stamped file, and odd (bit 0) for a non-time-stamped file. A
Expand Down
4 changes: 2 additions & 2 deletions src/initialization/MOM_state_initialization.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1864,8 +1864,8 @@ subroutine initialize_sponges_file(G, GV, US, use_temperature, tv, param_file, C
call MOM_read_data(filename, salin_var, tmp(:,:,:), G%Domain)
call set_up_sponge_field(tmp, tv%S, G, nz, CSp)
elseif (use_temperature) then
call set_up_ALE_sponge_field(filename, potemp_var, Time, G, GV, tv%T, ALE_CSp)
call set_up_ALE_sponge_field(filename, salin_var, Time, G, GV, tv%S, ALE_CSp)
call set_up_ALE_sponge_field(filename, potemp_var, Time, G, GV, US, tv%T, ALE_CSp)
call set_up_ALE_sponge_field(filename, salin_var, Time, G, GV, US, tv%S, ALE_CSp)
endif

end subroutine initialize_sponges_file
Expand Down
Loading

0 comments on commit 77e7342

Please sign in to comment.