5.7.5. Interpreting Parallel Timing Results

The Ansys Forte log file contains a summary of computational times. Both CPU times and wall clock times are reported. The overall solution time and the time for chemistry calculations are each printed. The CPU time is the time spent by the CPU for a given process. The wall clock is the time from the start to finish of an activity (the elapsed time), including any waiting times.

The example in Figure 5.7: Examples of computational times for CFD and detailed chemistry is from a simulation run with 8 MPI processes. The total amount of computing time spent on the simulation is 1 h, 2 m, with 11 m spent on chemistry calculations.

When running Ansys Forte in parallel, the total CPU time will be greater than the wall-clock (elapsed) time. The ratio of is the same as the wall clock time when the work load is evenly distributed on each MPI process and no wait is involved for I/O or other resources. For this example, the ratio is 1h 2m, which is equal to the Total wall-clock time, showing the run is evenly distributed.

Figure 5.7: Examples of computational times for CFD and detailed chemistry

================================================================================
Summary of computational times:

 Total wall-clock time               3725.3 seconds ( 1 h,  2 min,    5.3 sec)
 Wall-clock time in chemistry         672.5 seconds (11 min,   12.5 sec)

 Total CPU time                     29802.2 seconds ( 8 h, 16 min,   42.2 sec)
 CPU time in chemistry               5057.1 seconds ( 1 h, 24 min,   17.1 sec)
================================================================================