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

Fix read checkpoint for the matrix-free application #1007

Merged
merged 7 commits into from
Jan 29, 2024
Merged

Conversation

lpsaavedra
Copy link
Collaborator

Description of the problem

The restart option was not working in parallel for the matrix-free application.

Description of the solution

Use locally relevant vectors for the present and previous solutions regardless of the type of vector. In addition, use a locally relevant vector for mesh refinement (in the init_temporary_vector() call).

How Has This Been Tested?

  • All existing tests pass.
  • A new test tgv_restart_bdf1 is added to the MF application in serial and in parallel to verify restart feature.

@lpsaavedra lpsaavedra added the Bug Something isn't working label Jan 29, 2024
@blaisb
Copy link
Contributor

blaisb commented Jan 29, 2024

Sorry about that, I should have caught that error before merging the other PR.
Thanks for adding a test.

@blaisb blaisb merged commit def88b4 into master Jan 29, 2024
7 of 8 checks passed
@blaisb blaisb deleted the fix_mf_restart branch January 29, 2024 15:31
blaisb pushed a commit that referenced this pull request Jan 30, 2024
Description of the problem
Eight tests were failing in debug mode due to the different behavior of the interpolate function of the solution transfer for different types of vectors.

Description of the solution
Revert change made in #1007 for the init_temporary_vector() function.
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
Description of the problem
The restart option was not working in parallel for the matrix-free application.

Description of the solution
Use locally relevant vectors for the present and previous solutions regardless of the type of vector. In addition, use a locally relevant vector for mesh refinement (in the init_temporary_vector() call).

How Has This Been Tested?
 All existing tests pass.
 A new test tgv_restart_bdf1 is added to the MF application in serial and in parallel to verify restart feature.

Former-commit-id: def88b4
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
Description of the problem
Eight tests were failing in debug mode due to the different behavior of the interpolate function of the solution transfer for different types of vectors.

Description of the solution
Revert change made in chaos-polymtl#1007 for the init_temporary_vector() function.

Former-commit-id: 7518c97
blaisb pushed a commit that referenced this pull request Sep 30, 2024
Description of the problem
The restart option was not working in parallel for the matrix-free application.

Description of the solution
Use locally relevant vectors for the present and previous solutions regardless of the type of vector. In addition, use a locally relevant vector for mesh refinement (in the init_temporary_vector() call).

How Has This Been Tested?
 All existing tests pass.
 A new test tgv_restart_bdf1 is added to the MF application in serial and in parallel to verify restart feature.

Former-commit-id: def88b4
blaisb pushed a commit that referenced this pull request Sep 30, 2024
Description of the problem
Eight tests were failing in debug mode due to the different behavior of the interpolate function of the solution transfer for different types of vectors.

Description of the solution
Revert change made in #1007 for the init_temporary_vector() function.

Former-commit-id: 7518c97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Reviewed and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants