l1.options
Type |
Status |
---|---|
CML extraction template |
|
HTML5 representation |
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
1<comment class="example.output" id="l1.options.1">
2 <module cmlx:templateRef="l1.options">
3 <array dataType="xsd:string" size="1" dictRef="g:kk">nprocshared=4</array>
4 </module>
5 </comment>
Output text
1<comment class="example.output" id="l1.options.2">
2 <module cmlx:templateRef="l1.options">
3 <array dataType="xsd:string" size="1" dictRef="g:kk">NoSave</array>
4 </module>
5 </comment>
Template definition
1<record id="options" repeat="*">\s*\%{1_20A,g:kk}\s*</record>
2<transform process="pullup" xpath=".//cml:list/cml:array" />
3<transform process="delete" xpath=".//cml:list[count(*)=0]" />
4<transform process="delete" xpath=".//cml:list[count(*)=0]" />