equinor / ert

ERT - Ensemble based Reservoir Tool - is designed for running ensembles of dynamical models such as reservoir models, in order to do sensitivity analysis and data assimilation. ERT supports data assimilation using the Ensemble Smoother (ES), Ensemble Smoother with Multiple Data Assimilation (ES-MDA) and Iterative Ensemble Smoother (IES).
https://ert.readthedocs.io/en/latest/
GNU General Public License v3.0
103 stars 107 forks source link

Running time is negative on "Restart" #8171

Closed berland closed 4 months ago

berland commented 4 months ago

Describe the bug If you run an ensemble experiment that fails and then click the "Restart" button, the "Running time" in the lower left becomes negative.

image

To reproduce Steps to reproduce the behaviour:

  1. Modify poly_eval.py to crash (e.g add 1/0 wherever)
  2. ert gui my_config.ert
  3. Run ensemble experiment
  4. Wait until it fails, and then click "Restart"
  5. Watch the "Running time: xxx seconds". It will be temporarily negative, but will get correct again when the restarted (and still failing) experiment is done.

Expected behaviour Never show negative numbers.

Environment

berland commented 4 months ago

It seems the "Running time" is actually not working at all for the restart. On the first run it increases every second, while in the restarted experiment it is not updated until the experiment is finished.