1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <proc name="newSchema_1">
3 <property name="executor" value="workloadmanager"/>
4 <type name="string" kind="string"/>
5 <struct name="Engines/dataref">
6 <member name="ref" type="string"/>
8 <type name="bool" kind="bool"/>
9 <sequence name="boolvec" content="bool"/>
10 <type name="double" kind="double"/>
11 <sequence name="dblevec" content="double"/>
12 <objref name="file" id="file"/>
13 <type name="int" kind="int"/>
14 <sequence name="intvec" content="int"/>
15 <struct name="stringpair">
16 <member name="name" type="string"/>
17 <member name="value" type="string"/>
19 <sequence name="propvec" content="stringpair"/>
20 <objref name="pyobj" id="python:obj:1.0"/>
21 <sequence name="seqboolvec" content="boolvec"/>
22 <sequence name="seqdblevec" content="dblevec"/>
23 <sequence name="seqint" content="int"/>
24 <sequence name="seqintvec" content="intvec"/>
25 <sequence name="seqpyobj" content="pyobj"/>
26 <sequence name="stringvec" content="string"/>
27 <sequence name="seqstringvec" content="stringvec"/>
28 <container name="DefaultContainer">
29 <property name="container_kind" value="Salome"/>
30 <property name="attached_on_cloning" value="0"/>
31 <property name="container_name" value="FactoryServer"/>
32 <property name="name" value="localhost"/>
35 <property name="container_kind" value="Salome"/>
36 <property name="attached_on_cloning" value="1"/>
37 <property name="nb_parallel_procs" value="1"/>
38 <property name="type" value="multi"/>
41 <property name="container_kind" value="Salome"/>
42 <property name="attached_on_cloning" value="1"/>
43 <property name="nb_parallel_procs" value="4"/>
44 <property name="type" value="multi"/>
47 <script><code><![CDATA[import time
48 vals = [ i for i in range(40)]
49 nbbranches = len(vals)
52 <outport name="t0" type="pyobj"/>
53 <outport name="vals" type="intvec"/>
54 <outport name="nbbranches" type="int"/>
57 <script><code><![CDATA[import time
61 <inport name="t0" type="pyobj"/>
62 <outport name="r" type="int"/>
64 <foreach name="ForEach1" nbranch="1" loopWeight="-1" type="int">
65 <remote name="PyScript6" elementaryWeight="-1">
66 <script><code><![CDATA[import time
69 <load container="c1"/>
70 <inport name="v" type="int"/>
73 <foreach name="ForEach2" nbranch="1" loopWeight="-1" type="int">
74 <remote name="PyScript7" elementaryWeight="-1">
75 <script><code><![CDATA[import time
78 <load container="c2"/>
79 <inport name="v" type="int"/>
82 <control> <fromnode>Begin</fromnode> <tonode>ForEach1</tonode> </control>
83 <control> <fromnode>Begin</fromnode> <tonode>ForEach2</tonode> </control>
84 <control> <fromnode>Begin</fromnode> <tonode>End</tonode> </control>
85 <control> <fromnode>ForEach1</fromnode> <tonode>End</tonode> </control>
86 <control> <fromnode>ForEach2</fromnode> <tonode>End</tonode> </control>
87 <datalink control="false">
88 <fromnode>Begin</fromnode> <fromport>t0</fromport>
89 <tonode>End</tonode> <toport>t0</toport>
91 <datalink control="false">
92 <fromnode>Begin</fromnode> <fromport>vals</fromport>
93 <tonode>ForEach1</tonode> <toport>SmplsCollection</toport>
95 <datalink control="false">
96 <fromnode>Begin</fromnode> <fromport>vals</fromport>
97 <tonode>ForEach2</tonode> <toport>SmplsCollection</toport>
99 <datalink control="false">
100 <fromnode>Begin</fromnode> <fromport>nbbranches</fromport>
101 <tonode>ForEach2</tonode> <toport>nbBranches</toport>
103 <datalink control="false">
104 <fromnode>Begin</fromnode> <fromport>nbbranches</fromport>
105 <tonode>ForEach1</tonode> <toport>nbBranches</toport>
107 <datalink control="false">
108 <fromnode>ForEach1</fromnode> <fromport>evalSamples</fromport>
109 <tonode>ForEach1.PyScript6</tonode> <toport>v</toport>
111 <datalink control="false">
112 <fromnode>ForEach2</fromnode> <fromport>evalSamples</fromport>
113 <tonode>ForEach2.PyScript7</tonode> <toport>v</toport>
116 <tonode>ForEach1</tonode><toport>nbBranches</toport>
117 <value><int>1</int></value>
120 <tonode>ForEach2</tonode><toport>nbBranches</toport>
121 <value><int>1</int></value>
123 <presentation name="ForEach1" x="201.5" y="146" width="171.5" height="155" expanded="1" expx="201.5" expy="146" expWidth="171.5" expHeight="155" shownState="0"/>
124 <presentation name="ForEach1.PyScript6" x="9.5" y="88" width="158" height="63" expanded="1" expx="9.5" expy="88" expWidth="158" expHeight="63" shownState="0"/>
125 <presentation name="ForEach2.PyScript7" x="13" y="92" width="158" height="63" expanded="1" expx="13" expy="92" expWidth="158" expHeight="63" shownState="0"/>
126 <presentation name="ForEach2" x="204" y="313.5" width="175" height="159" expanded="1" expx="204" expy="313.5" expWidth="175" expHeight="159" shownState="0"/>
127 <presentation name="End" x="402.5" y="85" width="158" height="63" expanded="1" expx="402.5" expy="85" expWidth="158" expHeight="63" shownState="0"/>
128 <presentation name="Begin" x="9" y="86" width="158" height="117" expanded="1" expx="9" expy="86" expWidth="158" expHeight="117" shownState="0"/>
129 <presentation name="__ROOT__" x="0" y="0" width="564.5" height="476.5" expanded="1" expx="0" expy="0" expWidth="564.5" expHeight="476.5" shownState="0"/>