l1.options ​
Implementation level ​
| Type | Status |
|---|---|
| CML extraction template | |
| HTML5 representation |
Template attributes ​
| Attribute | Value |
|---|---|
| source | Gaussian log |
| id | l1.options |
| pattern | \s*\%.* |
| repeat | * |
| endPattern | .* |
| endOffset | 0 |
| xml:base | l1/l1.options.xml |
Comment ​
%nprocshared=4
Will use up to 4 processors via shared memory.
%mem=10500MB
%NoSave
%Chk=chk.chk
%rwf=/tmp/pbs.3528793.cx1/rwf
Input ​
%nprocshared=4
Input ​
%NoSave
Output text ​
xml
<comment class="example.output" id="l1.options.1">
<module cmlx:templateRef="l1.options">
<array dataType="xsd:string" size="1" dictRef="g:kk">nprocshared=4</array>
</module>
</comment>Output text ​
xml
<comment class="example.output" id="l1.options.2">
<module cmlx:templateRef="l1.options">
<array dataType="xsd:string" size="1" dictRef="g:kk">NoSave</array>
</module>
</comment>Template definition ​
xml
<record id="options" repeat="*">\s*\%{1_20A,g:kk}\s*</record>
<transform process="pullup" xpath=".//cml:list/cml:array" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />
<transform process="delete" xpath=".//cml:list[count(*)=0]" />