summary

Implementation level

Type

Status

CML extraction template

image1

HTML5 representation

image2

Template attributes

Attribute

Value

source

GROMACS log

id

summary

pattern

\s*Core\st\s\(s\)\s*Wall\st\s\(s\).*

endPattern

\s*Finished\smdrun\son\srank.*

endPattern2

~

endOffset

1

xml:base

times/summary.xml

Input

               Core t (s)   Wall t (s)        (%)
       Time:  3645267.886   152238.529     2394.4
                         1d18h17:18
                 (ns/day)    (hour/ns)
Performance:        2.270       10.572
Finished mdrun on rank 0 Wed Mar 11 05:27:44 2020

Output text

 1<comment class="example.output" id="summary">
 2        <module cmlx:templateRef="summary">
 3            <scalar dataType="xsd:double" dictRef="cc:cputime" units="si:s">3645267.886</scalar>
 4            <scalar dataType="xsd:double" dictRef="cc:wallTime" units="si:s">152238.529</scalar>
 5            <scalar dataType="xsd:string" dictRef="gm:totaltime">1d18h17:18</scalar>
 6            <scalar dataType="xsd:double" dictRef="gm:nsperday">2.270</scalar>
 7            <scalar dataType="xsd:double" dictRef="gm:hourperns">10.572</scalar>
 8            <scalar dataType="xsd:date" dictRef="cc:jobdatetime.end">2020-03-11T05:27:44.000+01:00</scalar>
 9         </module>
10    </comment>

Template definition

 1<record />
 2<record>\s*Time:{F,cc:cputime}{F,cc:wallTime}.*</record>
 3<record>\s*{X,gm:totaltime}</record>
 4<record />
 5<record>\s*Performance:{F,gm:nsperday}{F,gm:hourperns}</record>
 6<record>\s*Finished\smdrun\son\srank\s+\S+\s+{X,cc:jobdatetime.end}</record>
 7<transform process="createDate" xpath=".//cml:scalar[@dictRef='cc:jobdatetime.end']" format="E MMM  d HH:mm:ss yyyy" />
 8<transform process="createDate" xpath=".//cml:scalar[@dictRef='cc:jobdatetime.end']" format="E MMM dd HH:mm:ss yyyy" />
 9<transform process="pullup" xpath=".//cml:list/cml:scalar" />
10<transform process="pullup" xpath=".//cml:list/cml:scalar" />
11<transform process="delete" xpath=".//cml:list" />
12<transform process="addUnits" xpath=".//cml:scalar[@dictRef='cc:cputime']" value="si:s" />
13<transform process="addUnits" xpath=".//cml:scalar[@dictRef='cc:wallTime']" value="si:s" />