-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1456 from sdiazpier/nest-i
Add infrastructure for generic input backends to feed devices
- Loading branch information
Showing
75 changed files
with
8,335 additions
and
1,207 deletions.
There are no files selected for viewing
866 changes: 866 additions & 0 deletions
866
...devdoc/static/img/MPI_backend_example_state_machine_communication_with_Nest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
773 changes: 773 additions & 0 deletions
773
doc/devdoc/static/img/MPI_backend_protocol_of_communication.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,299 changes: 1,299 additions & 0 deletions
1,299
doc/devdoc/static/ulmet/MPI_backend_example_state_machine_communication_with_Nest.uxf
Large diffs are not rendered by default.
Oops, something went wrong.
1,159 changes: 1,159 additions & 0 deletions
1,159
doc/devdoc/static/ulmet/MPI_backend_protocol_of_communication.uxf
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,377 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<diagram program="umlet" version="14.3.0"> | ||
<zoom_level>6</zoom_level> | ||
<element> | ||
<id>UMLSpecialState</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>102</y> | ||
<w>12</w> | ||
<h>12</h> | ||
</coordinates> | ||
<panel_attributes>type=initial</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>108</y> | ||
<w>18</w> | ||
<h>42</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;50.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>264</x> | ||
<y>180</y> | ||
<w>96</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>Initialise Nest</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>240</x> | ||
<y>222</y> | ||
<w>144</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>Initialise population of neurons</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>240</x> | ||
<y>264</y> | ||
<w>144</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>Initialise connection | ||
between neuron population</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>264</x> | ||
<y>138</y> | ||
<w>96</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>configure logger</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>264</x> | ||
<y>678</y> | ||
<w>96</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>count + 1</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLSpecialState</id> | ||
<coordinates> | ||
<x>294</x> | ||
<y>738</y> | ||
<w>24</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>type=decision</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>198</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>240</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>282</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>156</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>468</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>654</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>696</y> | ||
<w>72</w> | ||
<h>54</h> | ||
</coordinates> | ||
<panel_attributes>lt=-> | ||
count > end</panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;70.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>312</x> | ||
<y>540</y> | ||
<w>156</w> | ||
<h>222</h> | ||
</coordinates> | ||
<panel_attributes>lt=-> | ||
False</panel_attributes> | ||
<additional_attributes>10.0;350.0;210.0;350.0;210.0;10.0;160.0;10.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>756</y> | ||
<w>36</w> | ||
<h>48</h> | ||
</coordinates> | ||
<panel_attributes>lt=-> | ||
True</panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;60.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>828</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>UMLSpecialState</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>852</y> | ||
<w>12</w> | ||
<h>12</h> | ||
</coordinates> | ||
<panel_attributes>type=final</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>264</x> | ||
<y>492</y> | ||
<w>96</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>count = 0</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>510</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>222</x> | ||
<y>432</y> | ||
<w>192</w> | ||
<h>42</h> | ||
</coordinates> | ||
<panel_attributes>Nest Prepare | ||
-- | ||
1) Read all the file with the port description | ||
2) Connect with MPI to all the different port | ||
valign=top | ||
</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>228</x> | ||
<y>534</y> | ||
<w>180</w> | ||
<h>126</h> | ||
</coordinates> | ||
<panel_attributes>Nest Run | ||
-- | ||
Input backend : | ||
|
||
pre_run : Ask update data for | ||
all the input devices | ||
post_run : Send the end of the run | ||
-. | ||
Record backend : | ||
|
||
pre_run : Send beggining of simulation | ||
post_run : Send data/spikes of the run | ||
|
||
|
||
valign=top | ||
</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>240</x> | ||
<y>792</y> | ||
<w>180</w> | ||
<h>42</h> | ||
</coordinates> | ||
<panel_attributes>Nest Clean | ||
-- | ||
1) Send end of simulation | ||
2) Disconnect | ||
valign=top | ||
</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLGeneric</id> | ||
<coordinates> | ||
<x>252</x> | ||
<y>78</y> | ||
<w>114</w> | ||
<h>18</h> | ||
</coordinates> | ||
<panel_attributes>Wrapper of NEST</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>240</x> | ||
<y>306</y> | ||
<w>144</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>Create file with ids | ||
of mpi stimulating devices</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>408</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>240</x> | ||
<y>348</y> | ||
<w>144</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>Create file with ids | ||
of mpi recording devices</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>UMLState</id> | ||
<coordinates> | ||
<x>240</x> | ||
<y>390</y> | ||
<w>144</w> | ||
<h>24</h> | ||
</coordinates> | ||
<panel_attributes>Wait for description of | ||
MPI port files</panel_attributes> | ||
<additional_attributes/> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>324</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
<element> | ||
<id>Relation</id> | ||
<coordinates> | ||
<x>300</x> | ||
<y>366</y> | ||
<w>18</w> | ||
<h>36</h> | ||
</coordinates> | ||
<panel_attributes>lt=-></panel_attributes> | ||
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes> | ||
</element> | ||
</diagram> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.