Skip to content

Commit

Permalink
Fix #46 add inst_suffix to interpolated finidat default file so can w…
Browse files Browse the repository at this point in the history
…ork with multi-instance
  • Loading branch information
ekluzek committed Feb 23, 2018
1 parent 2aab8cc commit 4b24b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clm_varctl.F90
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module clm_varctl
! from finidat if use_init_interp is .true.

character(len=fname_len), public :: finidat_interp_source = ' '
character(len=fname_len), public :: finidat_interp_dest = 'finidat_interp_dest.nc'
character(len=fname_len), public :: finidat_interp_dest = ''

!----------------------------------------------------------
! Crop & Irrigation logic
Expand Down
1 change: 1 addition & 0 deletions src/main/controlMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ subroutine control_init( )
write(iulog,*) 'Attempting to initialize run control settings .....'
endif

finidat_interp_dest = 'finidat_interp_dest'//trim(inst_suffix)//'.nc'
runtyp(:) = 'missing'
runtyp(nsrStartup + 1) = 'initial'
runtyp(nsrContinue + 1) = 'restart'
Expand Down

0 comments on commit 4b24b08

Please sign in to comment.