When I set md.smb.requested_outputs={};
, the model would run one step before giving a seg fault by PETSC.
>>md.smb.requested_outputs={};
>>md = solve(md,'tr');
...
Ice-sheet and Sea-level System Model (ISSM) version 4.23
(website: http://issm.jpl.nasa.gov forum: https://issm.ess.uci.edu/forum/)
smb semic: UpdateElements - temperature.
smb semic: UpdateElements - albedo.
smb semic: UpdateElements - Hice/Hsnow.
smb semic: UpdateElements - Tamp.
smb semic: UpdateElements - done.
call computational core:
iteration 1/94 time [yr]: 186.02 (time step: 0.02)
computing smb
call smb SEMIC module
saving temporary results
iteration 2/94 time [yr]: 186.04 (time step: 0.02)
computing smb
call smb SEMIC module
[11]PETSC ERROR: ------------------------------------------------------------------------
[11]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[11]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[11]PETSC ERROR: or see https://petsc.org/release/faq/#valgrind
[11]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple MacOS to find memory corruption errors
[11]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[11]PETSC ERROR: to get more information on the crash.
[11]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
...