Warwick-Plasma/epoch

Real time of the simulation

mimboch opened this issue · 4 comments

Hello,
Please may I know the real-time of the simulation? I looked in the manual but didn't find it.

Thank you in advance.

I'm not sure I understand what you mean by real-time. Do you mean the amount of time the computer has been running, or the time-value at the current time-step of the simulation?

Cheers,
Stuart

Hello,

I apologize for the delayed response. Yes, I mean the amount of time it takes for the computer to run a simulation.

Thanks a lot.

If what you ask is about what you see if you put into input.deck this line

"stdout_frequency = 100"

then
CHARACTER variable "timestring" - is elapsed time of the simulation (REAL variable for it is "elapsed_time"), and
CHARACTER variable "eta_timestring" (REAL variable for it is "eta_time") - is an ETA

I though would suggest to change its current inconvenient and annoying format from

WRITE(*, '(''Time'', g14.6, '', iteration'', i9, '' after'', &
& a, '', ETA'',a)') time, step, timestring, eta_timestring

to

WRITE(*, '(''Time'', 1pg14.6, '', iteration'', i9, '' after'', &
& a, '', ETA'',a)') time, step, timestring, eta_timestring

Just to add to what @DanRRRR has said, each SDF file is automatically created with a Walltime variable, which tells you the real-time taken to reach the output file in seconds.

Cheers,
Stuart