Skip to content

Commit

Permalink
Merge pull request #1456 from sdiazpier/nest-i
Browse files Browse the repository at this point in the history
Add infrastructure for generic input backends to feed devices
  • Loading branch information
jougs authored Jun 9, 2021
2 parents 2b42c32 + 4a0f2a1 commit 126616b
Show file tree
Hide file tree
Showing 75 changed files with 8,335 additions and 1,207 deletions.
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 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.
281 changes: 281 additions & 0 deletions doc/devdoc/static/img/MPI_backend_state_Nest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

1,159 changes: 1,159 additions & 0 deletions doc/devdoc/static/ulmet/MPI_backend_protocol_of_communication.uxf

Large diffs are not rendered by default.

377 changes: 377 additions & 0 deletions doc/devdoc/static/ulmet/MPI_backend_state_Nest.uxf
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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;
count &gt; 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=-&gt;
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=-&gt;
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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;</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=-&gt;</panel_attributes>
<additional_attributes>10.0;10.0;10.0;40.0</additional_attributes>
</element>
</diagram>
2 changes: 1 addition & 1 deletion doc/fulldoc.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ EXAMPLE_RECURSIVE = NO
# that contain images that are to be included in the documentation (see the
# \image command).

IMAGE_PATH =
IMAGE_PATH = @PROJECT_SOURCE_DIR@/doc/devdoc/static/img/

# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
Expand Down
2 changes: 1 addition & 1 deletion doc/normaldoc.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ EXAMPLE_RECURSIVE = NO
# that contain images that are to be included in the documentation (see the
# \image command).

IMAGE_PATH =
IMAGE_PATH = @PROJECT_SOURCE_DIR@/doc/devdoc/static/img/

# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
Expand Down
Loading

0 comments on commit 126616b

Please sign in to comment.