PLogDump

Dumps logs of objects to a file. This file is intended to be read by petsc/bin/petscview.

Synopsis

#include "petsc.h"   
int PLogDump(const char sname[])
Collective on PETSC_COMM_WORLD

Input Parameter

name -an optional file name

Options Database Keys

-log - Prints basic log information (for code compiled with PETSC_USE_LOG)
-log_all - Prints extensive log information (for code compiled with PETSC_USE_LOG)

Usage

     PetscInitialize(...);
     PLogBegin(); or PLogAllBegin(); 
     ... code ...
     PLogDump(filename);
     PetscFinalize();

Notes

The default file name is
     Log.<rank>
where <rank> is the processor number. If no name is specified, this file will be used.

Keywords

log, dump

See Also

PLogBegin(), PLogAllBegin(), PLogPrintSummary()

Level:advanced
Location:src/sys/src/plog/plog.c
Logging Index
Table of Contents