MPAS | Physics and Physics Configurations, Profiling computing time

Physics and Physics Configurations

Profiling computing time of MPAS

the timer information that is printed at the bottom of the log.atmosphere.0000.out file.

The total runtime for a simulation includes time not spent in initialization or counted as time integration; for example, time spent writing output files isn't counted as "time integration".

The "parallel efficiency" is defined as the average time for a region across all MPI tasks divided by the maximum time for that region across all tasks.

Hopefully this helps, and if you have any additional questions about timers, please feel free to follow up in this thread.

1
2
3
4
5
6
7
8
9
10
11
12
Timer information:
Globals are computed across all threads and processors

Columns:
total time: Global max of accumulated time spent in timer
calls: Total number of times this timer was started / stopped.
min: Global min of time spent in a single start / stop
max: Global max of time spent in a single start / stop
avg: Global max of average time spent in a single start / stop
pct_tot: Percent of the timer at level 1
pct_par: Percent of the parent timer (one level up)
par_eff: Parallel efficiency, global average total time / global max total time

References

  1. Physics and Physics Configurations in MPAS| Wei Wang | NCAR/MMM MPAS-A and MPAS-JEDI Tutorials, 23-26 October 2023, Taiwan
  2. Kim, Jae Youp, Ji-Sun Kang, and Minsu Joh. "GPU acceleration of MPAS microphysics WSM6 using OpenACC directives: Performance and verification." Computers & Geosciences 146 (2021): 104627.
    1. PPT
      1. Profiling computing time of MPAS
  3. Capodaglio, G., & Petersen, M. (2022). Local time stepping for the shallow water equations in MPAS. Journal of Computational Physics, 449, 110818.

MPAS | Physics and Physics Configurations, Profiling computing time
https://waipangsze.github.io/2025/02/11/MPAS-Physics-and-Physics-Configurations/
Author
wpsze
Posted on
February 11, 2025
Updated on
February 14, 2025
Licensed under