parthenon-hpc-lab/parthenon

Restart with new history output

pgrete opened this issue · 1 comments

When running the advection example with the older input file (that's missing the block for the new history output), I get a crash on restart

cycle=224 time=3.9375000000000154e-01 dt=1.7578125000000000e-03 zone-cycles/wsec_step=4.47e+06 wsec_total=2.44e+00 wsec_step=5.98e-02 zone-cycles/wsec=4.47e+06 wsec_AMR=1.53e-05
cycle=225 time=3.9550781250000155e-01 dt=1.7578125000000000e-03 zone-cycles/wsec_step=4.39e+06 wsec_total=2.50e+00 wsec_step=6.09e-02 zone-cycles/wsec=4.39e+06 wsec_AMR=1.49e-05
cycle=226 time=3.9726562500000157e-01 dt=1.7578125000000000e-03 zone-cycles/wsec_step=4.42e+06 wsec_total=2.56e+00 wsec_step=6.05e-02 zone-cycles/wsec=4.42e+06 wsec_AMR=1.55e-05

cycle=227 time=3.9902343750000158e-01 dt=1.7578125000000000e-03 zone-cycles/wsec_step=4.46e+06 wsec_total=2.62e+00 wsec_step=5.99e-02 zone-cycles/wsec=4.46e+06 wsec_AMR=1.49e-05
### PARTHENON ERROR
  Message:     History output for package "" requested but package is not available!

  File:        /home/pgrete/src/parthenon/src/outputs/history.cpp
  Line number: 77
History output for package "" requested but package is not available!

Backtrace:
                  [0x5f929523da85]
                  [0x5f9295235caa]
                  [0x5f9295235cdb]
                  [0x5f92950c27a0]
                  [0x5f92951f4351]
                  [0x5f92950e4e28]
                  [0x5f9295049011]
                  [0x5f9294f585e6]
                  [0x7e2c2da43cd0]
__libc_start_main [0x7e2c2da43d8a]
                  [0x5f9294f5b5f5]
[haerke:212372] *** Process received signal ***
[haerke:212372] Signal: Aborted (6)
[haerke:212372] Signal code:  (-6)
[haerke:212372] [ 0] /usr/lib/libc.so.6(+0x3c770)[0x7e2c2da5a770]
[haerke:212372] [ 1] /usr/lib/libc.so.6(+0x8d32c)[0x7e2c2daab32c]
[haerke:212372] [ 2] /usr/lib/libc.so.6(gsignal+0x18)[0x7e2c2da5a6c8]
[haerke:212372] [ 3] /usr/lib/libc.so.6(abort+0xd7)[0x7e2c2da424b8]
[haerke:212372] [ 4] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x306ce0)[0x5f9295235ce0]
[haerke:212372] [ 5] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x1937a0)[0x5f92950c27a0]
[haerke:212372] [ 6] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x2c5351)[0x5f92951f4351]
[haerke:212372] [ 7] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x1b5e28)[0x5f92950e4e28]
[haerke:212372] [ 8] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x11a011)[0x5f9295049011]
[haerke:212372] [ 9] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x295e6)[0x5f9294f585e6]
[haerke:212372] [10] /usr/lib/libc.so.6(+0x25cd0)[0x7e2c2da43cd0]
[haerke:212372] [11] /usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7e2c2da43d8a]
[haerke:212372] [12] /home/pgrete/src/parthenon/build-develop/example/advection/advection-example(+0x2c5f5)[0x5f9294f5b5f5]
[haerke:212372] *** End of error message ***

I haven't investigated yet, just reporting that it exists.

I can reproduce -- thanks for identifying this @pgrete, I will try to fix.