Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2016-10-21 Thread Dave May
On 21 October 2016 at 18:55, Eric Chamberland < eric.chamberl...@giref.ulaval.ca> wrote: > Hi, > > I am on a new issue with a message: > [1]PETSC ERROR: - Error Message > -- > [1]PETSC ERROR: Argument out of range > [1

Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2016-10-21 Thread Eric Chamberland
Hi, I am on a new issue with a message: [1]PETSC ERROR: - Error Message -- [1]PETSC ERROR: Argument out of range [1]PETSC ERROR: New nonzero at (374328,1227) caused a malloc Use MatSetOption(A, MAT_NEW_NONZERO_ALLOC

Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2015-03-27 Thread Eric Chamberland
On 03/26/2015 09:52 PM, Barry Smith wrote: Eric, I have now updated all the standard MPI matrix types AIJ, BAIJ, SBAIJ to print the correct global indices in the error messages when a new nonzero location is generated thus making debugging this issue easier. In the branches barry/fix

Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2015-03-26 Thread Barry Smith
Eric, I have now updated all the standard MPI matrix types AIJ, BAIJ, SBAIJ to print the correct global indices in the error messages when a new nonzero location is generated thus making debugging this issue easier. In the branches barry/fix-inserting-new-nonzero-column-location, next and

Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2015-03-25 Thread Barry Smith
Eric, This is a good idea. I've fixed it for MatSetValues, MatSetValuesLocal, and MatSetValuesStencil, for AIJ,BAIJ, and SBAIJ matrices in the branch barry/fix-inserting-new-nonzero-column-location. Fixing for the MatSetValuesBlocked family of methods for BAIJ and SBAIJ is tricky s

Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2015-03-25 Thread Eric Chamberland
On 03/25/2015 02:06 PM, Matthew Knepley wrote: On Wed, Mar 25, 2015 at 1:03 PM, Eric Chamberland mailto:eric.chamberl...@giref.ulaval.ca>> wrote: Hi, while looking for where in the world do I insert the (135,9) entry in my matrix, I have discovered that the column # shown is wrong i

Re: [petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2015-03-25 Thread Matthew Knepley
On Wed, Mar 25, 2015 at 1:03 PM, Eric Chamberland < eric.chamberl...@giref.ulaval.ca> wrote: > Hi, > > while looking for where in the world do I insert the (135,9) entry in my > matrix, I have discovered that the column # shown is wrong in parallel! > We have talked about this before. It is certa

[petsc-users] Column #j is wrong in parallel from message "Inserting a new nonzero (i, j) into matrix"

2015-03-25 Thread Eric Chamberland
Hi, while looking for where in the world do I insert the (135,9) entry in my matrix, I have discovered that the column # shown is wrong in parallel! I am using PETsc 3.5.3. The full error message is: [0]PETSC ERROR: MatSetValues_MPIAIJ() line 564 in /home/mefpp_ericc/petsc-3.5.3/src/mat/imp