Skip to content

Commit

Permalink
Merge pull request #63 from christopherwharrop/release/1.3.0
Browse files Browse the repository at this point in the history
Release/1.3.0
  • Loading branch information
christopherwharrop authored May 29, 2019
2 parents ce9fe8a + 5f37e33 commit 91569ac
Show file tree
Hide file tree
Showing 8 changed files with 298 additions and 246 deletions.
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## New for Version 1.3.0

* Update SLURM support to handle pack groups
* Update SLURM support to map `<queue>` to --qos instead of --partition
* Update SLURM support to map `<partition>` to --partition
* Update LSF support to handle additional methods LSF uses to report the exit status
* All rocoto commands have the same -a, -c, -m, and -t options
* The -c and -t options can now select by cycledefs and attributes (ie. final)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.4
1.3.0
5 changes: 5 additions & 0 deletions lib/wfmstat/wfmstatoption.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ def add_opts(opts)
@summary=true
end

# task order
opts.on("-T","--task-sort","Sort by task") do
@taskfirst=true
end

end # add_opts

def make_selection()
Expand Down
39 changes: 23 additions & 16 deletions lib/workflowmgr/schema_with_metatasks.rng
Original file line number Diff line number Diff line change
Expand Up @@ -465,14 +465,30 @@
</element>
</optional>

<!-- Either one cores tag or one nodes tag-->
<!-- Either one cores tag or one nodes or at least one native tag is required-->
<choice>
<element name="cores">
<data type="positiveInteger"/>
</element>
<element name="nodes">
<data type="string"/>
</element>
<interleave>
<choice>
<element name="cores">
<data type="positiveInteger"/>
</element>
<element name="nodes">
<data type="string"/>
</element>
</choice>
<optional>
<oneOrMore>
<element name="native">
<ref name="compoundTimeString"/>
</element>
</oneOrMore>
</optional>
</interleave>
<oneOrMore>
<element name="native">
<ref name="compoundTimeString"/>
</element>
</oneOrMore>
</choice>

<!-- One walltime tag -->
Expand Down Expand Up @@ -518,15 +534,6 @@
</element>
</optional>

<!-- One or more native tags -->
<optional>
<oneOrMore>
<element name="native">
<ref name="compoundTimeString"/>
</element>
</oneOrMore>
</optional>

<!-- Optional nodesize tag -->
<optional>
<element name="nodesize">
Expand Down
39 changes: 23 additions & 16 deletions lib/workflowmgr/schema_without_metatasks.rng
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,30 @@
</element>
</optional>

<!-- Either one cores tag or one nodes tag-->
<!-- Either one cores tag or one nodes or at least one native tag is required-->
<choice>
<element name="cores">
<data type="positiveInteger"/>
</element>
<element name="nodes">
<data type="string"/>
</element>
<interleave>
<choice>
<element name="cores">
<data type="positiveInteger"/>
</element>
<element name="nodes">
<data type="string"/>
</element>
</choice>
<optional>
<oneOrMore>
<element name="native">
<ref name="compoundTimeString"/>
</element>
</oneOrMore>
</optional>
</interleave>
<oneOrMore>
<element name="native">
<ref name="compoundTimeString"/>
</element>
</oneOrMore>
</choice>

<!-- One walltime tag -->
Expand Down Expand Up @@ -499,15 +515,6 @@
</element>
</optional>

<!-- Zero or more native tags -->
<optional>
<oneOrMore>
<element name="native">
<ref name="compoundTimeString"/>
</element>
</oneOrMore>
</optional>

<!-- Optional nodesize tag -->
<optional>
<element name="nodesize">
Expand Down
Loading

0 comments on commit 91569ac

Please sign in to comment.