[petsc-users] Rectangular matrices turned into square?

Barry Smith bsmith at mcs.anl.gov
Wed Jul 12 14:48:37 CDT 2017


  Adam,

    Please send the output from KSP view. We don't "change" the matrix but we might have some intermediate matrix of that other side, or it could be a bug in our output.

   Barry

> On Jul 12, 2017, at 2:45 PM, Adam Denchfield <adenchfi at hawk.iit.edu> wrote:
> 
> Hi,
> 
> I'm using the FEniCS package, which uses DOLFIN/petsc4py (and thus petsc). If I'm understanding the libraries right, I'm assembling rectangular matrices and sending them to be solved in a KrylovSolver. However, with -ksp_view, I'm seeing 2112x2112 matrices, not 1062x2112 matrices. Does PETSc do conversions like this automatically during preconditioning or something? Trying to identify if this would be a behaviour on PETSc's part. 
> 
> Regards,
> Adam Denchfield
> Peer Career Coach - Career Services
> Illinois Institute of Technology
> Bachelors of Science in Applied Physics (2018)
> Email: adenchfi at hawk.iit.edu
> My LinkedIn My ResearchGate Profile



More information about the petsc-users mailing list