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

Workaround ginkgo omp problem (use Gmres) #377

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

blegouix
Copy link
Collaborator

@blegouix blegouix commented Apr 2, 2024

Following ginkgo-project/ginkgo#1563 (comment)

Using Gmres avoid the problem. Stopping criteria needed to be relaxed to make all tests pass (2D splines were slightly failing which means 1e-19 leads to some kind of non-convergency. It is also in accord with recommandation here: ginkgo-project/ginkgo#1563 (comment))

OMP preconditionner parameter (Jacobi-block-size) is set to 1 again because of Ginkgo recommandation, and because we do not observe huge performance improvement on splines with preconditionner (~18% at most in old benchmarks).

BiCGStab should be recovered once the problem has been fixed from Ginkgo side.

It solves all problems we had due to this issue (in Gysela or DDC)

@blegouix blegouix requested a review from tpadioleau April 2, 2024 09:16
@blegouix blegouix mentioned this pull request Apr 2, 2024
@tpadioleau
Copy link
Member

That is cool, do you know if it is also enough to solve issues we encountered on the Gysela side ?

@tpadioleau tpadioleau linked an issue Apr 2, 2024 that may be closed by this pull request
@blegouix
Copy link
Collaborator Author

blegouix commented Apr 2, 2024

Yes I checked it, it is

@blegouix blegouix merged commit 3531497 into main Apr 2, 2024
42 checks passed
@blegouix blegouix deleted the workaround-ginkgo-omp branch April 2, 2024 10:58
This pull request was closed.
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.

Ginkgo OMP problem
2 participants