Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix TorusZone with limiter links
authorBruno Donassolo <bruno.donassolo@inria.fr>
Wed, 21 Apr 2021 15:57:05 +0000 (17:57 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Wed, 21 Apr 2021 15:57:05 +0000 (17:57 +0200)
commitb829c7e07e976db8ce89a3599218dfdb24bf2379
treeb1cd3318f832bf603bcc6520d129a65fa6008659
parentdd1e9629153b9896cbceffc1dec401b6151839ab
Fix TorusZone with limiter links

Raises an std::out_of_range exception when it tries to add the limiter
link to routes.

Example:
    <cluster id="bob_cluster" topology="TORUS" topo_parameters="3,2,2"
     prefix="node-" radical="0-11" suffix=".simgrid.org"
     speed="1Gf" bw="125MBps" lat="50us"
     loopback_bw="100MBps" loopback_lat="0" limiter_link="100MBps"/>

Not sure if someone uses this limiter. We don't have any test that uses limiter_link tag inside a
TORUS cluster. It'll be added in with the new C++ interface.
src/kernel/routing/TorusZone.cpp