Changes between Initial Version and Version 1 of Ticket #323
- Timestamp:
- 06/25/09 19:41:03 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #323
- Property Resolution → WorksForMe
- Property Status new → closed
-
Ticket #323 – Description
initial v1 1 1 Several users have had issues with some of the sediment related parameters when restarting. Two of these issues deal with morphology/bath and bedload. 2 2 3 1) Morphology/bath 4 If an application is compiled without sed_morph, user runs an application, creates a restart. Then user activates sed_morph, recompiles, and restarts. This will result in an error because the ini file will not have var 'bath.' However, user just wants to start with bath = h and go forward. 5 Suggested fix: 3 1) Morphology/bath: If an application is compiled without '''SED_MORPH''', user runs an application, creates a restart. Then user activates SED_MORPH, recompiles, and restarts. This will result in an error because the initial file will not have var '''bath'''. However, user just wants to start with '''bath = h''' and go forward. 6 4 7 Modify checkvars.Fand change lines ~420-430 from5 Suggested fix: Modify '''checkvars.F''' and change lines ~420-430 from 8 6 7 {{{ 9 8 #if defined SEDIMENT && defined SED_MORPH 10 9 IF (.not.have_var(idbath).and.get_var(idbath)) THEN … … 15 14 END IF 16 15 #endif 16 }}} 17 17 18 18 to: 19 19 20 21 {{{ 20 22 #if defined SEDIMENT && defined SED_MORPH 21 23 IF (.not.have_var(idbath).and.get_var(idbath)) THEN … … 27 29 END IF 28 30 #endif 31 }}} 29 32 30 33 The added line of get_var bath = false will prevent the get_state to load it. 31 34 32 2) bedload 33 If a user runs an application that does not have bedload, creates a restart file. 34 Then user activates bedload and recompiles and runs. This will result in an error because get_state is looking for bedload vars. 35 Suggested fix: 36 modify checkvers.F lines ~180-181 from 35 2) Bedload: If a user runs an application that does not have '''BEDLOAD''', creates a restart file. 36 Then user activates '''BEDLOAD''' and recompiles and runs. This will result in an error because get_state is looking for bedload variables 37 38 Suggested fix: Modify '''checkvars.F''' lines ~180-181 from 39 40 {{{ 37 41 get_var(idUbld(itrc))=.TRUE. 38 42 get_var(idVbld(itrc))=.TRUE. 39 43 }}} 40 44 to 41 45 {{{ 42 46 get_var(idUbld(itrc))=.FALSE. 43 47 get_var(idVbld(itrc))=.FALSE. 48 }}} 44 49 45 50 This will prevent get_state to look for these vars. They are not currently used from the restart.