Skip to content
Snippets Groups Projects

playground executable for experimenting with solvers and preconditioners

Merged Nils-Arne Dreier requested to merge nils.dreier/dune-istl:solve_mm into master
2 unresolved threads

This MR adds an executable istl-playground that can be easily used to try out solvers or preconditioners. It reads a matrix and a rhs from MatrixMarket files or generates it if none is given and solves the systems with a solver from the matrix factory. This works also in parallel. The matrix can either be loaded on one rank and then be distributed on the ranks using ParMetis, or can be read from a distributed MatrixMarket file. As it is probably rarly used I added the EXCLUDE_FROM_ALL tag but added it as a test to avoid bit rotting.

I used it a lot in the last time. I hope that others could also benefit from it.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
17 #include <dune/istl/matrixmarket.hh>
18
19 // include solvers and preconditioners for the solverfactory
20 #include <dune/istl/solvers.hh>
21 #include <dune/istl/preconditioners.hh>
22 #include <dune/istl/cholmod.hh>
23 #include <dune/istl/superlu.hh>
24 #include <dune/istl/umfpack.hh>
25 #include <dune/istl/ldl.hh>
26 #include <dune/istl/spqr.hh>
27 #include <dune/istl/paamg/amg.hh>
28
29
30 #include "istl-playground.hh"
31
32 using VectorFieldType = double;
  • closed

  • @oliver.sander why did you close the MR. @nils.dreier should update according to the feedback, but I don't see a reason to close the MR.

  • reopened

  • Nils-Arne Dreier added 2 commits

    added 2 commits

    • 96c9d094 - move istl-playground to src
    • 39825664 - rename istl-playground to istl-solver-playground

    Compare with previous version

  • added 1 commit

    • ceb7ac0f - change folder name bin -> src in CMakeLists.txt

    Compare with previous version

  • Did I close it? That was not my intention---I must have hit a wrong button. My apologies.

  • mentioned in commit 9dae4be7

  • Please register or sign in to reply
    Loading