TPetra timers not stackable,
Created by: bathmatt
If one enables the tpetra timers you find that they are started and stopped not in a sequence. You stop a timer when it isn't the last one started. You are probably keeping RCPs to timers..
@trilinos/tpetra
Expectations
Expect the timers to be on a stack.
Current Behavior
I can't get timing info from tpetra,
Here is error message
ctest -R PanzerAdaptersSTK_projection
*********************************************************************
WARNING: Overlapping timers detected!
A TimeMonitor timer was stopped before a nested subtimer was
stopped. This is not allowed by the StackedTimer. This corner case
typically occurs if the TimeMonitor is stored in an RCP and the RCP is
assigned to a new timer. To disable this warning, either fix the
ordering of timer creation and destuction or disable the StackedTimer
support in the TimeMonitor by setting the StackedTimer to null
with:
Teuchos::TimeMonitor::setStackedTimer(Teuchos::null)
*********************************************************************
Motivation and Context
Definition of Done
Steps to Reproduce
- Enable tpetra timers -D Tpetra_ENABLE_MMM_Timings=ON
- Enable panzer tests
- Run panzer tests ctest -R PanzerAdaptersSTK_projection
- Shake fist angrily at computer.
Your Environment
- Relevant repo SHA1s:
- Relevant configure flags or configure script:
- Operating system and version:
- Compiler and TPL versions:
Related Issues
- Blocks
- Is blocked by
- Follows
- Precedes
- Related to
- Part of
- Composed of