If UDMP is turned on in the namelist, but channel routing is set to Diffusive Wave, the model will crash due to attempting to access unallocated routing data structures.
Expected Behavior
If a known set of incompatible namelist options is selected, the code should display a useful error and exit cleanly.
Current Behavior
The model will hang or crash with a segfault
Possible Solution
Identify the conflicting options before uninitialized memory is accessed
If UDMP is turned on in the namelist, but channel routing is set to Diffusive Wave, the model will crash due to attempting to access unallocated routing data structures.
Expected Behavior
If a known set of incompatible namelist options is selected, the code should display a useful error and exit cleanly.
Current Behavior
The model will hang or crash with a segfault
Possible Solution
Identify the conflicting options before uninitialized memory is accessed
Steps to Reproduce (for bugs)
Set
UDMP_OPT = 1
andchannel_option
= 3