Hello, I am using petsc4py, and attempting to zero rows of an mpiaij matrix (and set the diagonal to 1). I loop over the owned row indices to identify the rows I want to zero, then attempt to call zeroRows() with the list of owned indices. When I run in parallel (mpirun --np 2) I get petsc4py error 63, 'input argument out of range'. I have tried to adjust several matrix options but nothing has worked. Is this a valid method for trying to zero rows? Thanks, Jennifer
- [petsc-users] Input argument out of range with MatZer... Jennifer Ellen Fromm
- Re: [petsc-users] Input argument out of range wi... Barry Smith
- Re: [petsc-users] Input argument out of rang... Jennifer Ellen Fromm
- Re: [petsc-users] Input argument out of ... Matthew Knepley
