Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart failed realizations #206

Merged
merged 4 commits into from
Nov 28, 2018

Conversation

ManInFez
Copy link
Contributor

@ManInFez ManInFez commented Nov 26, 2018

This is a possible direction to go.

The idea is to save the initial state of the active realization mask, and compare it to the completed realization at the end of run_simulations. Then pass back "unfinished realizations".

The problem with this solution is that the workflow can in theory do anything and create different results if only a subset of realizations are active. This can then, in turn, affect the result of running the FM.

resolves #195

@ghost ghost assigned ManInFez Nov 26, 2018
@ghost ghost added ready for review labels Nov 26, 2018
@markusdregi
Copy link
Contributor

I think it is perfectly fine to only support this for Ensemble Experiments for now and just leave the button faded for the other run types..

@ManInFez ManInFez changed the title WIP: Restart failed realizations Restart failed realizations Nov 27, 2018
@joakim-hove
Copy link
Contributor

I get dizzy trying to review the gui code; but to me this looks ready to be merged. You have actually tested it graphically?

@ManInFez
Copy link
Contributor Author

ManInFez commented Nov 27, 2018

@joakim-hove, yes, I have tested it, but not with a very complicated workflow+FM. Just the example case and the poly_example. I modified the example case to fail on certain realizations.


num_successful_realizations = self.ert().getEnkfSimulationRunner().runSimpleStep(self._job_queue, run_context)
num_successful_realizations += arguments['successful_realizations']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the successful_realizations argument is a bit ambiguous. It represents the successfull realizations from a previous round, right? Considering this block out of the Restart PR context, it could be confusing why it's necessary to add that number..

@@ -9,6 +9,7 @@ class EnsembleSmoother(BaseRunModel):

def __init__(self, queue_config):
super(EnsembleSmoother, self).__init__("Ensemble Smoother", queue_config , phase_count=2)
self.suport_restart = False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suport -> support

Copy link
Contributor

@lars-petter-hauge lars-petter-hauge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve the changes to this PR 👍

@ManInFez ManInFez merged commit 856de98 into equinor:master Nov 28, 2018
@ghost ghost removed ready for review labels Nov 28, 2018
@ManInFez ManInFez deleted the restartFailedRealizations branch April 30, 2019 07:09
markusdregi pushed a commit that referenced this pull request Jun 9, 2021
Remove unused type LARS (Least Angle Regression)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ease the process of restart failing forward models
4 participants