Skip to content

Commit

Permalink
Merge pull request #276 from SpiNNakerManchester/cfg_checker
Browse files Browse the repository at this point in the history
Cfg checker
  • Loading branch information
rowleya authored Jul 2, 2024
2 parents 17769a8 + 99f2298 commit 16414c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
35 changes: 9 additions & 26 deletions spinnaker_graph_front_end/spiNNakerGraphFrontEnd.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# DO NOT EDIT
# See spinnakermanchester.github.io/common_pages/Algorithms.html
# DO NOT EDIT!
# The are the default values
# Edit the cfg in your home directory to change your preferences
# Add / Edit a cfg in the run directory for script specific changes

# Would Add to values in SpiNNFrontEndCommon/spinn_front_end_common/interface/spinnaker.cfg
# Which in turn adds to values in PACMAN/pacman/pacman.cfg,
# SpiNNMan/spinnman/spinnman.cfg, SpiNNUtils/spinn_utilities/spinn_utilities.cfg
# and SpiNNMachine/spinn_machine/spinn_machine.cfg

# Copyright (c) 2015 The University of Manchester
#
Expand All @@ -15,27 +22,3 @@
# See the License for the specific language governing permissions and
# limitations under the License.

[Mapping]
# These algorithms should be run
placer = ApplicationPlacer
router = ApplicationRouter
info_allocator = ZonedRoutingInfoAllocator
compressor = PairOnChipRouterCompression

[Buffers]
# Host and port on which to receive buffer requests
receive_buffer_port = None
receive_buffer_host = 0.0.0.0

# Buffered recording can be enabled below. Note that spike source array
# recording is always buffered.
enable_buffered_recording = False

# Advanced parameters to further control buffering
buffer_size_before_receive = 16384
time_between_requests = 50

minimum_buffer_sdram = 1048576

[Database]
create_routing_info_to_atom_id_mapping = True
5 changes: 1 addition & 4 deletions unittests/test_cfg_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,5 @@ def test_config_checks(self):
gfe_examples = os.path.join(parent, "gfe_examples")
gfe_integration_tests = os.path.join(parent, "gfe_integration_tests")
gfe = spinnaker_graph_front_end.__path__[0]
repeaters = [
"placer", "router", "info_allocator", "compressor"]
run_config_checks(
directories=[gfe_examples, gfe_integration_tests, gfe, unittests],
repeaters=repeaters)
directories=[gfe_examples, gfe_integration_tests, gfe, unittests])

0 comments on commit 16414c6

Please sign in to comment.