Re: [petsc-users] EPS monitor

2017-08-16 Thread Kong, Fande
Solver details: EPS Object: 1 MPI processes type: jd search subspace is orthogonalized block size=1 type of the initial subspace: non-Krylov size of the subspace after restarting: 6 number of vectors after restarting from the previous iteration: 1 problem type: generalized

Re: [petsc-users] EPS monitor

2017-08-16 Thread Jose E. Roman
> El 16 ago 2017, a las 21:36, Kong, Fande escribió: > > Hi All, > > How to understand the following messages: > > 1 EPS nconv=0 first unconverged value (error) 2.06312 (3.29164033e-01) > 2 EPS nconv=0 first unconverged value (error) 2.03951 (1.76223074e-01) > 3 EPS

[petsc-users] EPS monitor

2017-08-16 Thread Kong, Fande
Hi All, How to understand the following messages: 1 EPS nconv=0 first unconverged value (error) 2.06312 (3.29164033e-01) 2 EPS nconv=0 first unconverged value (error) 2.03951 (1.76223074e-01) 3 EPS nconv=0 first unconverged value (error) 2.01177 (5.71109559e-02) 4 EPS nconv=0 first

Re: [petsc-users] Query regarding old PETSC version

2017-08-16 Thread Satish Balay
balay@es^/sandbox/balay/tmp/petsc-2.3.2-p10 $ grep KSPTrueMonitor include/petscksp.h EXTERN PetscErrorCode PETSCKSP_DLLEXPORT KSPTrueMonitor(KSP,PetscInt,PetscReal,void *); https://www.mcs.anl.gov/petsc/documentation/changes/233.html The following function names are changed to be consistant:

Re: [petsc-users] Query regarding old PETSC version

2017-08-16 Thread Satish Balay
neither of these appear to be in petsc-2.3.2 balay@es^/sandbox/balay/tmp/petsc-2.3.2-p10 $ grep -ri true_residual . balay@es^/sandbox/balay/tmp/petsc-2.3.2-p10 $ grep -ri KSPTrueResididual . balay@es^/sandbox/balay/tmp/petsc-2.3.2-p10 $ Satish On Wed, 16 Aug 2017, Matthew Knepley wrote: > On

Re: [petsc-users] Query regarding old PETSC version

2017-08-16 Thread Matthew Knepley
On Wed, Aug 16, 2017 at 10:01 AM, Rachit Prasad wrote: > Hi, > > Due to legacy issues, I am working with tversion 2.3.2 of PETSc in > FORTRAN. I want to monitor the true residual and hence I tried to use the > function KSPTrueResididual(). However, I am unable to understand what

[petsc-users] Query regarding old PETSC version

2017-08-16 Thread Rachit Prasad
Hi, Due to legacy issues, I am working with tversion 2.3.2 of PETSc in FORTRAN. I want to monitor the true residual and hence I tried to use the function KSPTrueResididual(). However, I am unable to understand what kind of pointer is the last input parameter, "*dummy" supposed to be. I could not

Re: [petsc-users] accessing fields from previous, converged solution.

2017-08-16 Thread Matthew Knepley
On Wed, Aug 16, 2017 at 8:56 AM, Maximilian Hartig wrote: > Hello, > > I have a problem with several fields that I solve with PetscFE and TS. I > now need to access the solution from the previous timestep to compute the > residual for the current timestep. > I tried a

[petsc-users] accessing fields from previous, converged solution.

2017-08-16 Thread Maximilian Hartig
Hello, I have a problem with several fields that I solve with PetscFE and TS. I now need to access the solution from the previous timestep to compute the residual for the current timestep. I tried a TSMonitor with the following code in it: TSGetDM(ts,); DMClone(dm,_aux); DMGetDS(dm,_aux);