PlasmaCalcs.hookups.eppic.eppic_io_tools.eppic_clock_times_from_jobfile
- PlasmaCalcs.hookups.eppic.eppic_io_tools.eppic_clock_times_from_jobfile(f)
- return clock times from jobfile.result can have keys ‘start’, ‘stepstart’, ‘end’:
- start: datetime telling when the run started. From line like:
- “EPPIC Starting at: Friday 02/28/25 12:32:47”
- stepstart: datetime telling when the iterations started. From line like:
- “; — iterations starting at time: Friday 02/28/25 12:33:31”
- end: datetime telling when the run ended. Various possibilities.
- (1) run ended normally. Two options:(a) (this one is tested first): eppic message. Line looks like:“EPPIC ending normally at: Thursday 02/27/25 13:38:20(b): slurm file printout. Line looks like:“job total time: NNN seconds”(2) timeout due to hitting time limit. Line like (’…’ can be any characters):(3) eppic crashed. Line looks like:“job total time: NNN seconds”
result can also have keys ‘init_seconds’, ‘steps_seconds’, ‘total_seconds’:init_seconds: (stepstart - start) [seconds] steps_seconds: (end - stepstart), [seconds] total_seconds: (end - start), [seconds]