Closed KMarkert closed 2 years ago
Closing as this was a user error. I tested running the model using the Findley Lake example data and model completed successfully.
Turns out that if the a grid cell defined as a lake runs out of water (lake depth = 0), it will provide the Segmentation fault
error.
does this mean that vic cannot represent lakes that dry up? I am running the model with the classic driver, which allows me to see the results of the cells in which the model is executed for all times, as well as the cell in which the simulation is cut until the last available time. I was able to notice that the segmentation error occurred in the first cell in which basin_depth and depth_in (basin_depth*0.98) were less than 0.6 m, when channel_in = 0 (for all times), resulting in increased lake temperature, increased latent and sensible heat, decrease of the depth and area lake and finally the drying of the cell.
Overview
I am attempting to run VIC using the image driver and simulate lakes/wetlands. When executing the model, it is initialized and begins running the time steps, however, the model then crashes with a Segmentation fault. Since the model gets to running the timesteps it makes me believe the parameters are formatted correctly and the
CHANNEL_IN
forcings is defined (however still not completely sure about the formatting for the parameters). The model runs fine when not using lake/wetland model.Model output with error
VIC version
Compiler info
I am using the image driver so I believe the compiler is
mpicc
but includinggcc
info just in case.OS info
Lake parameters in global config
I am happy to share any additional information to help debug the error. Thanks!