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

Reservoir coupling: Implement time stepping #5620

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

Conversation

hakonhagland
Copy link
Contributor

Builds on #5521 which should be merged first.

Also refactors the original adaptive time stepping method.

@bska
Copy link
Member

bska commented Sep 19, 2024

Builds on #5521 which should be merged first.

Okay, in that case I'm going to mark this as "work in progress/draft" to avoid inadvertent merging.

@bska bska marked this pull request as draft September 19, 2024 17:52
@hakonhagland
Copy link
Contributor Author

I'm going to mark this as "work in progress/draft" to avoid inadvertent merging.

@bska Thanks. I was actually planning to get this merged, since it is becoming difficult to handle all the dependent PRs and keep them up to date. Is this a good idea, or should I wait until the complete reservoir coupling feature is ready?

@atgeirr
Copy link
Member

atgeirr commented Sep 23, 2024

Is this a good idea, or should I wait until the complete reservoir coupling feature is ready?

It is a very good idea. Do not wait for the complete feature, unless you expect significant changes to the parts you already did. This patch has grown to become quite large, so finishing and polishing the first PRs in the series so they can be merged should be a high priority.

@hakonhagland
Copy link
Contributor Author

hakonhagland commented Sep 24, 2024

It is a very good idea.

@atgeirr Ok I agree. I have removed the draft state on #5436 as it is the first in the dependency chain and we should try to merge that one first.

Do not specify slave program name twice when launching slave process
Open MPI does not support output redirection for spawned child
processes.
Copy command line parameters from master to slave command line. Also
replace data file name in master argv with data file name of the slave.
Remove debug code that was introduced by mistake in the previous commit
Create one log file for each slave subprocess. Redirect both
stdout and stderr to this file
Exclude the reservoir coupling stuff if MPI is not enabled
Implement adaptive time stepping for master and slave procesess
when using reservoir coupling. The original adaptive time stepping method
is refactored at the same time.
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.

3 participants