Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-27 Thread Matthew Knepley
> Marcos > -- > *From:* Matthew Knepley > *Sent:* Tuesday, June 27, 2023 2:08 PM > *To:* Vanella, Marcos (Fed) > *Cc:* Mark Adams ; petsc-users@mcs.anl.gov < > petsc-users@mcs.anl.gov> > *Subject:* Re: [petsc-users] SOLVE + PC combin

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-27 Thread Vanella, Marcos (Fed) via petsc-users
To: Matthew Knepley Cc: Mark Adams ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution Thank you Matt. I'll try the flags you recommend for monitoring. Correct, I'm trying to see if GPU would provide an advantage

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-27 Thread Vanella, Marcos (Fed) via petsc-users
Marcos (Fed) mailto:marcos.vane...@nist.gov>> Cc: Mark Adams mailto:mfad...@lbl.gov>>; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> mailto:petsc-users@mcs.anl.gov>> Subject: Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution On M

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-27 Thread Matthew Knepley
Cc:* Mark Adams ; petsc-users@mcs.anl.gov < > petsc-users@mcs.anl.gov> > *Subject:* Re: [petsc-users] SOLVE + PC combination for 7 point stencil > (unstructured) poisson solution > > On Mon, Jun 26, 2023 at 12:08 PM Vanella, Marcos (Fed) via petsc-users < > petsc-users@mcs

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-27 Thread Vanella, Marcos (Fed) via petsc-users
help! Marcos From: Matthew Knepley Sent: Monday, June 26, 2023 12:11 PM To: Vanella, Marcos (Fed) Cc: Mark Adams ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution On Mon, Jun 26, 2023

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-26 Thread Matthew Knepley
That is what I did with suitesparse, very nice. > -- > *From:* Mark Adams > *Sent:* Monday, June 26, 2023 12:05 PM > *To:* Vanella, Marcos (Fed) > *Cc:* petsc-users@mcs.anl.gov > *Subject:* Re: [petsc-users] SOLVE + PC combination for 7 point stencil >

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-26 Thread Vanella, Marcos (Fed) via petsc-users
: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution I'm not sure what MG is doing with an "unstructured" problem. I assume you are not using DMDA. -pc_type gamg should work I would configure with hypre and try

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-26 Thread Mark Adams
I'm not sure what MG is doing with an "unstructured" problem. I assume you are not using DMDA. -pc_type gamg should work I would configure with hypre and try that also: -pc_type hypre As Matt said MG should be faster. How many iterations was it taking? Try a 100^3 and check that the iteration

Re: [petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-26 Thread Matthew Knepley
On Mon, Jun 26, 2023 at 11:34 AM Vanella, Marcos (Fed) via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hi, I was wondering if anyone has experience on what combinations are more > efficient to solve a Poisson problem derived from a 7 point stencil on a > single mesh (serial). > I've been

[petsc-users] SOLVE + PC combination for 7 point stencil (unstructured) poisson solution

2023-06-26 Thread Vanella, Marcos (Fed) via petsc-users
Hi, I was wondering if anyone has experience on what combinations are more efficient to solve a Poisson problem derived from a 7 point stencil on a single mesh (serial). I've been doing some tests of multigrid and cholesky on a 50^3 mesh. -pc_type mg takes about 75% more time than -pc_type