Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-17 Thread Alexander Lindsay
Good to know. I may take a shot at it depending on need and time! Opened https://gitlab.com/petsc/petsc/-/issues/1362 for doing so Alex On Sun, Apr 16, 2023 at 9:27 PM Pierre Jolivet wrote: > > On 17 Apr 2023, at 1:10 AM, Alexander Lindsay > wrote: > > Are there any plans to get the missing

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-16 Thread Pierre Jolivet
> On 17 Apr 2023, at 1:10 AM, Alexander Lindsay > wrote: > > Are there any plans to get the missing hook into PETSc for AIR? Just curious > if there’s an issue I can subscribe to or anything. Not that I know of, but it would make for a nice contribution if you feel like creating a PR.

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-16 Thread Alexander Lindsay
Are there any plans to get the missing hook into PETSc for AIR? Just curious if there’s an issue I can subscribe to or anything. (Independently I’m excited to test HPDDM out tomorrow) > On Apr 13, 2023, at 10:29 PM, Pierre Jolivet wrote: > >  >> On 14 Apr 2023, at 7:02 AM, Alexander Lindsay

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Pierre Jolivet
> On 14 Apr 2023, at 7:02 AM, Alexander Lindsay > wrote: > > Pierre, > > This is very helpful information. Thank you. Yes I would appreciate those > command line options if you’re willing to share! No problem, I’ll get in touch with you in private first, because it may require some extra

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Alexander Lindsay
Pierre, This is very helpful information. Thank you. Yes I would appreciate those command line options if you’re willing to share! > On Apr 13, 2023, at 9:54 PM, Pierre Jolivet wrote: > >  > >>> On 13 Apr 2023, at 10:33 PM, Alexander Lindsay >>> wrote: >>> >>> Hi, I'm trying to solve

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Pierre Jolivet
> On 13 Apr 2023, at 10:33 PM, Alexander Lindsay > wrote: > > Hi, I'm trying to solve steady Navier-Stokes for different Reynolds numbers. > My options table > > -dm_moose_fieldsplit_names u,p > -dm_moose_nfieldsplits 2 > -fieldsplit_p_dm_moose_vars pressure > -fieldsplit_p_ksp_type preonly

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Alexander Lindsay
OpenMP is definitely linked in and appears in the stacktrace but I haven’t asked for any threads (to my knowledge).On Apr 13, 2023, at 7:03 PM, Mark Adams wrote:Are you using OpenMP? ("OMP").If so try without it.On Thu, Apr 13, 2023 at 5:07 PM Alexander Lindsay

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Mark Adams
Are you using OpenMP? ("OMP"). If so try without it. On Thu, Apr 13, 2023 at 5:07 PM Alexander Lindsay wrote: > Here's the result. > > 0 KSP unpreconditioned resid norm 1.033076851740e+03 true resid norm > 1.033076851740e+03 ||r(i)||/||b|| 1.e+00 > Residual norms for

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Matthew Knepley
On Thu, Apr 13, 2023 at 5:07 PM Alexander Lindsay wrote: > Here's the result. > > 0 KSP unpreconditioned resid norm 1.033076851740e+03 true resid norm > 1.033076851740e+03 ||r(i)||/||b|| 1.e+00 > Residual norms for fieldsplit_u_ solve. > 0 KSP Residual norm

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Alexander Lindsay
Here's the result. 0 KSP unpreconditioned resid norm 1.033076851740e+03 true resid norm 1.033076851740e+03 ||r(i)||/||b|| 1.e+00 Residual norms for fieldsplit_u_ solve. 0 KSP Residual norm -nan Residual norms for fieldsplit_p_ solve. 0 KSP

Re: [petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Barry Smith
It would be useful to see the convergences inside the linear solve so perhaps start with -ksp_monitor_true_residual -fieldsplit_u_ksp_type richardson(this is to allow the monitor below to work) -fieldsplit_u_ksp_max_its 1 -fieldsplit_u_ksp_monitor Perhaps others,

[petsc-users] Using nonzero -pc_hypre_boomeramg_restriction_type in field split

2023-04-13 Thread Alexander Lindsay
Hi, I'm trying to solve steady Navier-Stokes for different Reynolds numbers. My options table -dm_moose_fieldsplit_names u,p -dm_moose_nfieldsplits 2 -fieldsplit_p_dm_moose_vars pressure -fieldsplit_p_ksp_type preonly -fieldsplit_p_pc_type jacobi -fieldsplit_u_dm_moose_vars vel_x,vel_y