:orphan: # PetscLogMPEBegin Turns on MPE logging of events. This creates large log files and slows the program down. ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscLogMPEBegin(void) ``` Collective over `PETSC_COMM_WORLD` ## Options Database Key - ***-log_mpe -*** Prints extensive log information ## Note A related routine is `PetscLogDefaultBegin()` (with the options key -log_view), which is intended for production runs since it logs only flop rates and object creation (and should not significantly slow the programs). ## See Also [](ch_profiling), `PetscLogDump()`, `PetscLogDefaultBegin()`, `PetscLogAllBegin()`, `PetscLogEventActivate()`, `PetscLogEventDeactivate()` ## Level advanced ## Location src/sys/logging/plog.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/logging/plog.c) [Index of all Profiling routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)