Coder Social home page Coder Social logo

Comments (7)

pbrubeck avatar pbrubeck commented on August 29, 2024

Is the new default ordering introduced by #3435 still giving issues for saddle point patch submatrices? How is this different from a direct solve? Why do you need to construct such sophisticated solver on each patch?

from firedrake.

colinjcotter avatar colinjcotter commented on August 29, 2024

My patches are full column patches - we use ASMStarPC as a mixed system line smoother on extruded meshes. So I would like to reduce the system to see if it can speed up the solve.

from firedrake.

pbrubeck avatar pbrubeck commented on August 29, 2024

I think the options you have are not entirely right, you should use -pc_fieldsplit_detect_saddle_point https://petsc.org/main/manualpages/PC/PCFieldSplitSetDetectSaddlePoint/

from firedrake.

pbrubeck avatar pbrubeck commented on August 29, 2024

Elimination of one field via static condensation is equivalent to LU/Cholesky in the (u,p) ordering (which we now ensure)

from firedrake.

colinjcotter avatar colinjcotter commented on August 29, 2024

Right! That’s true. I wasn’t up to date with this ordering.

from firedrake.

pbrubeck avatar pbrubeck commented on August 29, 2024

Maybe try with cholmod/umfpack I think those should be the most performant for a medium-sized sequential matrix. -pc_type cholesky -pc_factor_mat_solver_type cholmod should use half of the memory/flops compared to LU and works for indefinite symmetric problems by doing LDLT.

from firedrake.

pbrubeck avatar pbrubeck commented on August 29, 2024

Also, for ASMStarPC one should specify pc_star_construct_dim, not codim that's only for Vanka and Linesmooth

from firedrake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.