abort ​
Implementation level ​
| Type | Status |
|---|---|
| CML extraction template | |
| HTML5 representation |
Template attributes ​
| Attribute | Value |
|---|---|
| source | CP2K log |
| id | abort |
| name | CP2K abort |
| pattern | .*\[ABORT\].* |
| endPattern | .* |
| endPattern2 | ~ |
| endOffset | 1 |
| repeat | * |
| xml:base | environment/abort.xml |
Input
* ___ *
* / \ *
* [ABORT] *
* \___/ SCF run NOT converged. To continue the calculation regardless, *
* | please set the keyword IGNORE_CONVERGENCE_FAILURE. *
Input
* ___ *
* / \ *
* [ABORT] *
* \___/ Coordinate file <coordinate.xyz> not found. *
* | *
Output text
xml
<comment class="example.output" id="abort">
<module cmlx:templateRef="abort">
<list cmlx:templateRef="message">
<scalar dataType="xsd:string" dictRef="cp2k:abortMessage">SCF run NOT converged. To continue the calculation regardless, *</scalar>
</list>
<scalar dictRef="cp2k:aborted">true</scalar>
</module>
</comment>Template definition
xml
<record id="message">\s*\*\s*\\___/\s+{X,cp2k:abortMessage}\s*</record>
<transform process="addChild" xpath="." elementName="cml:scalar" dictRef="cp2k:aborted" value="true" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" repeat="2" />