Presentation is loading. Please wait.

Presentation is loading. Please wait.

Proposed JSDL Extension: Parameter Sweeps

Similar presentations


Presentation on theme: "Proposed JSDL Extension: Parameter Sweeps"— Presentation transcript:

1 Proposed JSDL Extension: Parameter Sweeps
Architecture and Examples Michel Drescher, Fujitsu Ali Anjomshoaa, EPCC OGF19, Chapel Hill

2 OGF IPR Policies Apply “I acknowledge that participation in this meeting is subject to the OGF Intellectual Property Policy.” Intellectual Property Notices Note Well: All statements related to the activities of the OGF and addressed to the OGF are subject to all provisions of Appendix B of GFD-C.1, which grants to the OGF and its participants certain licenses and rights in such statements. Such statements include verbal statements in OGF meetings, as well as written and electronic communications made at any time or place, which are addressed to: the OGF plenary session, any OGF working group or portion thereof, the OGF Board of Directors, the GFSG, or any member thereof on behalf of the OGF, the ADCOM, or any member thereof on behalf of the ADCOM, any OGF mailing list, including any group list, or any other list functioning under OGF auspices, the OGF Editor or the document authoring and review process Statements made outside of a OGF meeting, mailing list or other function, that are clearly not intended to be input to an OGF activity, group or function, are not subject to these provisions. Excerpt from Appendix B of GFD-C.1: ”Where the OGF knows of rights, or claimed rights, the OGF secretariat shall attempt to obtain from the claimant of such rights, a written assurance that upon approval by the GFSG of the relevant OGF document(s), any party will be able to obtain the right to implement, use and distribute the technology or works when implementing, using or distributing technology based upon the specific specification(s) under openly specified, reasonable, non-discriminatory terms. The working group or research group proposing the use of the technology with respect to which the proprietary rights are claimed may assist the OGF secretariat in this effort. The results of this procedure shall not affect advancement of document, except that the GFSG may defer approval where a delay may facilitate the obtaining of such assurances. The results will, however, be recorded by the OGF Secretariat, and made available. The GFSG may also direct that a summary of the results be included in any GFD published containing the specification.” OGF Intellectual Property Policies are adapted from the IETF Intellectual Property Policies that support the Internet Standards Process. 2

3 Contents Purpose Scenarios Use Cases Summary
From Use Case to XML Schema XML Schema: Building Blocks Examples 3

4 Purpose The purpose of this work is to provide a normative extension to the JSDL 1.x specification This normative extension will provide users of JSDL with a standard way to specify their requirements for “parameter sweeps” using a single JSDL template document 4

5 Scenario – Current State
<submit> ... <instantiate> ... Client with Internal Parameter Sweep Job Generation Capability Parameter Sweep Activity Set Job Container JSDL Template JSDL Template JSDL Template BES ? 5

6 Scenario – Parameter Sweep Enabled JSDL Client
Default JSDL Template Param Sweep Doc <submit> ... <instantiate> ... Parameter Sweep Activity Set <submit> Job Container JSDL Template Client JSDL Template JSDL Template BES ? 6

7 Scenario – Parameter Sweep Enabled Job Container
Default JSDL Template Param Sweep Doc <instantiate> ... Parameter Sweep Activity Set Job Container With Parameter Sweep Engine <submit> BES++ ? 7

8 Scenario – Legacy Parameter Sweep Systems
Default JSDL Template Param Sweep Doc <submit> ... Job Container With Parameter Sweep Engine JSDL Template <submit> JSDL Template JSDL Template Legacy Parameter Sweep Manager BES++ ? 8

9 Scenario – Mapping to Legacy Parameter Sweep Systems: 1
Default JSDL Template Param Sweep Doc M A P Job Container With Parameter Sweep Engine Legacy Specific Template <submit> Legacy Parameter Sweep Manager BES++ ? 9

10 Scenario – Mapping to Legacy Parameter Sweep Systems: 2
Default JSDL Template Param Sweep Doc M A P Legacy Specific Template <submit> Legacy Parameter Sweep Manager 10

11 Use Cases (1) One element changes
One job submitted Many elements change to the same value, at the same time Many elements change to different values, at the same time Many elements change to different values, while others change to the same value, all at the same time 11

12 Use Cases (2) Many elements change to the same values, serially (one by one) Many jobs submitted Many elements change to different values, serially (one by one) Many elements change to different values, at the same time One job submitted This is the same as 3. above! 12

13 Use Cases (3) Nested combinations of any above
For one element changed, iterate one other element Many jobs submitted For one element changed, iterate many other elements, all at the same time For one element changed, iterate many elements independently at the same time Etc. 13

14 From Use Case to XML Schema (1)
“One element changes” Select the XML element that will change Apply a function that alters the element’s value Submit the JSDL <Parameter> [selection] </Parameter> <Function> [function specification] </Function> 14

15 From Use Case to XML Schema (2)
“Many elements change to the same value at the same time” Select the XML elements that will change Apply a function that alters the values of all selected elements Submit the JSDL <Parameter> [selection] </Parameter> <Function> [function specification] </Function> 15

16 From Use Case to XML Schema (3)
“Many elements change to different values at the same time” Select the XML elements that will change Apply the corresponding function that alters the individual element values Submit the JSDL <Parameter> [selection] </Parameter> <Function> [function specification] </Function> 16

17 From Use Case to XML Schema (4)
“Many elements change to different values while others altogether change to the same value, all at the same time” Select the XML elements that will change Apply the corresponding functions to the groups of XML element values Submit the JSDL <Parameter/>+ <Function/> <Assignment> <Parameter/>+ <Function/> </Assignment> <Parameter> [selection] </Parameter> <Function> [function specification] </Function> The ASSIGNMENT scope delimiter defines the association between the list of elements that get the same value at the same time 17

18 From Use Case to XML Schema (5)
“Many elements change to different values serially” Select the XML element that will change first Apply the associated function Submit the JSDL Select the XML element that will change next <Sweep>+ <Assignment> <Parameter/>+ <Function/> </Assignment </Sweep> <Assignment> <Parameter/>+ <Function/> </Assignment </Assignment> <Sweep> <Assignment> <Parameter/>+ <Function/> </Assignment </Sweep> </Assignment> 18

19 From Use Case to XML Schema (6)
“Many elements change to the same values serially” Select the XML element that will change first Apply the associated function Submit the JSDL Select the XML element that will change next <Sweep> <Assignment> <Parameter/> (id = a) <Function/> (id = 1) </Assignment> </Sweep> <Parameter/> (id = b) 19

20 From Use Case to XML Schema (7)
“Many elements change to different values at the same time” Select the XML element that will change first Apply the associated function Submit the JSDL Select the XML element that will change next <Sweep> <Assignment> <Parameter/>+ <Function/> </Assignment> </Sweep> 20

21 From Use Case to XML Schema (8)
“For one element change, iterate one other element” Select the XML element that will change first Apply the associated function Select the next XML element Submit the JSDL <Sweep> <Assignment> <Parameter/> <Function/> </Assignment> </Sweep> 21

22 From Use Case to XML Schema (9)
“For one element change, iterate many elements at the same time” Select the XML element that will change first Apply the associated function Select the next XML elements Apply the associated functions Submit the JSDL <Sweep> <Assignment> <Parameter/>+ <Function/> </Assignment> </Sweep> 22

23 From Use Case to XML Schema (10)
“For one element change, iterate many elements independently at the same time” Select the XML element that will change first Apply the associated function Select the next XML elements Apply the associated functions Submit the JSDL <Sweep> <Assignment/> <Assignment> <Parameter/>+ <Function/> </Assignment> </Sweep> 23

24 From Use Case to XML Schema (11)
For those who didn’t already get lost <Sweep> <Assignment/> </Sweep> 24

25 XML Schema: Building blocks (1)
Parameter Uses XPath 2.0 to select XML Element values, or XML Element value fractions Function Assigns a value to the selected parameter, per iteration Abstract base XML Element Concrete functions defined as extensions 25

26 XML Schema: Building blocks (2)
Assignment Associate Parameters with one Function Each Parameter gets the same value per iteration Sweep Group Assignments for synchronous but independent value assignments Nested Sweeps For serial Assignment processing For value set permutations 26

27 XML Schema: Pseudo code (1)
<Sweep> <Assignment>+ <Parameter> xs:string </Parameter>+ <Function abstract=“true”/> </Assignment> <Sweep/>* </Sweep> 27

28 XML Schema: Pseudo code (2)
<Values substitutionGroup=“Function”> <Value> xs:string </Value>+ </Values> <Loop substitutionGroup=“Function” start=“xs:integer” end=“xs:integer” step=xs:positiveInteger”? > <Exception value=“xs:integer”/>* </Loop> 28

29 Examples One example per Use Case Draft schemas available
All examples validate Complete download package JSDL 1.0 JSDL POSIX Application 1.0 JSDL Sweep draft 29


Download ppt "Proposed JSDL Extension: Parameter Sweeps"

Similar presentations


Ads by Google