Skip to content

l1.options ​

Implementation level ​

TypeStatus
CML extraction template
HTML5 representation

Template attributes ​

AttributeValue
sourceGaussian log
idl1.options
pattern\s*\%.*
repeat*
endPattern.*
endOffset0
xml:basel1/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*\%&#123;1_20A,g:kk&#125;\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]" />