Re: [petsc-users] Memory inquire functions

2019-05-29 Thread Smith, Barry F. via petsc-users
They are for the given process. > On May 29, 2019, at 7:10 PM, Sanjay Govindjee via petsc-users > wrote: > > (In Fortran) do the calls > > call PetscMallocGetCurrentUsage(val, ierr) > call PetscMemoryGetCurrentUsage(val, ierr) > > return the per process memory numbers? o

[petsc-users] Memory inquire functions

2019-05-29 Thread Sanjay Govindjee via petsc-users
(In Fortran) do the calls     call PetscMallocGetCurrentUsage(val, ierr)     call PetscMemoryGetCurrentUsage(val, ierr) return the per process memory numbers? or are the returned values summed across all processes? -sanjay