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

CarpetX: Reduce termination condition #316

Merged
merged 1 commit into from
Nov 4, 2024
Merged

CarpetX: Reduce termination condition #316

merged 1 commit into from
Nov 4, 2024

Conversation

eschnett
Copy link
Collaborator

@eschnett eschnett commented Nov 4, 2024

Reduce the final termination condition, not just the run time. This guarantees that all processes will terminate at the same iteration.

Reduce the final termination condition, not just the run time. This guarantees that all processes will terminate at the same iteration.
@eschnett eschnett requested a review from rhaas80 November 4, 2024 17:39
else if (CCTK_Equals(terminate, "both"))
we_are_done = max_iteration_reached && max_simulation_time_reached;
else
CCTK_ERROR("internal error");
Copy link
Member

Choose a reason for hiding this comment

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

output unexpected value of "terminate"?

@rhaas80 rhaas80 merged commit 26d4d11 into main Nov 4, 2024
8 checks passed
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.

2 participants