-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash when writing basin output #56
Comments
@mee067 provided sample setup |
any progress on this issue? It is holding me from trying any new stuff. Compiling works but running hits the issue so often. |
somehow this seems to be related to resuming. runs starting with RESUMEFLAG 0 worked fine, runs starting with RESUMEFLAG 6 gave the above issue. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@mee067 I can't replicate the behavior with the sample provided. I changed the simulation start to 1951/001 based on the start date of the files and find it runs normally with Can you provide me a fully-contained example where I shouldn't need to modify anything? |
Setup and code sent by email. I see tgz is an accepted format but it still said "we won't support that file type". 12 MB is possibly too large for Github. |
One of the changes by MESH-Model/MESH_Code@52c7367 "LongSimFix" was to revise the use of When originally implemented, a temporary fix for observed variables arbitrarily allocated these arrays to Changes by @mee067 to address this removed the allocation of these variables from Adding the same condition, !> Set fhr to 1 (the counting of incremental hours in the routing simulation is not used like it is in standalone WATROUTE).
fhr = 1 Further, additional modifications were made when resuming from the real(kind = 4), dimension(:, :), allocatable :: lake_elv_temp
...
if (fms%rsvr%n > 0) then
allocate(lake_elv_temp(noresv, fhr))
read(iun) lake_elv_temp(:, fhr)
lake_elv(:, 1) = lake_elv_temp(:, fhr)
else
read(iun)
end if
...
!> Set fhr to 1 (the counting of incremental hours in the routing simulation is not used like it is in standalone WATROUTE).
fhr = 1 |
These changes are incorporated in dprincz/MESH-Dev@5fc2d3b. |
Code compiled earlier - maybe a month or two ago did work. Re-compiled the same code (using intel 2018 and 2021), and I am getting strange crashes (Segmentation Fault). I recompiled with symbols on but only intel 2021 gives some clue, the 2018 compilation gave no info on where's the issue. This is the dump of the error:
This is a gridded setup. I first thought it has something to do with the LongSimFix but it does not. Line 946 of save_basin_output.f90 reads:
I did a bit of debugging and found that the rank of the third gauge went crazy to be 1112486707, while the basin only has 3448 active gridcells.
Any ideas?
The text was updated successfully, but these errors were encountered: