Re: [petsc-users] PETSc using problem

2025-05-11 Thread Matthew Knepley
On Sun, May 11, 2025 at 4:00 PM Barry Smith wrote: > >I suppose we could call the postcheck even on failure. Then your first > check in your postcheck would be on SNESLineSearchReason. What line search > are you using? You could add the postcheck to all the early > PetscFunctionReturns() in t

Re: [petsc-users] PETSc using problem

2025-05-11 Thread Barry Smith
I suppose we could call the postcheck even on failure. Then your first check in your postcheck would be on SNESLineSearchReason. What line search are you using? You could add the postcheck to all the early PetscFunctionReturns() in the line search routine. > On May 11, 2025, at 11:50 AM, Ma

Re: [petsc-users] Solving Stokes problem in high aspect ratio domains

2025-05-11 Thread Pierre Jolivet
Do you want to refine the geometry or are you fine with the current one? What kind of hardware are you planning on using (GPU, single-node…)? Do you have a configuration for which LSC fails or does not give you good-enough performance? Thanks, Pierre > On 9 May 2025, at 9:08 PM, Mark Adams wrot

Re: [petsc-users] PETSc using problem

2025-05-11 Thread Matthew Knepley
On Sun, May 11, 2025 at 11:39 AM hj2000--- via petsc-users < petsc-users@mcs.anl.gov> wrote: > Dear Developer: > >I am a user of PETSc, and I am using SNESLineSearchSetPostCheck to > perform some actions when the line search fails. > > However, it seems that this function is only called when t

[petsc-users] PETSc using problem

2025-05-11 Thread hj2000--- via petsc-users
Dear Developer: I am a user of PETSc, and I am using SNESLineSearchSetPostCheck to perform some actions when the line search fails. However, it seems that this function is only called when the line search is successful. Why is that? Do I need to do something else? My PETSc version is 3.18

Re: [petsc-users] dyld[19098]: Library not loaded: @rpath/libHYPRE-2.32.0.dylib

2025-05-11 Thread Matthew Knepley
On Sat, May 10, 2025 at 11:42 PM Juan Salazar via petsc-users < petsc-users@mcs.anl.gov> wrote: > Dear David, > > This indeed looks like the culprit! I verified that the > libHYPRE-2.32.0.dylib had many duplicate LC_RPATH instances. Upon removing > them, the executable (src/snes/tutorials/ex19) co