[petsc-dev] KSPMonitor and petsc4py

Smith, Barry F. bsmith at mcs.anl.gov
Mon Mar 4 20:28:04 CST 2019



> On Mar 4, 2019, at 12:57 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> 
> 
> 
> On Mon, 4 Mar 2019 at 09:20, Smith, Barry F. <bsmith at mcs.anl.gov> wrote:
> 
>    By golly you are right, 
> 
>    I don't know how we got to the model where each implementation independently sets it to 0. Instead of a universal one. Minimizing code, of course, seems to point to a single location where it is set to zero.
> 
> 
> If you are planning to fix it, please consider what to do with ksp->rnorm, and also think about SNES. 
> 
> PS: BTW, I have a bunch of custom routines in petsc4py, should any of them be added to PETSc?
> https://bitbucket.org/petsc/petsc4py/src/master/src/libpetsc4py/custom.h
> https://bitbucket.org/petsc/petsc4py/src/master/src/include/custom.h

   I have made an issue for these utilities. Maybe someone someday will have the energy to work through them and merge as appropriate.

   Barry

> 
> -- 
> Lisandro Dalcin
> ============
> Research Scientist
> Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
> Extreme Computing Research Center (ECRC)
> King Abdullah University of Science and Technology (KAUST)
> http://ecrc.kaust.edu.sa/
> 
> 4700 King Abdullah University of Science and Technology
> al-Khawarizmi Bldg (Bldg 1), Office # 0109
> Thuwal 23955-6900, Kingdom of Saudi Arabia
> http://www.kaust.edu.sa
> 
> Office Phone: +966 12 808-0459



More information about the petsc-dev mailing list