Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is a few lines from the top of “model_timing_stats”. This file is written out at the end of a run in $RUNDIR/timing/ and also copied to $CASEDIR/timing where is it is renamed to model_timing_stats.<jobid>.<date-string> (so multiple runs of the same case will accumulate model_time_stats.* files in that dir). Example filename: e3sm_timing_stats.209399.220810-232430

Code Block
breakoutModewide
***** GLOBAL STATISTICS (  6720 MPI TASKS) *****

$Id: gptl.c,v 1.157 2011-03-28 20:55:18 rosinski Exp $
'count' is cumulative. All other stats are max/min
'on' indicates whether the timer was active during output, and so stats are lower or upper bounds.

name                                            on  processes  threads        count      walltotal   wallmax (proc   thrd  )   wallmin (proc   thrd  )
"CPL:INIT"                                       -       6720     6720 6.720000e+03   5.423981e+05    82.145 (    60      0)    77.582 (  5906      0)
"CPL:cime_pre_init1"                             -       6720     6720 6.720000e+03   1.456266e+05    22.453 (    53      0)    20.920 (  4726      0)
"CPL:mpi_init"                                   -       6720     6720 6.720000e+03   1.286709e+05    19.927 (    39      0)    18.394 (  4727      0)
"CPL:ESMF_Initialize"                            -       6720     6720 6.720000e+03   4.814818e-01     0.001 (  4437      0)     0.000 (    20      0)

“name” name of the timer.

“on”

“processes” number of mpi tasks the timer is called on.

...

“wallmin (proc thrd)” the processor and thread that took the least time (over all processors/threads) and the value of that time

This data The data in model_timing_stats is postprocessed by CIME and another file is placed in $CASEDIR/timing with summary statistics such as simulated years per day for each component, the pelayout and other useful information. The filename has the form e3sm_timing.<casename>.<jobid>.<date-string>.

If you look in the $RUNDIR after a successful run with create_newcase, the timing dir and its contents have been collected in to a file with the name timing.<jobid>.<date-string>.tar.gz. If you use create_test, the timing dir is left alone.

The source code for the timing library is in E3SM/share/timing