Re: [petsc-users] MatSetValues timing

2016-02-08 Thread Dave May
On 8 February 2016 at 12:31, Jacek Miloszewski wrote: > Dear PETSc users, > > I use PETSc to assembly a square matrix (in the attached example it is n = > 4356) which has around 12% of non-zero entries. I timed my code using > various number of process (data in table). Now I have 2 questions: > >

Re: [petsc-users] MatSetValues timing

2016-02-08 Thread Matthew Knepley
On Mon, Feb 8, 2016 at 5:37 AM, Dave May wrote: > > > On 8 February 2016 at 12:31, Jacek Miloszewski < > jacek.miloszew...@gmail.com> wrote: > >> Dear PETSc users, >> >> I use PETSc to assembly a square matrix (in the attached example it is n >> = 4356) which has around 12% of non-zero entries. I

Re: [petsc-users] MatSetValues timing

2016-02-08 Thread Dave May
On 8 February 2016 at 12:31, Jacek Miloszewski wrote: > Dear PETSc users, > > I use PETSc to assembly a square matrix (in the attached example it is n = > 4356) which has around 12% of non-zero entries. I timed my code using > various number of process (data in table). Now I have 2 questions: > >

[petsc-users] MatSetValues timing

2016-02-08 Thread Jacek Miloszewski
Dear PETSc users, I use PETSc to assembly a square matrix (in the attached example it is n = 4356) which has around 12% of non-zero entries. I timed my code using various number of process (data in table). Now I have 2 questions: 1. Why with doubling number of processes the speed-up is 4x? I woul