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
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
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
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
Perhaps --with-64-bit-indices=1 would help this use case?
if using latest petsc version - the following build might work:
--with-cc=win32fe_cl --with-cxx=win32fe_cl --with-64-bit-indices=1
--download-metis --download-parmetis
Satish
On Fri, 27 Dec 2024, Matthew Knepley wrote:
> On Fri, D
On Fri, Dec 27, 2024 at 2:57 AM jun hu via petsc-users <
petsc-users@mcs.anl.gov> wrote:
> Dear Developer:
>
>I am a PETSc user and I have the following error when calculating 1
> million grids using PETSc in my windows computer. It came up after
> calculating it for a while,
>
This is an out-
Dear Developer:
I am a PETSc user and I have the following error when calculating 1 million
grids using PETSc in my windows computer. It came up after calculating it for a
while,
and before it could calculate many time steps.I wanted to know what caused it.
The following is the error messag