#include "petscsys.h" PetscErrorCode PetscMallocViewSet(PetscLogDouble logmin)Not Collective
-malloc_view <optional filename> | - Activates PetscMallocView() in PetscFinalize() | |
-malloc_view_threshold <min> | - Sets a minimum size if -malloc_view is used | |
-log_view_memory | - view the memory usage also with the -log_view option |
Notes: Must be called after PetscMallocSetDebug()
Uses MPI_COMM_WORLD to determine rank because PETSc communicators may not be available