output of total simulation time / cpu time

Hello,

I have a questions concerning the output of the simulation time and the cpu time.
In my thermo_style custom command I use the keyword "cpu" to output the elapsed CPU seconds since the beginning of a run and the variable v_cum_simtime to output the cumulative simulation time.

(v_cum_simtime is derived from
fix timestepping all dt/reset ....
variable cum_simtime equal f_timestepping[1])

I have several run-commands in my input-script.

After every run-command the value of cpu and v_cum_simtime is reset to 0 again.

But I'd like to output the total simulation and cpu time! How is it possible to output that?

Thanks,

Sebastian

But I'd like to output the total simulation and cpu time! How is it
possible to output that?

It's not possible. Simply grep the log file for your multiple runs:

grep "Loop time" log.lammps

and sum the results.

Steve