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
Add interface linear solvers #204
Conversation
@ktbolt, it looks like your branch is behind and can't be updated automatically. You'll have to update your main and |
@mrp089 Ugh, of course, I should have merged before changing all of this XML files. |
There's a build error:
|
It turns out that the Trilinos interface The use of global variables will limit the usability of the Trilinos interface, can only use it in one equation. |
Seg faults now in all tests:
|
Thanks @ktbolt! In this PR, I think we should not only update the currently available, mostly fsils-related test cases with the new linear solver interface, but also make sure that both PETSc (with the newly supported preconditioners) and Trilinos match the same reference solutions by adding some additional tests. This would also increase code coverage and account for the new features in this PR. As @mrp089 suggested in #30, this can be done by building PETSc/Trilinos (or the relevant sub-parts) on the testing machines, or by using Docker images. |
@MatteoSalvador, as we expected, some results are different now. However, I noticed that these are only @MatteoSalvador, can you do the same setup as in #175? You can use the testing README as guidance (then we also see if that makes sense). Then @ktbolt can merge that into this branch and the tests should pass. Thank you!! |
@ktbolt, there are a couple of tests that fail with
|
@ktbolt, I agree with @MatteoSalvador. It looks like the Trilinos and PETSc interfaces are untested ( |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #204 +/- ##
==========================================
- Coverage 62.24% 62.11% -0.14%
==========================================
Files 103 109 +6
Lines 26964 27171 +207
==========================================
+ Hits 16785 16877 +92
- Misses 10179 10294 +115 ☔ View full report in Codecov by Sentry. |
@mrp089 I checked and all However, I see that there are still some conflicts for |
@MatteoSalvador What do you mean when you say that there are some conflicts for consts.h, eq_assem.cpp and ls.cpp? Do you mean there are merging conflicts? |
Yes, exactly, they should be all related to Aaron's PR, which has been approved yesterday. |
@ktbolt, can you please add building PETSc and Trilinos to GitHub Actions and switch some test cases to use PETSc or Trilinos? That's the only way we will cover |
@mrp089 I no longer have time allocated to work on svFSIplus, once I fix the current bug I'm working on then that's it. |
Current situation
This PR contains the new interface to numerical linear algebra packages (e.g. PETSc). See #30.
It also includes updates to the tests/cases XML files to include a
Linear_algebra
section.Release Notes
Solver input parameter XML files now require a
Linear_algebra
section.