Skip to content

Commit

Permalink
Don't try to find initial conditions if this is a branch, this fixed #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Feb 21, 2018
1 parent 79836c0 commit f3dcbdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bld/CLMBuildNamelist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,9 @@ sub process_namelist_inline_logic {
setup_logic_soilstate($opts, $nl_flags, $definition, $defaults, $nl, $physv);
setup_logic_demand($opts, $nl_flags, $definition, $defaults, $nl, $physv);
setup_logic_surface_dataset($opts, $nl_flags, $definition, $defaults, $nl, $physv);
setup_logic_initial_conditions($opts, $nl_flags, $definition, $defaults, $nl, $physv);
if ( remove_leading_and_trailing_quotes($nl_flags->{'clm_start_type'}) ne "branch" ) {
setup_logic_initial_conditions($opts, $nl_flags, $definition, $defaults, $nl, $physv);
}
setup_logic_dynamic_subgrid($opts, $nl_flags, $definition, $defaults, $nl, $physv);
setup_logic_spinup($opts, $nl_flags, $definition, $defaults, $nl, $physv);
setup_logic_supplemental_nitrogen($opts, $nl_flags, $definition, $defaults, $nl, $physv);
Expand Down

0 comments on commit f3dcbdb

Please sign in to comment.