Skip to content

Commit

Permalink
Logic fix restarting with a prior case's restart
Browse files Browse the repository at this point in the history
Merge branch 'restart_bugfix'

fix to properly restart when using finidat from a prior case

Fixes: NGT-ED Github issue #165

User interface changes?: No

Code review: ckoven, rgknox

Testing:
  ckoven:
    Test suite: ED test suite on lawrencium-lr3
    Test baseline: don't have any recent baselines, so didn't run; I can't imagine this would be an issue but please double-check when testing on Yellowstone
    Test namelist changes: none
    Test answer changes: ought to be b4b
    Test summary: all smoke, restart, etc tests pass

  andre:
    Test suite: ed - yellowstone gnu, intel, pgi
                     hobart nag
    Test baseline: ed-clm-7f67d19
    Test namelist changes: none
    Test answer changes: bit for bit
    Test summary: all tests pass

    Test suite: clm_short - yellowstone gnu, intel, pgi
    Test baseline: clm4_5_12_r195
    Test namelist changes: none
    Test answer changes: bit for bit
    Test summary: all tests pass
  • Loading branch information
bandre-ucar committed Jan 18, 2017
2 parents 7f67d19 + 8e8dece commit a5dc8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/clm/src/main/clm_initializeMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ subroutine initialize2( )
! Initialise the ED model state structure
! --------------------------------------------------------------

if ( use_ed .and. .not.is_restart() ) then
if ( use_ed .and. .not.is_restart() .and. finidat == ' ') then

call clm_fates%init_coldstart(waterstate_inst,canopystate_inst)

Expand Down

0 comments on commit a5dc8da

Please sign in to comment.