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
101 stars 104 forks source link

Move queue global variables out of job_queue module #8246

Closed xjules closed 3 months ago

xjules commented 3 months ago

In scheduler we still rely on some job_queue globals:

from ert.job_queue.queue import (
    CLOSE_PUBLISHER_SENTINEL,
    EVTYPE_ENSEMBLE_CANCELLED,
    EVTYPE_ENSEMBLE_STOPPED,
)

those should be moved to a either standalone file within the scheduler module and directly into scheduler.py

xjules commented 3 months ago

Relates to https://github.com/equinor/ert/issues/8246