Skip to content

dont call beginTimeStep when restarting simulation after failing #6120

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

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

totto82
Copy link
Member

@totto82 totto82 commented Mar 28, 2025

We do not want to redo the well testing, the pre-solving of wells, gas-lift optimization, network balancing, etc, after failed simulations

For now, this PR adds an if around the outer beginTimeStep. We may need a more fine-grained approach. However, initial testing on selected models is promising.

@totto82
Copy link
Member Author

totto82 commented Mar 28, 2025

jenkins build this please

@totto82
Copy link
Member Author

totto82 commented Mar 31, 2025

jenkins build this failure_report please

1 similar comment
@totto82
Copy link
Member Author

totto82 commented Mar 31, 2025

jenkins build this failure_report please

@totto82
Copy link
Member Author

totto82 commented Mar 31, 2025

jenkins build this failure_report please

1 similar comment
@totto82
Copy link
Member Author

totto82 commented Apr 1, 2025

jenkins build this failure_report please

@totto82
Copy link
Member Author

totto82 commented Apr 1, 2025

jenkins build this failure_report please

2 similar comments
@totto82
Copy link
Member Author

totto82 commented Apr 2, 2025

jenkins build this failure_report please

@totto82
Copy link
Member Author

totto82 commented Apr 2, 2025

jenkins build this failure_report please

@bska
Copy link
Member

bska commented Apr 2, 2025

jenkins build this failure_report please

It doesn't show up in the failure report, so just in case you didn't see it, the MSW_2D_VERT_02 test does not complete and times out (1500 seconds, 25 minutes maximum runtime). The transcript suggests that the well solution fails at some point, but someone who knows this part of the code better than I will need to analyse the underlying problem.

@GitPaean
Copy link
Member

GitPaean commented Apr 2, 2025

jenkins build this failure_report please

It doesn't show up in the failure report, so just in case you didn't see it, the MSW_2D_VERT_02 test does not complete and times out (1500 seconds, 25 minutes maximum runtime). The transcript suggests that the well solution fails at some point, but someone who knows this part of the code better than I will need to analyse the underlying problem.

It looks like MSW_2D_VERT_02 got problem at the first time step with singular matrix,

https://ci.opm-project.org/job/opm-simulators-PR-builder/7783/testReport/junit/(root)/mpi/compareECLFiles_flow_MSW_2D_VERT_02/

@totto82
Copy link
Member Author

totto82 commented Apr 2, 2025

It doesn't show up in the failure report, so just in case you didn't see it, the MSW_2D_VERT_02

Thanks for letting me know. I didn't notice this. I will investigate and report back.

@totto82
Copy link
Member Author

totto82 commented Apr 3, 2025

jenkins build this failure_report please

@totto82
Copy link
Member Author

totto82 commented Apr 3, 2025

jenkins build this failure_report please

any_closed_wells_this_step = closed_this_step;
}
w += 1;
}
Copy link
Member

Choose a reason for hiding this comment

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

Think you need to globally communicate any_closed_wells_this_step (preferably an int equivalent?) to ensure all procs do the same thing.

Copy link
Member Author

@totto82 totto82 Apr 7, 2025

Choose a reason for hiding this comment

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

Thanks for noticing. Fixed.

@totto82
Copy link
Member Author

totto82 commented Apr 7, 2025

jenkins build this failure_report please

2 similar comments
@totto82
Copy link
Member Author

totto82 commented Apr 14, 2025

jenkins build this failure_report please

@GitPaean
Copy link
Member

jenkins build this failure_report please

@GitPaean
Copy link
Member

a rebase is needed for this PR.

@totto82
Copy link
Member Author

totto82 commented Apr 24, 2025

jenkins build this failure_report please

1 similar comment
@totto82
Copy link
Member Author

totto82 commented Apr 25, 2025

jenkins build this failure_report please

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.

4 participants