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

ecl_run not able to parse errors from MPI runs #9237

Open berland opened 2 hours ago

berland commented 2 hours ago

The pattern for detecting error messages from the Eclipse output

https://github.com/equinor/ert/blob/cc33a48341d019c88b1b5e414e99b85317f762ca/src/ert/resources/forward_models/res/script/ecl_run.py#L50

will not catch errors when Eclipse uses multiple CPUs which can look like this:

@--  ERROR FROM PROCESSOR 1 AT TIME        0.0   DAYS    (21-DEC-2002):
@           LICENSE FAILURE: ERROR NUMBER IS -4
berland commented 2 hours ago

Due to this bug, the message:

Warning, mismatch between stated Error count (1) and number of ERROR messages found in PRT (0). is logged (and it also logs the tail of the PRT file)