trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.22k stars 570 forks source link

Teuchos: Add Stacked Timer support #2727

Closed rppawlo closed 6 years ago

rppawlo commented 6 years ago

There is a beautiful StackedTimer object that @bathmatt developed that tracks the timer levels to show the ordering that events are called in addition to reporting timing information. We have just added it to the teuchos package in a branch. We have also added the ability to optionally inject the TimeMonitor results into the StackedTimer. This allows codes instrumented with TimeMonitor to automatically inject timings into the StackedTimer.

An example of output from TimeMonitor compared to StackedTimer is below for a Drekar unit test (we will clean up the spacing of output times before moving to PR). It literally takes 3 lines of code to get the StackedTimer report from main if you are already using the TimeMonitor.

@trilinos/teuchos @trilinos/panzer @bathmatt

Expectations

Get more information from timings

Current Behavior

TimeMonitor prints the timers in order of sotrage in the map. We lose information about the order these are called and nesting. This can be critical in diagnosing issues.

Motivation and Context

The new StackedTimer retains information about ordering and can print all information previously generated with the TimeMonitor. In addition, it is interoperable with TimeMonitor in that any code instrumented with the TimeMonitor will inject timers into StackedTimer.

TimeMonitor report:

==================================================================================================================================================================================

                                                                       TimeMonitor results over 1 processor

Timer Name                                                                                                                                             Global time (num calls)    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Belos: BlockGmresSolMgr total solve time                                                                                                               0.01179 (10)               
Belos: DGKS[2]: Ortho (Inner Product)                                                                                                                  0.0008187 (40)             
Belos: DGKS[2]: Ortho (Norm)                                                                                                                           0.0009371 (70)             
Belos: DGKS[2]: Ortho (Update)                                                                                                                         0.0005872 (40)             
Belos: DGKS[2]: Orthogonalization                                                                                                                      0.002966 (30)              
Belos: Operation Op*x                                                                                                                                  0.003094 (40)              
Belos: Operation Prec*x                                                                                                                                0.003283 (30)              
Drekar: Total Time                                                                                                                                     1.648 (1)                  
Epetra_CrsMatrix::Multiply(TransA,X,Y)                                                                                                                 0.00489 (80)               
Epetra_CrsMatrix::Solve(Upper,Trans,UnitDiag,X,Y)                                                                                                      0.002024 (60)              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ifpack_ILU::ApplyInverse                                                                                                                               0.002565 (30)              
Ifpack_ILU::ApplyInverse - Solve                                                                                                                       0.002363 (30)              
Ifpack_ILU::Compute                                                                                                                                    0.01392 (10)               
Ifpack_ILU::ComputeSetup                                                                                                                               0.006043 (10)              
Ifpack_ILU::Initialize                                                                                                                                 0.01657 (10)               
NOX Total Linear Solve                                                                                                                                 0.01577 (10)               
NOX Total Preconditioner Construction                                                                                                                  0.03324 (10)               
Phalanx: Evaluator 0: [panzer::Traits::Residual] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP                           0.003815 (315)             
Phalanx: Evaluator 1164: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual)                             0.0009853 (105)            
Phalanx: Evaluator 1180: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): COORDX (panzer::Traits::Residual)                                  0.001613 (105)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 1196: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual)                                                        0.0007438 (105)            
Phalanx: Evaluator 1240: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE                                                                      0.001955 (105)             
Phalanx: Evaluator 1426: [panzer::Traits::Residual] STK HGRAD Scatter Basis HGrad:1: COORDXCOORDY: STK-Scatter Fields                                  0.001067 (105)             
Phalanx: Evaluator 1455: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual)                             0.001234 (126)             
Phalanx: Evaluator 1456: [panzer::Traits::Residual] Gather Basis_HGrad:1 BasisCoordinates                                                              0.00058 (126)              
Phalanx: Evaluator 1487: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual)                                                        0.0009197 (126)            
Phalanx: Evaluator 1515: [panzer::Traits::Residual] eblock-0_0Nodal_Fields: STK-Scatter Fields                                                         0.0007444 (126)            
Phalanx: Evaluator 1529: [panzer::Traits::Residual] Gather STK Fields                                                                                  0.0013 (126)               
Phalanx: Evaluator 1530: [panzer::Traits::Residual] VectorToScalar: MAT_COORD                                                                          0.0007602 (126)            
Phalanx: Evaluator 1533: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE                                                                      0.002437 (126)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 153: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE                                                                      5.224e-05 (15)             
Phalanx: Evaluator 1542: [panzer::Traits::Residual] Advection-Diffusion: Compression Solution                                                          0.02289 (126)              
Phalanx: Evaluator 155: [panzer::Traits::Residual] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Residual)                                     6.607e-05 (15)             
Phalanx: Evaluator 156: [panzer::Traits::Residual] Dirichlet Residual Evaluator                                                                        5.098e-05 (15)             
Phalanx: Evaluator 157: [panzer::Traits::Residual] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual                                                 6.754e-05 (15)             
Phalanx: Evaluator 158: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE                                                                      3.408e-05 (10)             
Phalanx: Evaluator 160: [panzer::Traits::Jacobian] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Jacobian)                                     4.142e-05 (10)             
Phalanx: Evaluator 161: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator                                                                        3.611e-05 (10)             
Phalanx: Evaluator 162: [panzer::Traits::Jacobian] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual (Jacobian)                                      8.067e-05 (10)             
Phalanx: Evaluator 1719: [panzer::Traits::Residual] STK HGRAD Scatter Basis HGrad:1: TEMPERATURE: STK-Scatter Fields                                   0.0006564 (126)            
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 173: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE                                                                      4.973e-05 (15)             
Phalanx: Evaluator 175: [panzer::Traits::Residual] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Residual)                                     5.476e-05 (15)             
Phalanx: Evaluator 176: [panzer::Traits::Residual] Dirichlet Residual Evaluator                                                                        4.784e-05 (15)             
Phalanx: Evaluator 177: [panzer::Traits::Residual] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual                                                 5.468e-05 (15)             
Phalanx: Evaluator 178: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE                                                                      3.352e-05 (10)             
Phalanx: Evaluator 180: [panzer::Traits::Jacobian] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Jacobian)                                     3.786e-05 (10)             
Phalanx: Evaluator 181: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator                                                                        3.289e-05 (10)             
Phalanx: Evaluator 182: [panzer::Traits::Jacobian] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual (Jacobian)                                      5.273e-05 (10)             
Phalanx: Evaluator 193: [panzer::Traits::Residual] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP                         0.002527 (210)             
Phalanx: Evaluator 194: [panzer::Traits::Residual] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_SOURCE_OP                            0.001965 (210)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 197: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator                                                                          0.002199 (210)             
Phalanx: Evaluator 198: [panzer::Traits::Jacobian] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP                         0.02 (210)                 
Phalanx: Evaluator 199: [panzer::Traits::Jacobian] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_SOURCE_OP                            0.01115 (210)              
Phalanx: Evaluator 1: [panzer::Traits::Residual] Integrator_GradBasisDotVector (Eval, panzer::Traits::Residual):  RESIDUAL_TEMPERATURE_DIFFUSION_OP    0.004351 (315)             
Phalanx: Evaluator 202: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator                                                                          0.006332 (210)             
Phalanx: Evaluator 20: [panzer::Traits::Residual] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Residual)                                      0.00365 (315)              
Phalanx: Evaluator 213: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator                                                                          0.002157 (210)             
Phalanx: Evaluator 214: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator                                                                          0.001962 (210)             
Phalanx: Evaluator 215: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator                                                                          0.00713 (210)              
Phalanx: Evaluator 216: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator                                                                          0.006894 (210)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 221: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual)                              0.001921 (210)             
Phalanx: Evaluator 222: [panzer::Traits::Residual] Gather Basis_HGrad:1 BasisCoordinates                                                               0.001041 (210)             
Phalanx: Evaluator 223: [panzer::Traits::Residual] Gather IR_2 IntegrationCoordinates                                                                  0.001019 (210)             
Phalanx: Evaluator 224: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): DXDT_TEMPERATURE (panzer::Traits::Residual)                         0.002096 (210)             
Phalanx: Evaluator 225: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  TEMPERATURE (panzer::Traits::Jacobian)                             0.0092 (210)               
Phalanx: Evaluator 226: [panzer::Traits::Jacobian] Gather Basis_HGrad:1 BasisCoordinates                                                               0.004384 (210)             
Phalanx: Evaluator 227: [panzer::Traits::Jacobian] Gather IR_2 IntegrationCoordinates                                                                  0.004715 (210)             
Phalanx: Evaluator 228: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  DXDT_TEMPERATURE (panzer::Traits::Jacobian)                        0.009284 (210)             
Phalanx: Evaluator 23: [panzer::Traits::Residual] GatherSolution (Epetra): DXDT_TEMPERATURE (panzer::Traits::Residual)                                 0.003752 (315)             
Phalanx: Evaluator 240: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): DXDT_COORDX (panzer::Traits::Residual)                              0.003446 (210)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 244: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  DXDT_COORDX (panzer::Traits::Jacobian)                             0.01789 (210)              
Phalanx: Evaluator 24: [panzer::Traits::Jacobian] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Jacobian)                                      0.002749 (210)             
Phalanx: Evaluator 253: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual)                                                         0.001499 (210)             
Phalanx: Evaluator 255: [panzer::Traits::Residual] DOF: DXDT_TEMPERATURE (panzer::Traits::Residual)                                                    0.001555 (210)             
Phalanx: Evaluator 256: [panzer::Traits::Jacobian] DOF: TEMPERATURE accel_jac  (panzer::Traits::Jacobian)                                              0.006394 (210)             
Phalanx: Evaluator 258: [panzer::Traits::Jacobian] DOF: DXDT_TEMPERATURE accel_jac  (panzer::Traits::Jacobian)                                         0.006678 (210)             
Phalanx: Evaluator 27: [panzer::Traits::Jacobian] GatherSolution (Epetra): DXDT_TEMPERATURE (panzer::Traits::Jacobian)                                 0.002728 (210)             
Phalanx: Evaluator 281: [panzer::Traits::Residual] SCATTER_TEMPERATURE Scatter Residual                                                                0.002153 (210)             
Phalanx: Evaluator 282: [panzer::Traits::Jacobian] SCATTER_TEMPERATURE Scatter Residual BlockedEpetra (Jacobian)                                       0.03392 (210)              
Phalanx: Evaluator 285: [panzer::Traits::Residual] SCATTER_COORDX Scatter Residual                                                                     0.002021 (210)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 286: [panzer::Traits::Residual] SCATTER_COORDY Scatter Residual                                                                     0.002009 (210)             
Phalanx: Evaluator 287: [panzer::Traits::Jacobian] SCATTER_COORDX Scatter Residual BlockedEpetra (Jacobian)                                            0.03351 (210)              
Phalanx: Evaluator 288: [panzer::Traits::Jacobian] SCATTER_COORDY Scatter Residual BlockedEpetra (Jacobian)                                            0.03342 (210)              
Phalanx: Evaluator 293: [panzer::Traits::Residual] Constant: DENSITY                                                                                   0.0006497 (210)            
Phalanx: Evaluator 295: [panzer::Traits::Residual] Constant: HEAT_CAPACITY                                                                             0.0006275 (210)            
Phalanx: Evaluator 299: [panzer::Traits::Residual] Sum Evaluator                                                                                       0.0031 (210)               
Phalanx: Evaluator 301: [panzer::Traits::Residual] Product Evaluator                                                                                   0.003026 (210)             
Phalanx: Evaluator 304: [panzer::Traits::Residual] Constant: NODE_VELOCITY_Y                                                                           0.000747 (210)             
Phalanx: Evaluator 309: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE                                                                       0.00434 (210)              
Phalanx: Evaluator 311: [panzer::Traits::Residual] AdvDiffCompressionSource                                                                            0.01601 (210)              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 313: [panzer::Traits::Residual] DivCompressionVelocity Evaluator                                                                    0.004423 (210)             
Phalanx: Evaluator 316: [panzer::Traits::Residual] CompressionVelocity Evaluator                                                                       0.004172 (210)             
Phalanx: Evaluator 319: [panzer::Traits::Jacobian] Constant: DENSITY                                                                                   0.0006928 (210)            
Phalanx: Evaluator 321: [panzer::Traits::Jacobian] Constant: HEAT_CAPACITY                                                                             0.0006497 (210)            
Phalanx: Evaluator 325: [panzer::Traits::Jacobian] Sum Evaluator                                                                                       0.007279 (210)             
Phalanx: Evaluator 327: [panzer::Traits::Jacobian] Product Evaluator                                                                                   0.01045 (210)              
Phalanx: Evaluator 330: [panzer::Traits::Jacobian] Constant: NODE_VELOCITY_Y                                                                           0.0008019 (210)            
Phalanx: Evaluator 336: [panzer::Traits::Jacobian] AdvDiffCompressionSource                                                                            0.3258 (210)               
Phalanx: Evaluator 338: [panzer::Traits::Jacobian] DivCompressionVelocity Evaluator                                                                    0.01191 (210)              
Phalanx: Evaluator 341: [panzer::Traits::Jacobian] CompressionVelocity Evaluator                                                                       0.01246 (210)              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 36: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual)                                                          0.002328 (315)             
Phalanx: Evaluator 37: [panzer::Traits::Residual] DOFGradient: GRAD_TEMPERATURE (panzer::Traits::Residual)                                             0.003552 (315)             
Phalanx: Evaluator 38: [panzer::Traits::Residual] DOF: DXDT_TEMPERATURE (panzer::Traits::Residual)                                                     0.002174 (315)             
Phalanx: Evaluator 40: [panzer::Traits::Jacobian] DOFGradient: GRAD_TEMPERATURE (panzer::Traits::Jacobian)                                             0.01034 (210)              
Phalanx: Evaluator 41: [panzer::Traits::Jacobian] DOF: DXDT_TEMPERATURE accel_jac  (panzer::Traits::Jacobian)                                          0.005354 (210)             
Phalanx: Evaluator 48: [panzer::Traits::Residual] SCATTER_TEMPERATURE Scatter Residual                                                                 0.003539 (315)             
Phalanx: Evaluator 495: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE                                                                      5.609e-05 (10)             
Phalanx: Evaluator 497: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual)                              4.987e-05 (10)             
Phalanx: Evaluator 498: [panzer::Traits::Residual] Dirichlet Residual Evaluator                                                                        3.988e-05 (10)             
Phalanx: Evaluator 499: [panzer::Traits::Residual] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual                                                 9.868e-05 (10)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 49: [panzer::Traits::Jacobian] SCATTER_TEMPERATURE Scatter Residual Epetra (Jacobian)                                               0.02004 (210)              
Phalanx: Evaluator 4: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator                                                                            0.00323 (315)              
Phalanx: Evaluator 500: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE                                                                      3.89e-05 (10)              
Phalanx: Evaluator 502: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  TEMPERATURE (panzer::Traits::Jacobian)                             6.055e-05 (10)             
Phalanx: Evaluator 503: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator                                                                        4.037e-05 (10)             
Phalanx: Evaluator 504: [panzer::Traits::Jacobian] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual (Jacobian)                                      0.0002163 (10)             
Phalanx: Evaluator 515: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE                                                                      3.499e-05 (10)             
Phalanx: Evaluator 517: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual)                              3.75e-05 (10)              
Phalanx: Evaluator 518: [panzer::Traits::Residual] Dirichlet Residual Evaluator                                                                        3.262e-05 (10)             
Phalanx: Evaluator 519: [panzer::Traits::Residual] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual                                                 5.273e-05 (10)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 520: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE                                                                      3.506e-05 (10)             
Phalanx: Evaluator 522: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  TEMPERATURE (panzer::Traits::Jacobian)                             5.028e-05 (10)             
Phalanx: Evaluator 523: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator                                                                        3.513e-05 (10)             
Phalanx: Evaluator 524: [panzer::Traits::Jacobian] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual (Jacobian)                                      0.0001052 (10)             
Phalanx: Evaluator 52: [panzer::Traits::Residual] Constant: DENSITY                                                                                    0.0009603 (315)            
Phalanx: Evaluator 535: [panzer::Traits::Residual] Gather Basis_HGrad:1 BasisCoordinates                                                               0.000102 (21)              
Phalanx: Evaluator 536: [panzer::Traits::Residual] SCATTER_TEMPERATURE Scatter Residual                                                                0.0002782 (21)             
Phalanx: Evaluator 537: [panzer::Traits::Residual] CoordinatesEvaluator: COORDX                                                                        8.171e-05 (21)             
Phalanx: Evaluator 538: [panzer::Traits::Residual] CoordinatesEvaluator: COORDY                                                                        7.843e-05 (21)             
Phalanx: Evaluator 539: [panzer::Traits::Residual] Gather STK Fields                                                                                   0.0002588 (21)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 540: [panzer::Traits::Residual] VectorToScalar: MAT_COORD                                                                           0.000154 (21)              
Phalanx: Evaluator 543: [panzer::Traits::Residual] Advection-Diffusion: Compression Solution                                                           0.003424 (21)              
Phalanx: Evaluator 545: [panzer::Traits::Residual] SCATTER_COORDX Scatter Residual                                                                     0.0002775 (21)             
Phalanx: Evaluator 546: [panzer::Traits::Residual] SCATTER_COORDY Scatter Residual                                                                     0.000263 (21)              
Phalanx: Evaluator 54: [panzer::Traits::Residual] Constant: HEAT_CAPACITY                                                                              0.0009564 (315)            
Phalanx: Evaluator 56: [panzer::Traits::Residual] Constant: THERMAL_CONDUCTIVITY                                                                       0.0009961 (315)            
Phalanx: Evaluator 582: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual)                              0.0001938 (21)             
Phalanx: Evaluator 598: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): COORDX (panzer::Traits::Residual)                                   0.0003346 (21)             
Phalanx: Evaluator 5: [panzer::Traits::Jacobian] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP                           0.01539 (210)              
Phalanx: Evaluator 614: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual)                                                         0.0001699 (21)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx: Evaluator 658: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE                                                                       0.0004351 (21)             
Phalanx: Evaluator 68: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE                                                                        0.006296 (315)             
Phalanx: Evaluator 69: [panzer::Traits::Residual] EnergyFluxFourier                                                                                    0.001716 (315)             
Phalanx: Evaluator 6: [panzer::Traits::Jacobian] Integrator_GradBasisDotVector (Eval, panzer::Traits::Jacobian):  RESIDUAL_TEMPERATURE_DIFFUSION_OP    0.0135 (210)               
Phalanx: Evaluator 78: [panzer::Traits::Jacobian] Constant: DENSITY                                                                                    0.0006472 (210)            
Phalanx: Evaluator 80: [panzer::Traits::Jacobian] Constant: HEAT_CAPACITY                                                                              0.0006291 (210)            
Phalanx: Evaluator 82: [panzer::Traits::Jacobian] Constant: THERMAL_CONDUCTIVITY                                                                       0.0006804 (210)            
Phalanx: Evaluator 844: [panzer::Traits::Residual] STK HGRAD Scatter Basis HGrad:1: TEMPERATURECOORDXCOORDY: STK-Scatter Fields                        0.0002804 (21)             
Phalanx: Evaluator 94: [panzer::Traits::Jacobian] EnergyFluxFourier                                                                                    0.004193 (210)             
Phalanx: Evaluator 9: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator                                                                            0.004363 (210)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Phalanx::SortAndOrderEvaluators                                                                                                                        0.0001326 (44)             
STK_Interface::setupExodusFile(filename)                                                                                                               0.005611 (1)               
STK_Interface::writeToExodus(timestep)                                                                                                                 0.0266 (6)                 
Stratimikos: BelosLOWS                                                                                                                                 0.0157 (10)                
Tempus::IntegratorBasic::advanceTime()                                                                                                                 1.279 (1)                  
Tempus::SolutionHistory::initWorkingState()                                                                                                            0.0005393 (5)              
Tempus::StepperIMEX_RK_Partition::takeStep()                                                                                                           1.129 (5)                  
Tempus::TimeStepControl::getNextTimeStep()                                                                                                             0.000124 (5)               
Thyra::EpetraLinearOp::euclideanApply                                                                                                                  0.01114 (110)              
Thyra::EpetraLinearOp::euclideanApply: Apply                                                                                                           0.009516 (110)             
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thyra::EpetraLinearOp::euclideanApply: Apply(beta!=0): Apply                                                                                           0.0009732 (20)             
Thyra::EpetraLinearOp::euclideanApply: Apply(beta!=0): Scale Y                                                                                         5.399e-05 (20)             
Thyra::EpetraLinearOp::euclideanApply: Apply(beta!=0): Update Y                                                                                        0.0008399 (20)             
Thyra::EpetraLinearOp::euclideanApply: Apply(beta==0): Apply                                                                                           0.004415 (60)              
Thyra::EpetraLinearOp::euclideanApply: Apply(beta==0): ApplyInverse                                                                                    0.002664 (30)              
Thyra::EpetraLinearOp::euclideanApply: Convert MultiVectors                                                                                            0.0008267 (110)            
Thyra::NOXNonlinearSolver::solve                                                                                                                       0.2266 (5)                 
panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Jacobian)                                                                                0.00518 (20)               
panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Residual)                                                                                0.00869 (37)               
panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Jacobian)                                                                                      0.001198 (20)              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Residual)                                                                                      0.002548 (37)              
panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Jacobian)                                                                                0.0001017 (20)             
panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Residual)                                                                                0.0001999 (37)             
panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Jacobian)                                                                                  0.000218 (20)              
panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Residual)                                                                                  0.005968 (37)              
panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Jacobian)                                                                                     0.1349 (20)                
panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Residual)                                                                                     0.0006754 (37)             
panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Jacobian)                                                                                      0.6724 (20)                
panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Residual)                                                                                      0.2502 (37)                
panzer::DOFManager::buildGlobalUnknowns                                                                                                                0.01698 (2)                
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
panzer::DOFManager::buildGlobalUnknowns::build_ghosted_array                                                                                           0.001447 (2)               
panzer::DOFManager::buildGlobalUnknowns::build_local_ids                                                                                               0.002073 (2)               
panzer::DOFManager::buildGlobalUnknowns::build_owned_vector                                                                                            0.003941 (2)               
panzer::DOFManager::buildGlobalUnknowns_GUN                                                                                                            0.002107 (2)               
panzer::DOFManager::buildGlobalUnknowns_GUN::line_04 createOneToOne                                                                                    0.0004797 (2)              
panzer::DOFManager::buildGlobalUnknowns_GUN::line_05 alloc_unique_mv                                                                                   5.615e-05 (2)              
panzer::DOFManager::buildGlobalUnknowns_GUN::line_06 export                                                                                            0.0008454 (2)              
panzer::DOFManager::buildGlobalUnknowns_GUN::line_07-09 local_count                                                                                    0.0001639 (2)              
panzer::DOFManager::buildGlobalUnknowns_GUN::line_10 prefix_sum                                                                                        0.0001995 (2)              
panzer::DOFManager::buildGlobalUnknowns_GUN::line_13-21 gid_assignment                                                                                 0.0001032 (2)              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
panzer::DOFManager::buildGlobalUnknowns_GUN::line_23 final_import                                                                                      6.893e-05 (2)              
panzer::DOFManager::buildTaggedMultiVector                                                                                                             0.004142 (2)               
panzer::DOFManager::buildTaggedMultiVector::allocate_tagged_multivector                                                                                0.000692 (2)               
panzer::DOFManager::buildTaggedMultiVector::fill_tagged_multivector                                                                                    0.0004589 (2)              
panzer::DOFManager::builderOverlapMapFromElements                                                                                                      0.002893 (2)               
panzer::ModelEvaluator::evalModel(J)                                                                                                                   0.8159 (20)                
panzer::ModelEvaluator::evalModel(f)                                                                                                                   0.1373 (25)                
panzer::SquareQuadMeshFactory::buildUncomittedMesh()                                                                                                   0.001496 (1)               
panzer::SquareQuadMeshFactory::completeMeshConstruction()                                                                                              0.06757 (1)                
==================================================================================================================================================================================

StackedTimer report:

Drekar Timings:1.65814 [1] (0)
   Drekar: Total Time:1.6475 [1] (0)
      panzer::SquareQuadMeshFactory::buildUncomittedMesh():0.00153532 [1] (0)
      panzer::SquareQuadMeshFactory::completeMeshConstruction():0.0675412 [1] (0)
      STK_Interface::setupExodusFile(filename):0.00561049 [1] (0)
      panzer::DOFManager::buildGlobalUnknowns:0.0169753 [2] (0)
         panzer::DOFManager::buildTaggedMultiVector:0.00414131 [2] (0)
            panzer::DOFManager::builderOverlapMapFromElements:0.00289325 [2] (0)
            panzer::DOFManager::buildTaggedMultiVector::allocate_tagged_multivector:0.00069073 [2] (0)
            panzer::DOFManager::buildTaggedMultiVector::fill_tagged_multivector:0.000457809 [2] (0)
            Remainder: 9.9524e-05
         panzer::DOFManager::buildGlobalUnknowns_GUN:0.00210571 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_04 createOneToOne:0.00047967 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_05 alloc_unique_mv:5.5245e-05 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_06 export:0.00084501 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_07-09 local_count:0.00016266 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_10 prefix_sum:0.000198697 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_13-21 gid_assignment:0.000109023 [2] (0)
            panzer::DOFManager::buildGlobalUnknowns_GUN::line_23 final_import:6.7886e-05 [2] (0)
            Remainder: 0.000187522
         panzer::DOFManager::buildGlobalUnknowns::build_owned_vector:0.00393933 [2] (0)
         panzer::DOFManager::buildGlobalUnknowns::build_ghosted_array:0.00144592 [2] (0)
         panzer::DOFManager::buildGlobalUnknowns::build_local_ids:0.0020717 [2] (0)
         Remainder: 0.0032713
      Phalanx::SortAndOrderEvaluators:9.8759e-05 [44] (0)
      Phalanx: Evaluator 539: [panzer::Traits::Residual] Gather STK Fields:0.000252547 [21] (0)
      Phalanx: Evaluator 540: [panzer::Traits::Residual] VectorToScalar: MAT_COORD:0.000148973 [21] (0)
      Phalanx: Evaluator 535: [panzer::Traits::Residual] Gather Basis_HGrad:1 BasisCoordinates:9.5754e-05 [21] (0)
      Phalanx: Evaluator 543: [panzer::Traits::Residual] Advection-Diffusion: Compression Solution:0.00341677 [21] (0)
      Phalanx: Evaluator 536: [panzer::Traits::Residual] SCATTER_TEMPERATURE Scatter Residual:0.000270498 [21] (0)
      Phalanx: Evaluator 537: [panzer::Traits::Residual] CoordinatesEvaluator: COORDX:7.4242e-05 [21] (0)
      Phalanx: Evaluator 545: [panzer::Traits::Residual] SCATTER_COORDX Scatter Residual:0.000270496 [21] (0)
      Phalanx: Evaluator 538: [panzer::Traits::Residual] CoordinatesEvaluator: COORDY:7.1098e-05 [21] (0)
      Phalanx: Evaluator 546: [panzer::Traits::Residual] SCATTER_COORDY Scatter Residual:0.000255412 [21] (0)
      panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Residual):7.9968e-05 [1] (0)
      panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Residual):0.00181594 [1] (0)
         Phalanx: Evaluator 582: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual):0.000191436 [21] (0)
         Phalanx: Evaluator 614: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual):0.000167757 [21] (0)
         Phalanx: Evaluator 658: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE:0.00043036 [21] (0)
         Phalanx: Evaluator 598: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): COORDX (panzer::Traits::Residual):0.000328745 [21] (0)
         Phalanx: Evaluator 844: [panzer::Traits::Residual] STK HGRAD Scatter Basis HGrad:1: TEMPERATURECOORDXCOORDY: STK-Scatter Fields:0.000276083 [21] (0)
         Remainder: 0.000421561
      panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Residual):2.8286e-05 [1] (0)
      panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Residual):5.658e-06 [1] (0)
      panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Residual):0.000381403 [1] (0)
      panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Residual):5.657e-06 [1] (0)
      Tempus::IntegratorBasic::advanceTime():1.27917 [1] (0)
         panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Residual):0.000639326 [6] (0)
         panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Residual):0.118842 [6] (0)
            Phalanx: Evaluator 1455: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual):0.00121636 [126] (0)
            Phalanx: Evaluator 1487: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual):0.000897391 [126] (0)
            Phalanx: Evaluator 1533: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE:0.00241358 [126] (0)
            Phalanx: Evaluator 1529: [panzer::Traits::Residual] Gather STK Fields:0.0012707 [126] (0)
            Phalanx: Evaluator 1530: [panzer::Traits::Residual] VectorToScalar: MAT_COORD:0.000731251 [126] (0)
            Phalanx: Evaluator 1456: [panzer::Traits::Residual] Gather Basis_HGrad:1 BasisCoordinates:0.000548746 [126] (0)
            Phalanx: Evaluator 1542: [panzer::Traits::Residual] Advection-Diffusion: Compression Solution:0.0228573 [126] (0)
            Phalanx: Evaluator 1515: [panzer::Traits::Residual] eblock-0_0Nodal_Fields: STK-Scatter Fields:0.000706375 [126] (0)
            Phalanx: Evaluator 1719: [panzer::Traits::Residual] STK HGRAD Scatter Basis HGrad:1: TEMPERATURE: STK-Scatter Fields:0.000619002 [126] (0)
            Remainder: 0.0875816
         panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Residual):3.967e-05 [6] (0)
         panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Residual):1.9764e-05 [6] (0)
         panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Residual):0.00123759 [6] (0)
         panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Residual):1.4317e-05 [6] (0)
         STK_Interface::writeToExodus(timestep):0.0265986 [6] (0)
         Tempus::SolutionHistory::initWorkingState():0.000534844 [5] (0)
         Tempus::TimeStepControl::getNextTimeStep():0.000120196 [5] (0)
         Tempus::StepperIMEX_RK_Partition::takeStep():1.12912 [5] (0)
            panzer::ModelEvaluator::evalModel(f):0.0844387 [10] (0)
               panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Residual):0.000855065 [10] (0)
               panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Residual):0.0741436 [10] (0)
                  Phalanx: Evaluator 295: [panzer::Traits::Residual] Constant: HEAT_CAPACITY:0.000595048 [210] (0)
                  Phalanx: Evaluator 224: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): DXDT_TEMPERATURE (panzer::Traits::Residual):0.00205955 [210] (0)
                  Phalanx: Evaluator 255: [panzer::Traits::Residual] DOF: DXDT_TEMPERATURE (panzer::Traits::Residual):0.00151514 [210] (0)
                  Phalanx: Evaluator 293: [panzer::Traits::Residual] Constant: DENSITY:0.000589393 [210] (0)
                  Phalanx: Evaluator 193: [panzer::Traits::Residual] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP:0.00247937 [210] (0)
                  Phalanx: Evaluator 223: [panzer::Traits::Residual] Gather IR_2 IntegrationCoordinates:0.000947825 [210] (0)
                  Phalanx: Evaluator 221: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual):0.00185533 [210] (0)
                  Phalanx: Evaluator 253: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual):0.00142728 [210] (0)
                  Phalanx: Evaluator 311: [panzer::Traits::Residual] AdvDiffCompressionSource:0.0159223 [210] (0)
                  Phalanx: Evaluator 313: [panzer::Traits::Residual] DivCompressionVelocity Evaluator:0.00434762 [210] (0)
                  Phalanx: Evaluator 301: [panzer::Traits::Residual] Product Evaluator:0.00294165 [210] (0)
                  Phalanx: Evaluator 299: [panzer::Traits::Residual] Sum Evaluator:0.00299473 [210] (0)
                  Phalanx: Evaluator 194: [panzer::Traits::Residual] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_SOURCE_OP:0.00182824 [210] (0)
                  Phalanx: Evaluator 197: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator:0.00207883 [210] (0)
                  Phalanx: Evaluator 281: [panzer::Traits::Residual] SCATTER_TEMPERATURE Scatter Residual:0.00203553 [210] (0)
                  Phalanx: Evaluator 222: [panzer::Traits::Residual] Gather Basis_HGrad:1 BasisCoordinates:0.00091422 [210] (0)
                  Phalanx: Evaluator 316: [panzer::Traits::Residual] CompressionVelocity Evaluator:0.00403578 [210] (0)
                  Phalanx: Evaluator 240: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): DXDT_COORDX (panzer::Traits::Residual):0.00330343 [210] (0)
                  Phalanx: Evaluator 213: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator:0.00201235 [210] (0)
                  Phalanx: Evaluator 285: [panzer::Traits::Residual] SCATTER_COORDX Scatter Residual:0.00187594 [210] (0)
                  Phalanx: Evaluator 304: [panzer::Traits::Residual] Constant: NODE_VELOCITY_Y:0.000599092 [210] (0)
                  Phalanx: Evaluator 214: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator:0.00182278 [210] (0)
                  Phalanx: Evaluator 286: [panzer::Traits::Residual] SCATTER_COORDY Scatter Residual:0.00185764 [210] (0)
                  Phalanx: Evaluator 309: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE:0.00418545 [210] (0)
                  Remainder: 0.0099191
               panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Residual):0.00569577 [10] (0)
               panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Residual):5.8806e-05 [10] (0)
               panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Residual):0.00298955 [10] (0)
                  Phalanx: Evaluator 495: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE:4.8541e-05 [10] (0)
                  Phalanx: Evaluator 497: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual):4.6094e-05 [10] (0)
                  Phalanx: Evaluator 498: [panzer::Traits::Residual] Dirichlet Residual Evaluator:3.5828e-05 [10] (0)
                  Phalanx: Evaluator 499: [panzer::Traits::Residual] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual:9.3659e-05 [10] (0)
                  Phalanx: Evaluator 515: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE:2.9893e-05 [10] (0)
                  Phalanx: Evaluator 517: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual):3.3037e-05 [10] (0)
                  Phalanx: Evaluator 518: [panzer::Traits::Residual] Dirichlet Residual Evaluator:2.8772e-05 [10] (0)
                  Phalanx: Evaluator 519: [panzer::Traits::Residual] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual:4.7212e-05 [10] (0)
                  Remainder: 0.00262652
               panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Residual):0.000437417 [10] (0)
               Remainder: 0.000258417
            panzer::ModelEvaluator::evalModel(J):0.714122 [10] (0)
               panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Jacobian):0.000795004 [10] (0)
               panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Jacobian):0.588013 [10] (0)
                  Phalanx: Evaluator 321: [panzer::Traits::Jacobian] Constant: HEAT_CAPACITY:0.000607199 [210] (0)
                  Phalanx: Evaluator 228: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  DXDT_TEMPERATURE (panzer::Traits::Jacobian):0.00923029 [210] (0)
                  Phalanx: Evaluator 258: [panzer::Traits::Jacobian] DOF: DXDT_TEMPERATURE accel_jac  (panzer::Traits::Jacobian):0.00661886 [210] (0)
                  Phalanx: Evaluator 319: [panzer::Traits::Jacobian] Constant: DENSITY:0.000600209 [210] (0)
                  Phalanx: Evaluator 198: [panzer::Traits::Jacobian] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP:0.019949 [210] (0)
                  Phalanx: Evaluator 227: [panzer::Traits::Jacobian] Gather IR_2 IntegrationCoordinates:0.00461183 [210] (0)
                  Phalanx: Evaluator 225: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  TEMPERATURE (panzer::Traits::Jacobian):0.00910493 [210] (0)
                  Phalanx: Evaluator 256: [panzer::Traits::Jacobian] DOF: TEMPERATURE accel_jac  (panzer::Traits::Jacobian):0.00629346 [210] (0)
                  Phalanx: Evaluator 336: [panzer::Traits::Jacobian] AdvDiffCompressionSource:0.325656 [210] (0)
                  Phalanx: Evaluator 338: [panzer::Traits::Jacobian] DivCompressionVelocity Evaluator:0.0117819 [210] (0)
                  Phalanx: Evaluator 327: [panzer::Traits::Jacobian] Product Evaluator:0.0103479 [210] (0)
                  Phalanx: Evaluator 325: [panzer::Traits::Jacobian] Sum Evaluator:0.00712255 [210] (0)
                  Phalanx: Evaluator 199: [panzer::Traits::Jacobian] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_SOURCE_OP:0.010996 [210] (0)
                  Phalanx: Evaluator 202: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator:0.00617355 [210] (0)
                  Phalanx: Evaluator 282: [panzer::Traits::Jacobian] SCATTER_TEMPERATURE Scatter Residual BlockedEpetra (Jacobian):0.0337157 [210] (0)
                  Phalanx: Evaluator 226: [panzer::Traits::Jacobian] Gather Basis_HGrad:1 BasisCoordinates:0.00420962 [210] (0)
                  Phalanx: Evaluator 341: [panzer::Traits::Jacobian] CompressionVelocity Evaluator:0.0123243 [210] (0)
                  Phalanx: Evaluator 244: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  DXDT_COORDX (panzer::Traits::Jacobian):0.0177179 [210] (0)
                  Phalanx: Evaluator 215: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator:0.0069814 [210] (0)
                  Phalanx: Evaluator 287: [panzer::Traits::Jacobian] SCATTER_COORDX Scatter Residual BlockedEpetra (Jacobian):0.0332773 [210] (0)
                  Phalanx: Evaluator 330: [panzer::Traits::Jacobian] Constant: NODE_VELOCITY_Y:0.000603858 [210] (0)
                  Phalanx: Evaluator 216: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator:0.00675106 [210] (0)
                  Phalanx: Evaluator 288: [panzer::Traits::Jacobian] SCATTER_COORDY Scatter Residual BlockedEpetra (Jacobian):0.0332129 [210] (0)
                  Remainder: 0.0101246
               panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Jacobian):0.000112373 [10] (0)
               panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Jacobian):4.47e-05 [10] (0)
               panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Jacobian):0.00306233 [10] (0)
                  Phalanx: Evaluator 500: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE:3.1569e-05 [10] (0)
                  Phalanx: Evaluator 502: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  TEMPERATURE (panzer::Traits::Jacobian):5.6431e-05 [10] (0)
                  Phalanx: Evaluator 503: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator:3.6734e-05 [10] (0)
                  Phalanx: Evaluator 504: [panzer::Traits::Jacobian] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual (Jacobian):0.00021197 [10] (0)
                  Phalanx: Evaluator 520: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE:3.0101e-05 [10] (0)
                  Phalanx: Evaluator 522: [panzer::Traits::Jacobian] GatherSolution (BlockedEpetra):  TEMPERATURE (panzer::Traits::Jacobian):4.5817e-05 [10] (0)
                  Phalanx: Evaluator 523: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator:3.1359e-05 [10] (0)
                  Phalanx: Evaluator 524: [panzer::Traits::Jacobian] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual (Jacobian):9.9522e-05 [10] (0)
                  Remainder: 0.00251883
               panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Jacobian):0.120497 [10] (0)
               Remainder: 0.00159762
            Thyra::EpetraLinearOp::euclideanApply:0.00503918 [40] (0)
               Thyra::EpetraLinearOp::euclideanApply: Convert MultiVectors:0.000326019 [40] (0)
               Thyra::EpetraLinearOp::euclideanApply: Apply:0.00437381 [40] (0)
                  Thyra::EpetraLinearOp::euclideanApply: Apply(beta==0): Apply:0.00222039 [20] (0)
                     Epetra_CrsMatrix::Multiply(TransA,X,Y):0.00193446 [20] (0)
                     Remainder: 0.000285927
                  Thyra::EpetraLinearOp::euclideanApply: Apply(beta!=0): Scale Y:4.9517e-05 [20] (0)
                  Thyra::EpetraLinearOp::euclideanApply: Apply(beta!=0): Apply:0.000966115 [20] (0)
                     Epetra_CrsMatrix::Multiply(TransA,X,Y):0.000904302 [20] (0)
                     Remainder: 6.1813e-05
                  Thyra::EpetraLinearOp::euclideanApply: Apply(beta!=0): Update Y:0.000832645 [20] (0)
                  Remainder: 0.000305144
               Remainder: 0.000339354
            Thyra::NOXNonlinearSolver::solve:0.226636 [5] (0)
               panzer::ModelEvaluator::evalModel(f):0.0527955 [15] (0)
                  panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Residual):0.000622145 [15] (0)
                  panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Residual):0.048056 [15] (0)
                     Phalanx: Evaluator 54: [panzer::Traits::Residual] Constant: HEAT_CAPACITY:0.00091388 [315] (0)
                     Phalanx: Evaluator 23: [panzer::Traits::Residual] GatherSolution (Epetra): DXDT_TEMPERATURE (panzer::Traits::Residual):0.00370837 [315] (0)
                     Phalanx: Evaluator 38: [panzer::Traits::Residual] DOF: DXDT_TEMPERATURE (panzer::Traits::Residual):0.0021088 [315] (0)
                     Phalanx: Evaluator 52: [panzer::Traits::Residual] Constant: DENSITY:0.00089433 [315] (0)
                     Phalanx: Evaluator 0: [panzer::Traits::Residual] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP:0.00373762 [315] (0)
                     Phalanx: Evaluator 20: [panzer::Traits::Residual] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Residual):0.00354088 [315] (0)
                     Phalanx: Evaluator 37: [panzer::Traits::Residual] DOFGradient: GRAD_TEMPERATURE (panzer::Traits::Residual):0.00344806 [315] (0)
                     Phalanx: Evaluator 56: [panzer::Traits::Residual] Constant: THERMAL_CONDUCTIVITY:0.000903872 [315] (0)
                     Phalanx: Evaluator 69: [panzer::Traits::Residual] EnergyFluxFourier:0.00160098 [315] (0)
                     Phalanx: Evaluator 1: [panzer::Traits::Residual] Integrator_GradBasisDotVector (Eval, panzer::Traits::Residual):  RESIDUAL_TEMPERATURE_DIFFUSION_OP:0.00423246 [315] (0)
                     Phalanx: Evaluator 4: [panzer::Traits::Residual] SumStatic Rank 2 Evaluator:0.00308083 [315] (0)
                     Phalanx: Evaluator 48: [panzer::Traits::Residual] SCATTER_TEMPERATURE Scatter Residual:0.00341719 [315] (0)
                     Phalanx: Evaluator 36: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual):0.00216286 [315] (0)
                     Phalanx: Evaluator 68: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE:0.00612145 [315] (0)
                     Remainder: 0.00818439
                  panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Residual):0.000158678 [15] (0)
                  panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Residual):8.388e-05 [15] (0)
                  panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Residual):0.00315683 [15] (0)
                     Phalanx: Evaluator 153: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE:4.4839e-05 [15] (0)
                     Phalanx: Evaluator 155: [panzer::Traits::Residual] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Residual):6.0551e-05 [15] (0)
                     Phalanx: Evaluator 156: [panzer::Traits::Residual] Dirichlet Residual Evaluator:4.5816e-05 [15] (0)
                     Phalanx: Evaluator 157: [panzer::Traits::Residual] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual:6.0833e-05 [15] (0)
                     Phalanx: Evaluator 173: [panzer::Traits::Residual] Constant: Constant_TEMPERATURE:4.2745e-05 [15] (0)
                     Phalanx: Evaluator 175: [panzer::Traits::Residual] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Residual):4.8052e-05 [15] (0)
                     Phalanx: Evaluator 176: [panzer::Traits::Residual] Dirichlet Residual Evaluator:4.2395e-05 [15] (0)
                     Phalanx: Evaluator 177: [panzer::Traits::Residual] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual:4.7843e-05 [15] (0)
                     Remainder: 0.00276375
                  panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Residual):0.000174532 [15] (0)
                  Remainder: 0.000543441
               panzer::ModelEvaluator::evalModel(J):0.101754 [10] (0)
                  panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Jacobian):0.000389363 [10] (0)
                  panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Jacobian):0.0843424 [10] (0)
                     Phalanx: Evaluator 80: [panzer::Traits::Jacobian] Constant: HEAT_CAPACITY:0.000603288 [210] (0)
                     Phalanx: Evaluator 27: [panzer::Traits::Jacobian] GatherSolution (Epetra): DXDT_TEMPERATURE (panzer::Traits::Jacobian):0.00270161 [210] (0)
                     Phalanx: Evaluator 41: [panzer::Traits::Jacobian] DOF: DXDT_TEMPERATURE accel_jac  (panzer::Traits::Jacobian):0.00531331 [210] (0)
                     Phalanx: Evaluator 78: [panzer::Traits::Jacobian] Constant: DENSITY:0.000592245 [210] (0)
                     Phalanx: Evaluator 5: [panzer::Traits::Jacobian] Integrator_BasisTimesScalar (EVALUATES):  RESIDUAL_TEMPERATURE_TRANSIENT_OP:0.0153472 [210] (0)
                     Phalanx: Evaluator 24: [panzer::Traits::Jacobian] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Jacobian):0.00266676 [210] (0)
                     Phalanx: Evaluator 40: [panzer::Traits::Jacobian] DOFGradient: GRAD_TEMPERATURE (panzer::Traits::Jacobian):0.0102697 [210] (0)
                     Phalanx: Evaluator 82: [panzer::Traits::Jacobian] Constant: THERMAL_CONDUCTIVITY:0.000599928 [210] (0)
                     Phalanx: Evaluator 94: [panzer::Traits::Jacobian] EnergyFluxFourier:0.00412475 [210] (0)
                     Phalanx: Evaluator 6: [panzer::Traits::Jacobian] Integrator_GradBasisDotVector (Eval, panzer::Traits::Jacobian):  RESIDUAL_TEMPERATURE_DIFFUSION_OP:0.0134208 [210] (0)
                     Phalanx: Evaluator 9: [panzer::Traits::Jacobian] SumStatic Rank 2 Evaluator:0.00426604 [210] (0)
                     Phalanx: Evaluator 49: [panzer::Traits::Jacobian] SCATTER_TEMPERATURE Scatter Residual Epetra (Jacobian):0.0199323 [210] (0)
                     Remainder: 0.00450441
                  panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Jacobian):9.7498e-05 [10] (0)
                  panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Jacobian):4.4139e-05 [10] (0)
                  panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Jacobian):0.00211822 [10] (0)
                     Phalanx: Evaluator 158: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE:2.9474e-05 [10] (0)
                     Phalanx: Evaluator 160: [panzer::Traits::Jacobian] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Jacobian):3.8483e-05 [10] (0)
                     Phalanx: Evaluator 161: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator:3.2477e-05 [10] (0)
                     Phalanx: Evaluator 162: [panzer::Traits::Jacobian] Dummy Scatter: BC(0)Residual_BC(0) Scatter Residual (Jacobian):7.6895e-05 [10] (0)
                     Phalanx: Evaluator 178: [panzer::Traits::Jacobian] Constant: Constant_TEMPERATURE:2.9403e-05 [10] (0)
                     Phalanx: Evaluator 180: [panzer::Traits::Jacobian] GatherSolution (Epetra): TEMPERATURE (panzer::Traits::Jacobian):3.3944e-05 [10] (0)
                     Phalanx: Evaluator 181: [panzer::Traits::Jacobian] Dirichlet Residual Evaluator:2.9541e-05 [10] (0)
                     Phalanx: Evaluator 182: [panzer::Traits::Jacobian] Dummy Scatter: BC(1)Residual_BC(1) Scatter Residual (Jacobian):4.882e-05 [10] (0)
                     Remainder: 0.00179918
                  panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Jacobian):0.0143938 [10] (0)
                  Remainder: 0.00036862
               NOX Total Preconditioner Construction:0.0332402 [10] (0)
                  Ifpack_ILU::Initialize:0.0165714 [10] (0)
                  Ifpack_ILU::Compute:0.0139125 [10] (0)
                     Ifpack_ILU::ComputeSetup:0.00604309 [10] (0)
                     Remainder: 0.00786944
                  Remainder: 0.00275629
               NOX Total Linear Solve:0.0157655 [10] (0)
                  Stratimikos: BelosLOWS:0.0156968 [10] (0)
                     Belos: Operation Op*x:0.000773212 [10] (0)
                        Thyra::EpetraLinearOp::euclideanApply:0.000706096 [10] (0)
                           Thyra::EpetraLinearOp::euclideanApply: Convert MultiVectors:0.000109721 [10] (0)
                           Thyra::EpetraLinearOp::euclideanApply: Apply:0.000439858 [10] (0)
                              Thyra::EpetraLinearOp::euclideanApply: Apply(beta==0): Apply:0.000397957 [10] (0)
                                 Epetra_CrsMatrix::Multiply(TransA,X,Y):0.000363874 [10] (0)
                                 Remainder: 3.4083e-05
                              Remainder: 4.1901e-05
                           Remainder: 0.000156517
                        Remainder: 6.7116e-05
                     Belos: BlockGmresSolMgr total solve time:0.0117782 [10] (0)
                        Belos: DGKS[2]: Orthogonalization:0.00294178 [30] (0)
                           Belos: DGKS[2]: Ortho (Norm):0.000931257 [70] (0)
                           Belos: DGKS[2]: Ortho (Inner Product):0.000814703 [40] (0)
                           Belos: DGKS[2]: Ortho (Update):0.000578491 [40] (0)
                           Remainder: 0.000617332
                        Belos: Operation Prec*x:0.00326522 [30] (0)
                           Thyra::EpetraLinearOp::euclideanApply:0.00316583 [30] (0)
                              Thyra::EpetraLinearOp::euclideanApply: Convert MultiVectors:0.000199535 [30] (0)
                              Thyra::EpetraLinearOp::euclideanApply: Apply:0.00275901 [30] (0)
                                 Thyra::EpetraLinearOp::euclideanApply: Apply(beta==0): ApplyInverse:0.00265858 [30] (0)
                                    Ifpack_ILU::ApplyInverse:0.00256115 [30] (0)
                                       Ifpack_ILU::ApplyInverse - Solve:0.00236937 [30] (0)
                                          Epetra_CrsMatrix::Solve(Upper,Trans,UnitDiag,X,Y):0.0019983 [60] (0)
                                          Remainder: 0.000371064
                                       Remainder: 0.000191783
                                    Remainder: 9.7432e-05
                                 Remainder: 0.000100434
                              Remainder: 0.000207284
                           Remainder: 9.9387e-05
                        Belos: Operation Op*x:0.00229938 [30] (0)
                           Thyra::EpetraLinearOp::euclideanApply:0.00220181 [30] (0)
                              Thyra::EpetraLinearOp::euclideanApply: Convert MultiVectors:0.000150438 [30] (0)
                              Thyra::EpetraLinearOp::euclideanApply: Apply:0.00186818 [30] (0)
                                 Thyra::EpetraLinearOp::euclideanApply: Apply(beta==0): Apply:0.00177858 [30] (0)
                                    Epetra_CrsMatrix::Multiply(TransA,X,Y):0.00168338 [30] (0)
                                    Remainder: 9.5197e-05
                                 Remainder: 8.9605e-05
                              Remainder: 0.000183188
                           Remainder: 9.7572e-05
                        Remainder: 0.00327179
                     Remainder: 0.00314537
                  Remainder: 6.8724e-05
               Remainder: 0.0230807
            panzer::AssemblyEngine::evaluate_gather(panzer::Traits::Residual):0.000328392 [5] (0)
            panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Residual):0.00728389 [5] (0)
               Phalanx: Evaluator 1164: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): TEMPERATURE (panzer::Traits::Residual):0.000973027 [105] (0)
               Phalanx: Evaluator 1196: [panzer::Traits::Residual] DOF: TEMPERATURE (panzer::Traits::Residual):0.00072914 [105] (0)
               Phalanx: Evaluator 1240: [panzer::Traits::Residual] GlobalStatistics: TEMPERATURE:0.00193921 [105] (0)
               Phalanx: Evaluator 1180: [panzer::Traits::Residual] GatherSolution (BlockedEpetra): COORDX (panzer::Traits::Residual):0.00159503 [105] (0)
               Phalanx: Evaluator 1426: [panzer::Traits::Residual] STK HGRAD Scatter Basis HGrad:1: COORDXCOORDY: STK-Scatter Fields:0.00104755 [105] (0)
               Remainder: 0.000999941
            panzer::AssemblyEngine::evaluate_neumannbcs(panzer::Traits::Residual):2.9125e-05 [5] (0)
            panzer::AssemblyEngine::evaluate_interfacebcs(panzer::Traits::Residual):1.6343e-05 [5] (0)
            panzer::AssemblyEngine::evaluate_dirichletbcs(panzer::Traits::Residual):0.000926096 [5] (0)
            panzer::AssemblyEngine::evaluate_scatter(panzer::Traits::Residual):1.2362e-05 [5] (0)
            Remainder: 0.0902928
         Remainder: 0.0019981
      Remainder: 0.269397
   Remainder: 0.0106442
Drekar run completed.
ibaned commented 6 years ago

Just FYI, this stacked printout is exactly what the space-time-stack Kokkos profiling tool does, so another way to do this is to use that tool and have Teuchos timers emit Kokkos profiling info.

mhoemmen commented 6 years ago

@rppawlo @bathmatt Thanks! :-D Should TimeMonitor just do this by default? I think sorting is a byproduct of set union / set intersection (not all timers may live on all processes in the communicator, so TimeMonitor does a fancy thing that I implemented long ago).

@trilinos/muelu has a different set of modifications to TimeMonitor; do y'all talk to each other?

@ibaned I agree but Trilinos developers have voiced concerns about the level of support for Kokkos profiling tools, compared with the simple-but-effective TimeMonitor approach.

rppawlo commented 6 years ago

@ibaned - did not know about that. Thanks for pointing out. Will look into it.

@mhoemmen - If time monitor would do the nested sorting, it would be a big help. I'm not sure how much work that would be though as opposed to just using the new StackedTimer object. One difference between StackedTimer and TimeMonitor is that app developers didn't like was the destructor stopping the timer. They felt more comfortable with an explicit stop command. Also - having the ability to aggregate over a subset of mpi processes is critical. We use that in the multiphysics coupling in CASL since the apps live on different sets of processes. wrt your question about muelu - ironically, we are using the StackedTimer to look at muelu performance and are working with Jonathan right now but didn't discuss particulars of how we were collecting the timings. I will follow up with him. Good to know! Thanks!

rppawlo commented 6 years ago

I just updated the output above to enable all trilinos timers (I only had specific packages enabled before). This is for a Drekar IMEX run. @mhoemmen - as you mentioned, the muelu timers bypass the TimeMonitor object so muelu times are not being reported in the stacked timer output.

ibaned commented 6 years ago

@mhoemmen wrote:

I agree but Trilinos developers have voiced concerns about the level of support for Kokkos profiling tools, compared with the simple-but-effective TimeMonitor approach.

Would it help to have a meeting between those expressing concerns and the Kokkos developers? It just seems like there are duplicate efforts here. This StackedTimer is great, because it works exactly the way I think timers ought to, and hence the way I designed the Kokkos profiling output. I'm just worried about us ending up with three different profiling mechanisms in Kokkos+Teuchos, especially if users can't consolidate information from all three into one whole picture. @nmhamster may be interested in this thread as well. At a minimum I suggest that StackedTimer and regular Teuchos timers make Kokkos profiling calls, so that there is one place where all the information collects.

nmhamster commented 6 years ago

@mhoemmen - can you describe the concerns about the profiling tools support that you are hearing? It would be good to understand what isn't available or working that needs to be.

rppawlo commented 6 years ago

A meeting would be good to talk about this. The StackedTimer is the object that EMPIRE developed and is using for all application level timings, so regardless of whether it goes into Trilinos or we find a unified solution, we should should integrate the kokkos profiling into it.

nmhamster commented 6 years ago

@rppawlo / @ibaned / @mhoemmen - can we set something up? Kokkos has profiling API calls available for this you can use.

rppawlo commented 6 years ago

Can we meet today by any chance?

ibaned commented 6 years ago

I sent out an invite for next Tuesday, but I will be here today till noon

mhoemmen commented 6 years ago

@ibaned @nmhamster I don't have concerns personally with the profiling tools, but I've heard MueLu developers express dissatisfaction. I think it would help to invite them so they can air that; right now it's more something that comes out in occasional remarks.

mhoemmen commented 6 years ago

@nmhamster wrote:

Kokkos has profiling API calls available for this you can use.

I know; thanks for working on them btw :-D I try to advocate them but I get pushback for various reasons. I'll write more in an e-mail to you and @ibaned .

nmhamster commented 6 years ago

@rppawlo - I am available after 2 Mountain. @mhoemmen - thanks for the heads up. We should try to work this out.

mhoemmen commented 6 years ago

@rppawlo wrote:

we should should integrate the kokkos profiling into it.

FYI, Teuchos::TimeMonitor is hooked into Kokkos profiling regions by default. I forget who plugged it in -- maybe @aprokop ? -- and I enabled the feature by default.

jhux2 commented 6 years ago

FYI, Teuchos::TimeMonitor is hooked into Kokkos profiling regions by default. I forget who plugged it in -- maybe @aprokop ? -- and I enabled the feature by default.

I think @cgcgcg did this.

rppawlo commented 6 years ago

@ibaned - I was able to run the kokkos space-time-stack on a simple panzer tests. There it worked fine other than having mangled names for certain objects (see below). However when I tried to run this on the same drekar test problem as above it just seg faulted at the very beginning of the run. This is on openmp build with gcc 7.2 on my workstation. One mpi process, and OMP_NUM_THREADS=1. I put the gdb stack trace below. valgrind didn't turn up anything.

Mangled output:

8: <average time> <percent of total time> <percent time in Kokkos> <percent MPI imbalance> <number of calls> <name> [type]
8: =================== 
8: |-> 5.15e+00 sec 97.8% 13.9% 0.0% 1 User App: Total Time [region]
8:     |-> 2.78e+00 sec 52.8% 21.8% 0.0% 5 Thyra::NOXNonlinearSolver::solve [region]
8:     |   |   |-> 9.65e-01 sec 18.3% 37.0% 0.1% 12 panzer::ModelEvaluator::evalModel(J) [region]
8:     |   |   |   |-> 8.10e-01 sec 15.4% 44.1% 3.9% 12 panzer::AssemblyEngine::evaluate_volume(panzer::Traits::Jacobian) [region]
8:     |   |   |   |   |-> 9.78e-02 sec 1.9% 100.0% 2.4% 2400 N6panzer29Integrator_GradBasisDotVectorINS_6Traits8JacobianES1_EE/N6panzer29Integrator_GradBasisDotVectorINS_6Traits8JacobianES1_E12FieldMultTagILi0EEE [for]
8:     |   |   |   |   |-> 9.34e-02 sec 1.8% 100.0% 4.2% 2400 N6panzer27Integrator_BasisTimesScalarINS_6Traits8JacobianES1_EE/N6panzer27Integrator_BasisTimesScalarINS_6Traits8JacobianES1_E12FieldMultTagILin1EEE [for]
8:     |   |   |   |   |-> 7.22e-02 sec 1.4% 100.0% 1.9% 2400 N6panzer12_GLOBAL__N_121evaluateGrad_withSensIN6Sacado3Fad4DFadIdEEN3PHX7MDFieldIdNS_4CellENS_5BASISENS_2IPENS_3DimEvvvvEEEE [for]
8:     |   |   |   |   |-> 5.36e-02 sec 1.0% 100.0% 5.3% 2400 N6panzer27Integrator_BasisTimesScalarINS_6Traits8JacobianES1_EE/N6panzer27Integrator_BasisTimesScalarINS_6Traits8JacobianES1_E12FieldMultTagILi0EEE [for]
8:     |   |   |   |   |-> 4.00e-02 sec 0.8% 100.0% 4.6% 2400 N6panzer12dof_functors26EvaluateDOFWithSens_ScalarIN6Sacado3Fad4DFadIdEEN3PHX7MDFieldIdNS_4CellENS_5BASISENS_2IPEvvvvvEEEE [for]

gdb backtrace:

STK Mesh data:
   Spatial dim = 2
   Entity counts (Nodes, Edges, Cells) = ( 3075, 5122, 2048 )
   Element blocks = "eblock-0_0" 
   Sidesets = "bottom" "left" "right" "top" 
   Nodesets = "lower_left" "origin" 
Program ended before "panzer::DOFManager::buildGlobalUnknowns/panzer::DOFManager::buildTaggedMultiVector/panzer::DOFManager::builderOverlapMapFromElements/" ended

Thread 1 "drekar.exe" received signal SIGABRT, Aborted.
0x0000003e4f6325e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003e4f6325e5 in raise () from /lib64/libc.so.6
#1  0x0000003e4f633dc5 in abort () from /lib64/libc.so.6
#2  0x00007fffba9677f2 in (anonymous namespace)::State::~State (this=0xefdd10, __in_chrg=<optimized out>) at kp_space_time_stack.cpp:456
#3  0x00007fffba967ad5 in kokkosp_finalize_library () at kp_space_time_stack.cpp:570
#4  0x00007fffca26b63e in Kokkos::Profiling::finalize () at /ascldap/users/rppawlo/Trilinos/packages/kokkos/core/src/impl/Kokkos_Profiling_Interface.cpp:306
#5  0x00007fffca26efb6 in Kokkos::OpenMP::finalize () at /ascldap/users/rppawlo/Trilinos/packages/kokkos/core/src/OpenMP/Kokkos_OpenMP_Exec.cpp:421
#6  0x00007fffca26ea7e in Kokkos::OpenMP::initialize (thread_count=-1) at /ascldap/users/rppawlo/Trilinos/packages/kokkos/core/src/OpenMP/Kokkos_OpenMP_Exec.cpp:293
#7  0x00007fffca26362e in Kokkos::Impl::(anonymous namespace)::initialize_internal (args=...) at /ascldap/users/rppawlo/Trilinos/packages/kokkos/core/src/impl/Kokkos_Core.cpp:103
#8  0x00007fffca264a47 in Kokkos::initialize (arguments=...) at /ascldap/users/rppawlo/Trilinos/packages/kokkos/core/src/impl/Kokkos_Core.cpp:499
#9  0x00007fffccf0a343 in KokkosCompat::Details::(anonymous namespace)::initializeKokkosWithStruct (args=...)
    at /ascldap/users/rppawlo/Trilinos/packages/teuchos/kokkoscompat/src/KokkosCompat_Details_KokkosInit.cpp:38
#10 0x00007fffccf11fcd in std::__invoke_impl<void, void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&> (
    __f=@0x7fffccf0a31f: {void (const Kokkos::InitArguments &)} 0x7fffccf0a31f <KokkosCompat::Details::(anonymous namespace)::initializeKokkosWithStruct(Kokkos::InitArguments const&)>, __args#0=...)
    at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/bits/invoke.h:60
#11 0x00007fffccf10ae5 in std::__invoke<void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&> (
    __fn=@0x7fffccf0a31f: {void (const Kokkos::InitArguments &)} 0x7fffccf0a31f <KokkosCompat::Details::(anonymous namespace)::initializeKokkosWithStruct(Kokkos::InitArguments const&)>, __args#0=...)
    at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/bits/invoke.h:95
#12 0x00007fffccf0f576 in void std::call_once<void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&>(std::once_flag&, void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&)::{lambda()#1}::operator()() const (__closure=0x7fffffff2140) at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/mutex:672
#13 0x00007fffccf0f5c1 in void std::call_once<void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&>(std::once_flag&, void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&)::{lambda()#2}::operator()() const (__closure=0x0) at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/mutex:677
#14 0x00007fffccf0f5d2 in void std::call_once<void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&>(std::once_flag&, void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&)::{lambda()#2}::_FUN() () at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/mutex:677
#15 0x0000003e4fe0ce03 in pthread_once () from /lib64/libpthread.so.0
#16 0x00007fffccf0a2ca in __gthread_once (__once=0x7fffcd11ddec <KokkosCompat::Details::initKokkosWithCmdLineArgs_flag>, __func=0x7fffc5aebc70 <std::__once_proxy()>)
    at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/x86_64-pc-linux-gnu/bits/gthr-default.h:699
#17 0x00007fffccf0f664 in std::call_once<void (&)(Kokkos::InitArguments const&), Kokkos::InitArguments const&> (__once=..., 
    __f=@0x7fffccf0a31f: {void (const Kokkos::InitArguments &)} 0x7fffccf0a31f <KokkosCompat::Details::(anonymous namespace)::initializeKokkosWithStruct(Kokkos::InitArguments const&)>, __args#0=...)
    at /home/rppawlo/tpls/gcc/7.2.0/include/c++/7.2.0/mutex:684
#18 0x00007fffccf0a517 in KokkosCompat::Details::initializeKokkos (theArgs=...) at /ascldap/users/rppawlo/Trilinos/packages/teuchos/kokkoscompat/src/KokkosCompat_Details_KokkosInit.cpp:85
#19 0x00007fffccf070bd in Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP, Kokkos::HostSpace>::KokkosDeviceWrapperNode (this=0x11380b0, params=...)
    at /ascldap/users/rppawlo/Trilinos/packages/teuchos/kokkoscompat/src/KokkosCompat_ClassicNodeAPI_Wrapper.cpp:131
#20 0x00007fffcd963366 in KokkosClassic::Details::getNode<Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP, Kokkos::HostSpace> > (params=...)
    at /ascldap/users/rppawlo/Trilinos/packages/tpetra/classic/NodeAPI/Kokkos_DefaultNode.cpp:56
#21 0x00007ffff3222812 in Tpetra::defaultArgNode<Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP, Kokkos::HostSpace> > () at /ascldap/users/rppawlo/Trilinos/packages/tpetra/core/src/Tpetra_Map_decl.hpp:90
#22 0x00007fffd0786ecc in Tpetra::createNonContigMapWithNode<int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP, Kokkos::HostSpace> > (elementList=..., comm=..., node=...)
    at /ascldap/users/rppawlo/Trilinos/packages/tpetra/core/src/Tpetra_Map_def.hpp:2165
#23 0x00007fffd0796dea in Tpetra::createNonContigMap<int, int> (elementList=..., comm=...) at /ascldap/users/rppawlo/Trilinos/packages/tpetra/core/src/Tpetra_Map_def.hpp:2145
#24 0x00007fffeb7fa6fd in panzer::DOFManager<int, int>::buildOverlapMapFromElements (this=0x11f31f0, access=...) at /ascldap/users/rppawlo/Trilinos/packages/panzer/dof-mgr/src/Panzer_DOFManager_impl.hpp:1278
#25 0x00007fffeb7fadb3 in panzer::DOFManager<int, int>::buildTaggedMultiVector (this=0x11f31f0, ownedAccess=...) at /ascldap/users/rppawlo/Trilinos/packages/panzer/dof-mgr/src/Panzer_DOFManager_impl.hpp:895
#26 0x00007fffeb7f5ca3 in panzer::DOFManager<int, int>::buildGlobalUnknowns (this=0x11f31f0, geomPattern=...) at /ascldap/users/rppawlo/Trilinos/packages/panzer/dof-mgr/src/Panzer_DOFManager_impl.hpp:484
#27 0x00007fffeb795746 in panzer::BlockedDOFManager<int, int>::buildGlobalUnknowns (this=0x11e4ee0, indexer=..., geomPattern=...)
    at /ascldap/users/rppawlo/Trilinos/packages/panzer/dof-mgr/src/Panzer_BlockedDOFManager_impl.hpp:722
#28 0x00007fffeb792bd9 in panzer::BlockedDOFManager<int, int>::buildGlobalUnknowns (this=0x11e4ee0, geomPattern=...)
    at /ascldap/users/rppawlo/Trilinos/packages/panzer/dof-mgr/src/Panzer_BlockedDOFManager_impl.hpp:1012
#29 0x00007fffeb7929c5 in panzer::BlockedDOFManager<int, int>::buildGlobalUnknowns (this=0x11e4ee0) at /ascldap/users/rppawlo/Trilinos/packages/panzer/dof-mgr/src/Panzer_BlockedDOFManager_impl.hpp:1058
#30 0x00007fffed37d504 in panzer::BlockedDOFManagerFactory<int, int>::buildUniqueGlobalIndexer (this=0x7fffffff41d0, mpiComm=..., physicsBlocks=..., connMngr=..., fieldOrder=...)
    at /ascldap/users/rppawlo/Trilinos/packages/panzer/disc-fe/src/Panzer_BlockedDOFManagerFactory_impl.hpp:172
#31 0x00007ffff4217897 in drekar::UniqueGlobalIndexerFactory<int>::buildUniqueGlobalIndexer (this=0x7fffffff4590, mpiComm=..., physicsBlocks_exp=..., physicsBlocks_imp=..., connManager=..., fieldOrder=..., 
    numExpBlocks=@0xebd510: 1) at /ascldap/users/rppawlo/Trilinos/DrekarBase/drekar/src/core/utilities/Drekar_UniqueGlobalIndexerFactory_impl.hpp:156
#32 0x00007ffff41e74b2 in drekar::PhysicsModelEvaluatorContainer::buildGlobalIndexers (this=0xebd480, fieldOrder=..., auxFieldOrder=...)
    at /ascldap/users/rppawlo/Trilinos/DrekarBase/drekar/src/core/utilities/Drekar_PhysicsModelEvaluatorContainer.cpp:166
#33 0x00007ffff3f6d69f in drekar::Driver::Driver (this=0x7fffffffad30, in_comm=..., in_eqset_factory=..., in_cm_factory=..., in_bc_factory=..., in_adapterParams=..., input_params=..., distrParamLib=..., 
    auxGlobEvalDataContainer=..., in_adjoint_eqset_factory=..., in_adjoint_upscaling=false, instance_name=..., exodus_io_num_procs=0, inline_x_elements=-1, inline_y_elements=-1, inline_z_elements=-1, 
    in_output_responses=false, in_input_file_name=..., in_mat_data_path=..., in_adjoint_input_file_name=..., in_ho_input_file_name=...)
    at /ascldap/users/rppawlo/Trilinos/DrekarBase/drekar/src/core/utilities/Drekar_Driver.cpp:518
#34 0x00000000007a838b in main (argc=2, argv=0x7fffffffc2e8) at /ascldap/users/rppawlo/Trilinos/DrekarBase/drekar/bin/Drekar_Main.cpp:413
ibaned commented 6 years ago

@rppawlo these should be opened as issues on the kokkos/kokkos-tools repository. Mangled names are expected. Although I can try to add demangling support, the best solution is to pass a name string as the first argument to parallel_for, then it will show up with that name. As for the segfault, I'd have to replicate the build to see what happened.

mhoemmen commented 6 years ago

LABEL YER KERNELS PLZ :D

rppawlo commented 6 years ago

All done!