-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ginkgo OMP problem #332
Comments
Related branch: |
Can you do a test without the preconditioner ? It was not clear it was helpful and it could help determining whether the problem comes from the solver or the preconditioner. |
You are right it is the preconditionner. Using |
Could we consider switching to the GMRES solver in the meantime ? |
Yann and me observed numerical issues in Gysela with OMP, even with OMP_NUM_THREADS=1.
#319 imputes the issue to Ginkgo with OMP executor.
I reproduce the issue by replacing:
std::size_t constexpr ncells = 100;
with:
std::size_t constexpr ncells = 32;
in
tests/splines/non_periodic_spline_builder.cpp
(Note: there is no problem with
ncells = 10
too, which is the setup for the batched tests.)Then the
splines_tests_DEGREE_X_3_BSPLINES_TYPE_UNIFORM_EVALUATOR_POLYNOMIAL_
tests will fail with error sometimes> 1e-10
.Doing the same in the #319 branch leads to all tests passing, with error usually around
1e-16
.The text was updated successfully, but these errors were encountered: