Re: [petsc-users] Slow MatAssemblyBegin MAT_FINAL_ASSEMBLY

2015-12-17 Thread Dave May
On 17 December 2015 at 08:06, Jose A. Abell M. wrote: > Hello dear PETSc users, > > This is a problem that pops up often, from what I see, in the mailing > list. My program takes a long time assembling the matrix. > > What I know: > > >- Matrix Size is (MatMPIAIJ)

Re: [petsc-users] Slow MatAssemblyBegin MAT_FINAL_ASSEMBLY

2015-12-17 Thread Jose A. Abell M.
Thank you Dave! Do you have a rough idea of how long a matrix like that should take to assemble? Not hours. Right? Regards, Jose -- José Abell *PhD Candidate* Computational Geomechanics Group Dept. of Civil and Environmental Engineering UC Davis www.joseabell.com On Thu, Dec 17, 2015 at

Re: [petsc-users] Slow MatAssemblyBegin MAT_FINAL_ASSEMBLY

2015-12-17 Thread Dave May
On Thursday, 17 December 2015, Jose A. Abell M. wrote: > Thank you Dave! > > Do you have a rough idea of how long a matrix like that should take to > assemble? > Not hours. Right? > If the preallocation is correct, and most of the entries to be inserted live locally (and

Re: [petsc-users] Slow MatAssemblyBegin MAT_FINAL_ASSEMBLY

2015-12-17 Thread Jose A. Abell M.
Thank you all! I will check with a smaller example to see how my allocation is doing. -- José Abell *PhD Candidate* Computational Geomechanics Group Dept. of Civil and Environmental Engineering UC Davis www.joseabell.com On Thu, Dec 17, 2015 at 10:59 AM, Barry Smith wrote:

Re: [petsc-users] Slow MatAssemblyBegin MAT_FINAL_ASSEMBLY

2015-12-17 Thread Barry Smith
> On Dec 17, 2015, at 11:12 AM, Dave May wrote: > > > > On Thursday, 17 December 2015, Jose A. Abell M. wrote: > Thank you Dave! > > Do you have a rough idea of how long a matrix like that should take to > assemble? > Not hours. Right? > > If

[petsc-users] Slow MatAssemblyBegin MAT_FINAL_ASSEMBLY

2015-12-16 Thread Jose A. Abell M.
Hello dear PETSc users, This is a problem that pops up often, from what I see, in the mailing list. My program takes a long time assembling the matrix. What I know: - Matrix Size is (MatMPIAIJ) 2670402 - Number of processes running PETSc: 95 - Not going to virtual memory (no swapping,